Home » Developing U++ » Mac OS » First milestone reached - I am now working in cocoa theide...
Re: First milestone reached - I am now working in cocoa theide... [message #50128 is a reply to message #50127] |
Fri, 03 August 2018 16:39 |
Novo
Messages: 1362 Registered: December 2006
|
Ultimate Contributor |
|
|
Thank you!
I still do not understand how you compile upp.
What I'm getting is
.../uppsrc/Core/TimeDate.cpp:629:29: error: use of undeclared identifier 'CLOCK_REALTIME'
int result = clock_settime(CLOCK_REALTIME, &sys_time);
^
"grep -r CLOCK_REALTIME /usr/include" gives me nothing.
But
$ grep -r CLOCK_REALTIME /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include//time.h:_CLOCK_REALTIME __CLOCK_AVAILABILITY = 0,
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include//time.h:#define CLOCK_REALTIME _CLOCK_REALTIME
finds it.
But Xcode include dirs are not included into your GCC.bm ...
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sun Jun 09 03:11:46 CEST 2024
Total time taken to generate the page: 0.01426 seconds
|