Failed in building "nel" on mac os x due to cpptest unit supported

Added by kuo over 8 years ago

Hello,
There is arise an error when I prepare to build Nel on mac , anyone also meet this error ?

Thanks,
Kuo
-----------------------------------------------------------------------------

bogon:nel macbook$ cmake G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release ..
CMake Error: The source directory "/Users/macbook/Documents/3djob/ryzom/code" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
bogon:nel macbook$ cd build-release/
bogon:build-release macbook$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release ..
-
Warning: Unable to find XF86VidMode!
-- Warning: Unable to find CppTest!
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CPPTEST_INCLUDE_DIR
used as include directory in directory /Users/macbook/Documents/3djob/ryzom/code/nel/tools/nel_unit_test
CPPTEST_LIBRARY
linked by target "nel_unit_test" in directory /Users/macbook/Documents/3djob/ryzom/code/nel/tools/nel_unit_test

-- Configuring incomplete, errors occurred!


Replies (4)

RE: Failed in building "nel" on mac os x due to cpptest unit supported - Added by kuo over 8 years ago

I am sure I have installed CppUnit by "sudo port install CppUnit",but still arise this kind of error message.
Anyone know how to resolve this issue on Mac ?

Thanks anyway :)
-Kuo

RE: Failed in building "nel" on mac os x due to cpptest unit supported - Added by kuo over 8 years ago

resolved!
Seems macport don't have cppTest component,
I download the source cppTest1.1.1 from sourceforge and build it

-kuo

RE: Failed in building "nel" on mac os x due to cpptest unit supported - Added by rti over 8 years ago

Thanks for mentioning, I updated the wiki page to reflect that.

(1-4/4)