Latest Source Update for Mac Cannot Compile

Added by Laelipoo over 3 years ago

(it always seems to be me, huh? :D)

I pulled and updated the latest source after the server patch, and went to update my client. It fails, citing a file link that isn't right. I've pasted the results of my make command for you.

make
[ 0%] Built target nelmisc_pch_dephelp
[ 1%] Built target pch_Generate_nelmisc
[ 11%] Built target nelmisc
[ 11%] Built target nel3d_pch_dephelp
[ 11%] Built target pch_Generate_nel3d
[ 37%] Built target nel3d
[ 38%] Built target nel_drv_opengl
[ 38%] Built target nelgeorges_pch_dephelp
[ 38%] Built target pch_Generate_nelgeorges
[ 39%] Built target nelgeorges
[ 39%] Built target nelligo_pch_dephelp
[ 39%] Built target pch_Generate_nelligo
[ 40%] Built target nelligo
[ 40%] Built target nelnet_pch_dephelp
[ 40%] Built target pch_Generate_nelnet
[ 44%] Built target nelnet
[ 45%] Built target nellogic
[ 45%] Built target nelsnd_lowlevel_pch_dephelp
[ 45%] Built target pch_Generate_nelsnd_lowlevel
[ 46%] Built target nelsnd_lowlevel
[ 46%] Built target nelsound_pch_dephelp
[ 46%] Built target pch_Generate_nelsound
[ 48%] Built target nelsound
[ 48%] Built target nel_drv_openal_pch_dephelp
[ 48%] Built target pch_Generate_nel_drv_openal
[ 49%] Built target nel_drv_openal
[ 49%] Built target nelpacs_pch_dephelp
[ 49%] Built target pch_Generate_nelpacs
[ 51%] Built target nelpacs
[ 51%] Built target ryzom_gameshare_pch_dephelp
[ 51%] Built target pch_Generate_ryzom_gameshare
[ 64%] Built target ryzom_gameshare
[ 64%] Built target ryzom_client_pch_dephelp
[ 64%] Built target pch_Generate_ryzom_client
[ 64%] Built target ryzom_clientsheets_pch_dephelp
[ 64%] Built target pch_Generate_ryzom_clientsheets
[ 68%] Built target ryzom_clientsheets
[ 68%] Building CXX object ryzom/client/src/CMakeFiles/ryzom_client.dir/net_manager.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
In file included from /Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/interface_v3/people_interraction.h:21,
from /Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/net_manager.cpp:57:
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/interface_v3/chat_filter.h: In copy constructor ‘CChatInputFilter::CChatInputFilter(const CChatInputFilter&)’:
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/interface_v3/chat_filter.h:84: warning: base class ‘struct CChatWindow::IObserver’ should be explicitly initialized in the copy constructor
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/interface_v3/chat_filter.h: In copy constructor ‘CChatTargetFilter::CChatTargetFilter(const CChatTargetFilter&)’:
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/interface_v3/chat_filter.h:160: warning: base class ‘struct IChatWindowListener’ should be explicitly initialized in the copy constructor
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/interface_v3/chat_filter.h:160: warning: base class ‘struct CChatWindow::IObserver’ should be explicitly initialized in the copy constructor
In file included from /Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/r2/editor.h:21,
from /Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/net_manager.cpp:83:
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/r2/instance.h: In copy constructor ‘R2::CInstance::CInstance(const R2::CInstance&)’:
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/r2/instance.h:244: warning: base class ‘class CReflectable’ should be explicitly initialized in the copy constructor
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/net_manager.cpp: In member function ‘virtual void CInterfaceChatDisplayer::displayChat(TDataSetIndex, const ucstring&, const ucstring&, CChatGroup::TGroupType, NLMISC::CEntityId, ucstring&, uint)’:
/Users/Jennifer/Downloads/ryzom/ryzom/code/ryzom/client/src/net_manager.cpp:668: error: no matching function for call to ‘clamp(sint32&, int, CChatGroup::<anonymous enum>)’
make[2]: *** [ryzom/client/src/CMakeFiles/ryzom_client.dir/net_manager.cpp.o] Error 1
make[1]: *** [ryzom/client/src/CMakeFiles/ryzom_client.dir/all] Error 2
make: *** [all] Error 2

Any help would be lovely. Thank you in advance!


Replies (34)

RE: Latest Source Update for Mac Cannot Compile - Added by Laelipoo about 3 years ago

I'm recompiling now. I hope to report back with success (always happy to be a test bunny :D ).

I do know I got a couple other errors with the ATI for Mac. If I get them again, I will throw them up.

EDIT: It did work, thank you Kervala. I attached the snippets that mentioned the OpenGL/ATI issues I was talking about earlier for your reference.

ryzomcode.txt (2.4 kB) Magnifier

RE: Latest Source Update for Mac Cannot Compile - Added by Laelipoo about 3 years ago

Kervala, I was wondering if you knew the compiler flags for the open-al-soft binary listed on the wiki page? http://files.rtti.de/ryzom-core-client-0.8.0.1649-ALsoft.app.zip This one works the best on my machine, especially the sound, but it has the bubbles and other gamed.bnp issues that I cannot seem to fix myself. I was hoping that if I used the flags they used to build it, I might be able to make one without those issues. Thanks in advance!

RE: Latest Source Update for Mac Cannot Compile - Added by kervala about 3 years ago

I dind't try to compile OpenAL soft under Mac OS X, but this should be enough :

git clone git://repo.or.cz/openal-soft.git openal-soft
cd openal-soft
mkdir build
cd build
cmake .. -DBUILD_TYPE=STATIC
make
sudo make install

After that, the static library should be installed in /usr/local/lib

RE: Latest Source Update for Mac Cannot Compile - Added by Laelipoo about 3 years ago

I already have openal soft on my computer. My issue is that I cannot figure out how to compile with it, or, how to fix the broken binary on the wiki page, which works properly, but has major graphical issues. I was hoping you'd have an solution (but thank you for the prompt response as always).

RE: Latest Source Update for Mac Cannot Compile - Added by kervala about 3 years ago

If you use -DWITH_STATIC_EXTERNAL=ON it should use OpenAL soft in priority :)

Did you try the version I posted recently ?

http://kervala.net/download/ryzom_1.13.0.zip

You just have to uncompress the ZIP file, double-click on ryzom_updater, wait until all is patched correctly and double-click on Ryzom :)

RE: Latest Source Update for Mac Cannot Compile - Added by Laelipoo about 3 years ago

I have tried the old one, but I will try the new one. I have everything pretty much good but sound. It stutters horribly, causes lag, sounds icky and is causing me to crash again. But maybe this will help.

RE: Latest Source Update for Mac Cannot Compile - Added by Laelipoo about 3 years ago

I have tried the old one, but I will try the new one. I have everything pretty much good but sound. It stutters horribly, causes lag, sounds icky and is causing me to crash again. But maybe this will help.

RE: Latest Source Update for Mac Cannot Compile - Added by kervala about 3 years ago

The old or new version please ?

Kaetemi fixed a lot of things in OpenAL driver.

RE: Latest Source Update for Mac Cannot Compile - Added by Laelipoo about 3 years ago

kervala wrote:

The old or new version please ?

Kaetemi fixed a lot of things in OpenAL driver.

I just cloned from the link you gave me above, and am compiling a fresh build now. I hope this fixes the problem. I really do. XD

« Previous 1 2 (26-34/34)