snowballs project building problem

Added by erdongchen about 7 years ago

I changed Cmakelist.txt according to http://dev.ryzom.com/attachments/1336/sb4.diff ,
and put client data from http://dev.ryzom.com/projects/ryzom/wiki/WindowsBinaries in \code\snowballs2\client\data.

Iused cmake to build snowballs project(Check WITH_SNOWBALLS) and met a problem:
Could not find module FindNeL.cmake or a configuration file for package NeL.
Adjust CMAKE_MODULE_PATH to find FindNeL.cmake or set NeL_DIR to the
directory containing a CMake configuration file for NeL. The file will
have one of the following names:
NeLConfig.cmake
nel-config.cmake

I read tips from http://dev.ryzom.com/boards/17/topics/4991 ,but I am not sure what I missed.
I am a little confused.
Can some one list concise and clear instructions.Thank you in advance.

snowballs__configure.txt - snowballs configure problems (4.8 kB) Magnifier

snowballs_check.png - snowballs cmake check (98.2 kB)


Replies (32)

RE: snowballs project building problem - Added by erdongchen about 7 years ago

sfb,
I got a new downloaded code ,and it get errors when compiling.Nothing changed.

errors.txt (9.6 kB) Magnifier

RE: snowballs project building problem - Added by erdongchen about 7 years ago

molator,
I added ADD_SUBDIRECTORY(snowballs2) and ADD_SUBDIRECTORY(nelns) to CMakeLists.txt to code/CmakeList.txt
and I will have cmake configuration issue(if I didn't ,the compilation got no build/bin):

CMake Error at snowballs2/CMakeLists.txt:34 (FIND_PACKAGE):
Could not find module FindNeL.cmake or a configuration file for package
NeL.
Adjust CMAKE_MODULE_PATH to find FindNeL.cmake or set NeL_DIR to the
directory containing a CMake configuration file for NeL. The file will
have one of the following names:
NeLConfig.cmake
nel-config.cmake

Maybe it has problem finding NEL or something.

I got NEL to compile (I uncheck WITH_SNOWBALLS),and it didn't show any error but no exe files in build/bin.Maybe CmakeList should be reviewed.Thanks.

CMakeLists.txt - code/Cmakelist.txt (8.8 kB) Magnifier

CMakeLists.txt - code/snowballs2/Cmakelist.txt (6.8 kB) Magnifier

RE: snowballs project building problem - Added by molator about 7 years ago

Why are you editing cmake config ?
You don't need to change anything.

Keep the default cmake config.
Check: WITH_DRIVER_DIRECT3D, WITH_DRIVER_DSOUND, WITH_DRIVER_FMOD, WITH_DRIVER_XAUDIO2, WITH_NELNS, WITH_QT, WITH_SNOWBALLS
Uncheck: WITH_NEL_SAMPLES, WITH_NEL_TESTS, WITH_NEL_TOOLS, WITH_RYZOM

RE: snowballs project building problem - Added by erdongchen about 7 years ago

Today ,I tried ryzom core .The client could connect ,but it failed to press "play" or got into the game.Do you have any ideas about that?

RE: snowballs project building problem - Added by erdongchen about 7 years ago

screenshot as follow:

check.png (99.8 kB)

vs.png (438.8 kB)

« Previous 1 2 (26-32/32)