Building NelNS

Added by sharka about 5 years ago

Small compilation problem with cmake:

~/ryzom/code/nelns/build $ cmake ..
-- Warning: Unable to find NeL MISC!
-- Warning: Unable to find NeL NET!
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:
NELMISC_INCLUDE_DIRS
   used as include directory in directory /home/annabelle/ryzom/code/nelns/admin_executor_service
   used as include directory in directory /home/annabelle/ryzom/code/nelns/admin_service
   used as include directory in directory /home/annabelle/ryzom/code/nelns/naming_service
   used as include directory in directory /home/annabelle/ryzom/code/nelns/login_service
   used as include directory in directory /home/annabelle/ryzom/code/nelns/welcome_service
NELMISC_LIBRARY
    linked by target "admin_executor_service" in directory /home/annabelle/ryzom/code/nelns/admin_executor_service
    linked by target "admin_service" in directory /home/annabelle/ryzom/code/nelns/admin_service
    linked by target "naming_service" in directory /home/annabelle/ryzom/code/nelns/naming_service
    linked by target "login_service" in directory /home/annabelle/ryzom/code/nelns/login_service
    linked by target "welcome_service" in directory /home/annabelle/ryzom/code/nelns/welcome_service
NELNET_LIBRARY
    linked by target "admin_executor_service" in directory /home/annabelle/ryzom/code/nelns/admin_executor_service
    linked by target "admin_service" in directory /home/annabelle/ryzom/code/nelns/admin_service
    linked by target "naming_service" in directory /home/annabelle/ryzom/code/nelns/naming_service
    linked by target "login_service" in directory /home/annabelle/ryzom/code/nelns/login_service
    linked by target "welcome_service" in directory /home/annabelle/ryzom/code/nelns/welcome_service

-- Configuring incomplete, errors occurred!

Thank you for helping me, cordially


Replies (1)

RE: Building NelNS - Added by rti about 5 years ago

If you just want to get a ryzom shard running, you can ignore NeLNS and continue building stuff in the ryzom dir. :)

The reason for your problem is, that the FindNelNET and FindNelMISC cmake script do not know where you put your built nel libraries. One solution would be to just make install the built NeL stuff. Alternatively you could set environment variables NELNET_DIR and NELMISC_DIR.

Hope that helps.

(1-1/1)