31 May 2011 16:55
Compile error on a Mac
When trying to compile on a mac running Snow Leopard 10.6 I get the following error
mpic++ -c -o code/common_functions.o code/common_functions.cpp -I. -O3 -Wall -Icode -fomit-frame-pointer -DASSERT -DHAVE_ZLIB -DHAVE_LIBBZ2 -DHAVE_CLOCK_GETTIME
code/common_functions.cpp: In function 'uint64_t getMilliSeconds()':
code/common_functions.cpp:428: error: 'CLOCK_PROCESS_CPUTIME_ID' was not declared in this scope
code/common_functions.cpp:428: error: 'clock_gettime' was not declared in this scope
make: *** [code/common_functions.o] Error 1
I would have thought that the line "#include <sys/time.h>" should have stopped this error.
Any thoughts or suggestions. Many thanks
Anthony
------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________ Denovoassembler-users mailing list Denovoassembler-users@... https://lists.sourceforge.net/lists/listinfo/denovoassembler-users
RSS Feed