panda build fails on p3ffmpeg_composite1.cxx with MacOSX10.11.sdk

Bug #1577536 reported by Dan Kripac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Undecided
rdb

Bug Description

Hi there,

I've tried to build panda3d master branch (30/04/216 commit dac2bfc7b9fd4d937ca551c7aad9febe6414c088) using command specified in the OSX build instructions and I get errors (see attached log file).

Not sure if there is something I can do on my end to get past this error?

:>g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

example of errors (more in the attached log):

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ctime:60:9: error: no member named 'clock' in the global namespace
using ::clock;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ctime:61:9: error: no member named 'difftime' in the global namespace
using ::difftime;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ctime:62:9: error: no member named 'mktime' in the global namespace; did you mean 'mktemp'?
using ::mktime;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:677:7: note: 'mktemp' declared here
char *mktemp(char *);

Revision history for this message
Dan Kripac (dankripac) wrote :
Revision history for this message
Dan Kripac (dankripac) wrote :

sorry, forgot to specify exact build command:

python ./makepanda/makepanda.py --everything --installer

Revision history for this message
rdb (rdb) wrote :

Huh, very strange.

You could try building with --no-ffmpeg if you don't strictly need video decoding support.

Revision history for this message
Dan Kripac (dankripac) wrote : Re: [Bug 1577536] Re: panda build fails on p3ffmpeg_composite1.cxx with MacOSX10.11.sdk

Hi again,

Thanks for the quick response!

I ended up checking out the 1.9.2 tag and that seemed to get past this
problem, so I'm not sure what was introduced that would cause that
regression?
I haven't had time to check the end results of the 1.9.2 compile yet.

Cheers
Dan

On 2 May 2016 at 22:21, rdb <email address hidden> wrote:

> Huh, very strange.
>
> You could try building with --no-ffmpeg if you don't strictly need video
> decoding support.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1577536
>
> Title:
> panda build fails on p3ffmpeg_composite1.cxx with MacOSX10.11.sdk
>
> Status in Panda3D:
> New
>
> Bug description:
> Hi there,
>
> I've tried to build panda3d master branch (30/04/216 commit
> dac2bfc7b9fd4d937ca551c7aad9febe6414c088) using command specified in
> the OSX build instructions and I get errors (see attached log file).
>
> Not sure if there is something I can do on my end to get past this
> error?
>
> :>g++ -v
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
> Apple LLVM version 7.3.0 (clang-703.0.29)
> Target: x86_64-apple-darwin15.4.0
> Thread model: posix
> InstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>
>
> example of errors (more in the attached log):
>
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ctime:60:9:
> error: no member named 'clock' in the global namespace
> using ::clock;
> ~~^
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ctime:61:9:
> error: no member named 'difftime' in the global namespace
> using ::difftime;
> ~~^
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ctime:62:9:
> error: no member named 'mktime' in the global namespace; did you mean
> 'mktemp'?
> using ::mktime;
> ~~^
>
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:677:7:
> note: 'mktemp' declared here
> char *mktemp(char *);
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/panda3d/+bug/1577536/+subscriptions
>

rdb (rdb)
Changed in panda3d:
assignee: nobody → rdb (rdb)
milestone: none → 1.9.3
status: New → Fix Committed
milestone: 1.9.3 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.