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

QT Cmake configure problem:
I did as sfb said from http://dev.ryzom.com/boards/17/topics/5052 Now I have Qt STLport library in C:\Qt\4.7.0 .

When I checked WITH_QT ,I got:
CMake Error at D:/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_INCLUDE_DIR
QT_QTCORE_LIBRARY)
Call Stack (most recent call first):
D:/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
D:/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1162 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:128 (FIND_PACKAGE)

Do any one have any ideas about this problem.Thanks.

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

Edit the system variable PATH and add:

c:\Qt\4.7.0\bin (or whatever)

Create a systeme variable QTLIB with the following value:

c:\Qt\4.7.0\lib (or whatever)

RE: 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:
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

I follow tips from http://dev.ryzom.com/boards/17/topics/4991,not knowing what I missed.Any suggestions ?thanks.

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

You must check WITH_NEL and at least one video/sound driver.
Snowballs is using NeL.

For more details about cmake options:
http://dev.ryzom.com/projects/ryzom/wiki/CMakeOptions

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

erdongchen,

Revert your changes to the Hg repository (back out whatever changes you have made within the code/nelns and code/snowballs2 trees) and then pull down the latest changesets to default - I have fixed the inline build of Snowballs.

Also - Snowballs does not use the data from the Ryzom Core client platform. It has its own client data stored directly in the Hg repository at code/snowballs2/client/data.

Thanks,
sfb
/s

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

Thanks,I am working on it.

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

sfb ,
I don't see any data in code/snowballs2/client . I don't have this folder code/snowballs2/client/data though I update code\snowballs2\client ,if that is what you mean .

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

erdongchen,

So you're correct. I don't know why I thought that data was in Hg for Snowballs. The WindowsBinaries link to Snowballs data from Kaetemi is correct.

Thank you!
sfb
/s

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

molator,
Cmake configuration and generation are OK now after I reverted code/nelns and code/snowballs2 trees . Checks are as follow .But I don't get anything from compilation,so I am wondering whether reverting code has something to do with that.But I just changed Cmakelist.txt according to http://dev.ryzom.com/attachments/1336/sb4.diff and nothing else is changed.

ryzom\code\build\snowballs2\CMakeFiles is empty,though cmake configuration and generation are OK.

It 's odd that I saw a popup from double click RyzomCore.sln like follow:

snowballs_check_2.png - configuration check (100.4 kB)

compilation_problem1.png - a popup (234.5 kB)

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

sfb,
So I should not revert the changes ?It is all right ,I can changed it back .

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

You've got to check WITH_NELNS and WITH_QT for the snowballs multiplayer.
The files will be in code/build/bin or whatever you chose.
I believe that the diff has been applied to the repository.

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

I check everything that concerns NELNS 、 QT 、NEL and snowballs,for I am not sure relationships between those services and check options . I got some compilation problems.
Here are compilation problems:

check2.png (97.1 kB)

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

Don't check the tools, sample, test, WITH_NEL only.

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

That is all I compiled . But the project seems to do nothing while compiling.Checks are as follow.

project.png - compiling (1 MB)

exe.png - compiled (538.9 kB)

check3.png - check (98.5 kB)

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

It is that all right? Or somethings are still missing?

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

I should have start.bat or somethings like that in folder code\build\snowballs2 ? But nothing.I am wondering I missed something.

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

I don't really understand what this mean .

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

never use this tool before ,I am trying getting used to it.

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

molator,
The issue remains.Project seems to do nothing while compiling.Nothing in ryzom\code\build\snowballs2 .And Cmake is ok to configure and generate.Compilation don't have error,but do nothing.

check.png (52.3 kB)

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

sfb,
I did as follow(if I did correctly):
but got many errors when compiling.I didn't change diff.

compilationerror_.txt (9.6 kB) Magnifier

check.png - check (52.3 kB)

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

Clean the build folder and restart.
The files are build in build/bin/ not snowballs.

1 2 Next » (1-25/32)