I will try to make a world
Added by feendrache over 8 years ago
It's the chance i've been waiting for...
I will download the source and try to get a server (on a linux) and my client (on windows) working this weekend...
A chance that there is a tut for this anywhere out there? maybe i should write on... with all my problems...
Replies (29)
RE: I will try to make a world - Added by sorlok_reaves over 8 years ago
If you could document the steps you take to make a game world, I'd greatly appreciate it. (My hope is to help out on the world editor later on.)
RE: I will try to make a world - Added by sfb over 8 years ago
feendrache and sorklok_reaves,
We have a pretty liberal policy with regards to the wiki so if you have any feedback, modifications or whole fresh tutorials/guides/howtos that you would like to share... please share them!
As for guides so far there's only the Guide which gives an overview of the tools and links to instructions for builds, etc.
Thanks,
sfb
/s
RE: I will try to make a world - Added by narfman0 over 8 years ago
By the way if you care, to compile I also had to add "sudo apt-get install libxmu-dev libxxf86vm-dev freetype* libglu1-xorg-dev." Building without graphics was not so kind to me.
RE: I will try to make a world - Added by feendrache over 8 years ago
ok,
trying this and need help
when get to the point to do this:
- Run the following script that will compile NeL and Ryzom Core Services. It's a very slow process because it compiles lot of things. You can follow the process and see error in ~/log/
make_all
My Shell tells me the utilities-file in the code/ryzom/scripts/linux/utilities has this problem:
syntax error: "(" unexpected on 20
well... i know i'm missing some informations here... can someone help me?
RE: I will try to make a world - Added by narfman0 over 8 years ago
Hey, I'm not looking at the code right now but I seem to remember them adding parenthesis () to the end, which I believe is not bash syntax. You may note at the top it says
#!/bin/sh, which uses whatever your users default shell is. Mine was bash and didn't like it. They may be using csh or something like that, in which case you could try changing that top line to
#!/bin/csh. I'll try to look at it when I have the actual code, but again, worth a try.
Edit: optionally just getting rid of all () might work but clearly they weren't targetting our shell so we may want to change that..?
RE: I will try to make a world - Added by feendrache over 8 years ago
Thx for your help, but using csh only gives me
-: No such file or directory.
RE: I will try to make a world - Added by narfman0 over 8 years ago
Ahh sorry - I don't really know the context of the error, but again, I think we need to rectify the differences between their environment and ours, and a first step might be getting rid of the parenthesis, or maybe figuring out what shell they do use. Past that I guess we may have to go one error at a time? I'll wait for a ryzom dev to chime in or over the weekend I'll try to look at this.
RE: I will try to make a world - Added by feendrache over 8 years ago
oh cool, thanks for your help so far... i will search for a solution too
RE: I will try to make a world - Added by narfman0 over 8 years ago
BTW I don't know what your goal is, but to be honest, as a fedora linux dev, I just think it'd be cool to get a world up. Hopefully my desire will stay strong enough to get it done, as does yours. AIM=narfman0 gtalk=narfman0 if you meet with success or have a question.
RE: I will try to make a world - Added by feendrache over 8 years ago
ok
got it to compile stares at her server still compiling but giving success-messages...
working on my tut ;)
RE: I will try to make a world - Added by grego over 8 years ago
mine failed during the actual Ryzom build ("Build Ryzom Failed") with a bunch of errors in log_query ... it fails with a:
make1: Target 'night' not remade because of errors
make: *** [night] Error 2
Compiled for a while actually before dying. This is on an ubuntu 10.04 LTS server.
RE: I will try to make a world - Added by narfman0 over 8 years ago
Hey-
@feendrache - Good work on compilation! Hope to see the world up by the time I get home wink
@grego - I'm assuming there were errors before that - showing those would be useful in diagnosing the issue - even better attaching the log file to a post.
RE: I will try to make a world - Added by feendrache over 8 years ago
@narfman0
don't know it's still compiling and i don't know how long it will take...
but it's late here and i will be going to bed soon... so it will take till tomorrow or the day after that ;)
RE: I will try to make a world - Added by grego over 8 years ago
@narfman0
Ask and ye shall receive. Error log attached (sorry was posting previous messages from another machine).
-G
edit: attached gzip'd file because I'm an idiot
make_all_error.log (4.5 MB)
make_all_error.log.gz (227.5 kB)
RE: I will try to make a world - Added by narfman0 over 8 years ago
@feednrache - Cool - FYI took me a couple hours to compile last night, i5-750 processor. Good luck with that.
@grego - I bet zipping would do wonders with log filesize but yeah
expr: syntax error /home/greg/ryzom/code/nelns/configure: line 14977: =: command not found
Looks odd, guessing you don't have whatever executable is referenced at line 14977, maybe a previous build artifact that didn't compile?. Also, you have some casting errors (loss of precision, don't know if that's fatal error). I'm feeling very useless here I guess I'm just gonna wait until I go home.
RE: I will try to make a world - Added by grego over 8 years ago
Yeah sorry about that - multitasking will do that to you (ie, forgetting to zip).
RE: I will try to make a world - Added by grego over 8 years ago
Ok - well I'm getting further but now hitting another wall. Fails to compile with:
/home/greg/code/nel/include/nel/misc/types_nl.h:340: note: #pragma message: Using TR1 extensionsIn file included from log_analyser_service.cpp:17:
log_analyser_service.h: In constructor ‘CLogAnalyserService::CQuery::CQuery(uint32, const std::string&)’:
log_analyser_service.h:69: warning: ‘CLogAnalyserService::CQuery::Query’ will be initialized after
log_analyser_service.h:68: warning: ‘CLogAnalyserService::TQueryState CLogAnalyserService::CQuery::State’
log_analyser_service.h:64: warning: when initialized here
log_analyser_service.cpp: In member function ‘bool CLogAnalyserService::getQueryResult(uint32, std::string&, sint, uint&, const std::string&, bool, uint)’:
log_analyser_service.cpp:250: error: no matching function for call to ‘min(uint, size_t)’
log_analyser_service.cpp:332: error: no matching function for call to ‘min(uint, size_t)’
make2: * [log_analyser_service.o] Error 1
make2: Target `all' not remade because of errors.
make1: [log_analyser_service-all] Error 2
make1: Target `night' not remade because of errors.
make: ** [night] Error 2
- BUILD RYZOM FAILED
*******************************************
Any ideas? For people who have gotten it to compile what kind of platform did you do it on?
RE: I will try to make a world - Added by feendrache over 8 years ago
ok, it's nearly 12 hours later and my server's still building or ... something... and really slow responding...
But i don't know if it would be wise to interrupt...
so... give him more time... or interrupt... what'S your favorite?
RE: I will try to make a world - Added by kervala over 8 years ago
grego wrote:
Ok - well I'm getting further but now hitting another wall. Fails to compile with:
/home/greg/code/nel/include/nel/misc/types_nl.h:340: note: #pragma message: Using TR1 extensions
In file included from log_analyser_service.cpp:17:
log_analyser_service.h: In constructor ‘CLogAnalyserService::CQuery::CQuery(uint32, const std::string&)’:
log_analyser_service.h:69: warning: ‘CLogAnalyserService::CQuery::Query’ will be initialized after
log_analyser_service.h:68: warning: ‘CLogAnalyserService::TQueryState CLogAnalyserService::CQuery::State’
log_analyser_service.h:64: warning: when initialized here
log_analyser_service.cpp: In member function ‘bool CLogAnalyserService::getQueryResult(uint32, std::string&, sint, uint&, const std::string&, bool, uint)’:
log_analyser_service.cpp:250: error: no matching function for call to ‘min(uint, size_t)’
log_analyser_service.cpp:332: error: no matching function for call to ‘min(uint, size_t)’
make2: * [log_analyser_service.o] Error 1
make2: Target `all' not remade because of errors.
make1: [log_analyser_service-all] Error 2
make1: Target `night' not remade because of errors.
make: ** [night] Error 2
- BUILD RYZOM FAILED
*******************************************Any ideas? For people who have gotten it to compile what kind of platform did you do it on?
It's because size_t is 64 bits while uint is 32 bits so you need to cast one of the 2 variables such as : min((size_t)a, b) // where a is a uint and b a size_t
std::min in only working if both parameters are of the same type :)
RE: I will try to make a world - Added by grego over 8 years ago
Ok - I get that. I'll give it a try. I'm not a developer by any stretch of the imagination (I'm a network engineer by trade) but I think I can figure that much out at least. :)
Thanks.
RE: I will try to make a world - Added by grego over 8 years ago
Ok - seems to be progress (thanks kervala!) but looks like I'm bombing out on the compile now after logger_service. I have attached my logfiles. Not being a C++ developer I'm not sure where the actual error is. Any help is appreciated!
Thanks,
-G
log.tar.gz (264.6 kB)
RE: I will try to make a world - Added by feendrache over 8 years ago
Ok, i will retry to compile the core this day...
or is there anyone out there who could give me the compiled stuff for ubuntu 10?
RE: I will try to make a world - Added by grego over 8 years ago
I actually backed off 10.04 and built a VM with 9.10 on it and it seems to be a bit more successful. Then again who the heck knows. If I can get it to compile completely anywhere I'll be happy. :)
RE: I will try to make a world - Added by narfman0 over 8 years ago
I considered posting my 9.10 vm image as well, but it is 5GB. Is there a lot of interest in this? Another option is packing it as an deb/rpm/whatever I guess.