Could someone help me with compile it on Mountain lion? I've installed all libraries, and don't know what to do next. Help me, please please please please!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I managed to get it running on Mavericks. Here is a link to the libsdl libraries (http://www.libsdl.org/download-1.2.php). NOTE that you need to have the SDL-1.2 version running because some of the functions in SDL-1.2 are not in the newest SDL and the code gives error on compilation. After you have all these in place you just need to navigate in terminal to the fheroes2 directory where you see the Makefile. Once you are there just type the command "make" in terminal.
Hope this helps for a start.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed all needed libraries with brew and try to compile.
I have 2 errors:
system.cpp:232:5: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
system.cpp:244:21: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just remove "std::" from 232 and 244 lines in system.cpp and it compiled. But I have issues. Opponent's troops don't make a move and I can't hear ogg music with "music = ext" in config.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody.
Could someone help me with compile it on Mountain lion? I've installed all libraries, and don't know what to do next. Help me, please please please please!
Hi,
I managed to get it running on Mavericks. Here is a link to the libsdl libraries (http://www.libsdl.org/download-1.2.php). NOTE that you need to have the SDL-1.2 version running because some of the functions in SDL-1.2 are not in the newest SDL and the code gives error on compilation. After you have all these in place you just need to navigate in terminal to the fheroes2 directory where you see the Makefile. Once you are there just type the command "make" in terminal.
Hope this helps for a start.
Hi,
I installed all needed libraries with brew and try to compile.
I have 2 errors:
system.cpp:232:5: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
system.cpp:244:21: error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
I've just remove "std::" from 232 and 244 lines in system.cpp and it compiled. But I have issues. Opponent's troops don't make a move and I can't hear ogg music with "music = ext" in config.