Another Mac Compile Error :D

Added by Laelipoo almost 3 years ago

Me again, looking to compile after the merger. And it's yelling at me again. Any suggestions?

[ 10%] Building CXX object nel/src/misc/CMakeFiles/nelmisc.dir/config_file/cf_lexical.cpp.o
[ 10%] Building CXX object nel/src/misc/CMakeFiles/nelmisc.dir/config_file/config_file.cpp.o
Linking CXX static library ../../../lib/libnelmisc.a
[ 10%] Built target nelmisc
Scanning dependencies of target nel3d_pch_dephelp
[ 10%] Building CXX object nel/src/3d/CMakeFiles/nel3d_pch_dephelp.dir/std3d.cpp.o
Linking CXX static library ../../../lib/libnel3d_pch_dephelp.a
[ 10%] Built target nel3d_pch_dephelp
Scanning dependencies of target pch_Generate_nel3d
[ 10%] Generating std3d.h.gch
[ 10%] Built target pch_Generate_nel3d
Scanning dependencies of target nel_drv_opengl_pch_dephelp
[ 10%] Building CXX object nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl_pch_dephelp.dir/stdopengl.cpp.o
Linking CXX static library ../../../../../lib/libnel_drv_opengl_pch_dephelp.a
[ 10%] Built target nel_drv_opengl_pch_dephelp
Scanning dependencies of target pch_Generate_nel_drv_opengl
[ 10%] Generating stdopengl.h.gch
[ 10%] Built target pch_Generate_nel_drv_opengl
Scanning dependencies of target nel_drv_opengl
[ 10%] Building CXX object nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/driver_opengl.cpp.o
/Users/jennifer/Downloads/ryzom/ryzom/code/nel/src/3d/driver/opengl/driver_opengl.cpp:2515:3: warning: #warning "OpenGL Driver: Missing Mac Implementation for ATI version retrieval"
[ 10%] Building CXX object nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/driver_opengl_extension.cpp.o
[ 10%] Building CXX object nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/driver_opengl_inputs.cpp.o
/Users/jennifer/Downloads/ryzom/ryzom/code/nel/src/3d/driver/opengl/driver_opengl_inputs.cpp:21:24: error: X11/Xatom.h: No such file or directory
/Users/jennifer/Downloads/ryzom/ryzom/code/nel/src/3d/driver/opengl/driver_opengl_inputs.cpp:802:3: warning: #warning "OpenGL Driver: Missing Mac Implementation for getDoubleClickDelay"
make[2]: *** [nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/driver_opengl_inputs.cpp.o] Error 1


Replies (9)

RE: Another Mac Compile Error :D - Added by kervala almost 3 years ago

Hi :)

Thanks a lot for your report !

You're right, it's a bug and I wonder why nobody got it before... Perhaps because they installed X Windows headers before compiling Ryzom.

I'll commit a fix in a few seconds :)

RE: Another Mac Compile Error :D - Added by Laelipoo almost 3 years ago

Always my knight in shining coding. Thank you for the quick fix, as always.

I'll look out for any more errors.

RE: Another Mac Compile Error :D - Added by kervala almost 3 years ago

You're welcome :)

That's easy to fix compilation errors when reporters post exactly what we need to know to fix it :)

That's a lot better than : "Help me! It doesn't work!!!1!!111!" :p

RE: Another Mac Compile Error :D - Added by Laelipoo almost 3 years ago

Well, let's hope you can fix this next one, which happens right when the executable is linked. So sad. :(

[100%] Building CXX object ryzom/client/src/CMakeFiles/ryzom_client.dir/r2/dmc/property_accessor.cpp.o
In file included from /Users/jennifer/Downloads/ryzom/ryzom/code/ryzom/common/src/game_share/base_types.h:25,
from /Users/jennifer/Downloads/ryzom/ryzom/code/ryzom/common/src/game_share/msg_client_server.h:34,
from /Users/jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/stdpch.h:117,
from <command-line>:0:
/Users/jennifer/Downloads/ryzom/ryzom/code/nel/include/nel/net/unified_network.h: In copy constructor ‘NLNET::CUnifiedNetwork::CUnifiedNetwork(const NLNET::CUnifiedNetwork&)’:
/Users/jennifer/Downloads/ryzom/ryzom/code/nel/include/nel/net/unified_network.h:228: warning: base class ‘class NLMISC::ICommandsHandler’ should be explicitly initialized in the copy constructor
Linking CXX executable "../../../bin/Ryzom Core Client.app/Contents/MacOS/Ryzom Core Client"
Undefined symbols for architecture x86_64:
"_lzma_end", referenced from:
___libxml2_xzclose in libxml2.a(xzlib.o)
"_lzma_auto_decoder", referenced from:
_xz_make in libxml2.a(xzlib.o)
"_lzma_properties_decode", referenced from:
_xz_make in libxml2.a(xzlib.o)
"_lzma_code", referenced from:
_xz_decomp in libxml2.a(xzlib.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [bin/Ryzom Core Client.app/Contents/MacOS/Ryzom Core Client] Error 1
make[1]: *** [ryzom/client/src/CMakeFiles/ryzom_client.dir/all] Error 2
make: *** [all] Error 2

RE: Another Mac Compile Error :D - Added by kervala almost 3 years ago

I never got this link error on a Mac, but I can see libxml2 is depending on liblzma when using nm.

I just committed a fix, but I'm not sure it'll work for you...

RE: Another Mac Compile Error :D - Added by Laelipoo almost 3 years ago

Only one way to find out... :D

I'll run it again!

RE: Another Mac Compile Error :D - Added by Laelipoo almost 3 years ago

And success!

Thanks again!

RE: Another Mac Compile Error :D - Added by kervala almost 3 years ago

Good to know :) You're welcome !

RE: Another Mac Compile Error :D - Added by Laelipoo almost 3 years ago

As a note: it definitely fixed 90% of the webig issues (when I click "home" it freaks out again). I am also having some small issues adding applications but that should pass.

I definitely need to redownload the data pack through rsync (I am as I write this) because I am transparent and standing on a bottomless ocean that spans all of Atys XD

(1-9/9)