CentOS Compile Error
#1
I'm trying to compile the server on CentOS and it goes great until I get the following error:

source/LuaState.cpp:35: error: uninitialized const âcLuaState::Returnâ
make: *** [build/release/source/LuaState.o] Error 1

Line 35 contains "const cLuaState::cRet cLuaState::Return;" Is there anything I can do to fix this error?


Please help me out a bit Smile

ThijsD
Reply
Thanks given by:
#2
Hello, welcome to the forum.
What is your compiler version? It seems that the compilers don't agree on interpreting the standard here, both gcc and msvc don't have a problem with this line.
Reply
Thanks given by:
#3
Thank you,
It appears to be GCC version 4.4.7
Reply
Thanks given by:
#4
I was lucky, I showed this error to my colleague and he said he knows this behavior, so he proposed a fix. Can you retry with current git master code?
Reply
Thanks given by: ThijsD
#5
Yup, That fixed it! Thank you! Smile
Reply
Thanks given by:
#6
(08-15-2013, 09:33 PM)ThijsD Wrote: Yup, That fixed it! Thank you! Smile

That's good news cuz I run my production servers on Centos, and hope to eventually have a MC Server running on one of my Centos instances. For now, running on Fedora and Ubuntu.
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)