Errors: Compiling source and Running Server under windows

Added by Stx over 4 years ago

Hey people.

I just downloaded Ryzom. I want to design a MMOG based on its source code.

I followed the steps to get the source code and to install the prerequisites to build the source code.

But i have a problem, i get many errors while compiling the source code (see errors.txt)

I tried to re-compile the source code in order to correct some of the errors, but the output was the same.

I then proceeded to running the server since the main projects were built.

I followed the steps to change the path on the shard_start.bat. Here is how mine looks:

@echo off

REM This script will start all the services with good parameters

REM set MODE=Debug
rem set MODE=C:\Ryzom\code\ryzom\server
rem AS

REM modify this to fit you directories:
SET RYZOMSTART=C:\Ryzom\code\ryzom\server

cd /D %RYZOMSTART%

REM modify this to fit you directories:
SET RYZOMPATH=C:\Ryzom\code\build\bin

REM set MODE=%RYZOMPATH%\Debug
set MODE=%RYZOMPATH%\Debug

start %MODE%\ryzom_admin_service.exe --fulladminname=admin_executor_service --shortadminname=AES

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  bms_master
start %MODE%\ryzom_backup_service --writepid -P49990

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  egs
start %MODE%\ryzom_entities_game_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  gpms
start %MODE%\ryzom_gpm_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  ios
start %MODE%\ryzom_input_output_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  rns
start %MODE%\ryzom_naming_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  rws
start %MODE%\ryzom_welcome_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  ts
start %MODE%\ryzom_tick_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  ms
start %MODE%\ryzom_mirror_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  ais_newbyland
start %MODE%\ryzom_ai_service --writepid -mCommon:Newbieland:Post

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  mfs
start %MODE%\ryzom_mail_forum_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  su
start %MODE%\ryzom_shard_unifier_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  fes
start %MODE%\ryzom_frontend_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  sbs
start %MODE%\ryzom_session_browser_server --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  lgs
start %MODE%\ryzom_logger_service --writepid

rem wait 2s (yes, i didn't find a better way to wait N seconds)
ping -n 2 127.0.0.1 > NUL 2>&1

rem  ras
start %MODE%\ryzom_admin_service --fulladminname=admin_service --shortadminname=AS --writepid

When running the server i got several errors:

Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_admin_service.exe'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_backup_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_entities_game_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_gpm_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_input_output_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_naming_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_welcome_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_tick_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_mirror_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_ai_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_mail_forum_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_shard_unifier_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_frontend_service'.  Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_session_browser_server'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_logger_service'. Make sure you typed the name correctly, and then try again.
Windows cannot find 'C:\Ryzom\code\build\bin\Debug\ryzom_admin_service'. Make sure you typed the name correctly, and then try again.

After this the bat file crashes and the server doesn't initialize.

My question is: are the errors when running the server due to the errors when compiling the source code? Either way, can anyone tell me what I'm doing wrong?

Thanks

errors.txt (530.7 kB) Magnifier


Replies (23)

RE: Errors: Compiling source and Running Server under windows - Added by Stx over 4 years ago

I'm viewing the instructions of the batch and i noticed that i don't have a nel.sln file.

I followed the instructions of cmake and it should have been created , but it wasn't. How can i build it?

RE: Errors: Compiling source and Running Server under windows - Added by molator over 4 years ago

You don't need any nel.sln, that's the legacy build system which is deprecated.
There's no reference to nel.sln in the wiki:
http://dev.ryzom.com/wiki/ryzom/FixingWindowsBatch

First lines of the wiki:
Just edit shard_start_cmake.bat in code/ryzom/server to match your path and run the script.

You will have something like:
set MODE=c:\ryzom\code\build\bin

RE: Errors: Compiling source and Running Server under windows - Added by molator over 4 years ago

Edit:
set MODE=c:\ryzom\code\build\bin\Release
or
set MODE=c:\ryzom\code\build\bin\Debug

depending on the mode you used during the compilation.

RE: Errors: Compiling source and Running Server under windows - Added by Stx over 4 years ago

I already tried editing the shard_start.bat file, and i got loads of errors, just as mentioned in my first post.

RE: Errors: Compiling source and Running Server under windows - Added by molator over 4 years ago

Not shard_start.bat
but shart_start_cmake.bat as written in the wiki.
and you will use that batch to start the shard.

RE: Errors: Compiling source and Running Server under windows - Added by Stx over 4 years ago

The source i downloaded doesn't has any file by the name shart_start_cmake.bat :|.

RE: Errors: Compiling source and Running Server under windows - Added by Stx over 4 years ago

No use :|. I changed the shart_start_cmake.bat, but i still get the same errors as the shard_start.bat :|

RE: Errors: Compiling source and Running Server under windows - Added by molator over 4 years ago

It's just a matter of path and binaries names.
So check the path and the names.
And update if needed.

(1-23/23)