Compile latest core under Linux?
Posted: Mon Dec 21, 2015 5:39 am
Hello,
just tried to compile the latest core. Under Win 7 it compiles fine, using Visual Studio 12. Instructions are clear, 4 versions are built (static, dynamic, x86 and x64). POL works fine under Windows. Yet there seems to a problem with uoconvert: On a UO ML installation it simply ignores the width= and height= parameters, it always uses 6xxx * 4096, even with the smaller maps. But using an older uoconvert is possible.
On Linux things are different
I installed Ubuntu 14 LTS in a VM, installed the necessary packages, installed cmake, last version from website (since Ubuntus package is ancient), and built boost. Then I used buildcore in pol-core folder.
The build process started, all things were found, but the current core does not compile! It stops with:
.../pol-core/clib/clib_MD5.cpp:116:104: fatal error: MD5.h: No such file or directory
#include "MD5.h" //TODO: rework the following code - does not work with up-to-date header files anymore
^
compilation terminated.
make[2]: *** [pol-core/clib/CMakeFiles/clib.dir/clib_MD5.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [pol-core/clib/CMakeFiles/clib.dir/all] Error 2
make: *** [all] Error 2
Is there an easy way to fix this?
Horus
just tried to compile the latest core. Under Win 7 it compiles fine, using Visual Studio 12. Instructions are clear, 4 versions are built (static, dynamic, x86 and x64). POL works fine under Windows. Yet there seems to a problem with uoconvert: On a UO ML installation it simply ignores the width= and height= parameters, it always uses 6xxx * 4096, even with the smaller maps. But using an older uoconvert is possible.
On Linux things are different
I installed Ubuntu 14 LTS in a VM, installed the necessary packages, installed cmake, last version from website (since Ubuntus package is ancient), and built boost. Then I used buildcore in pol-core folder.
The build process started, all things were found, but the current core does not compile! It stops with:
.../pol-core/clib/clib_MD5.cpp:116:104: fatal error: MD5.h: No such file or directory
#include "MD5.h" //TODO: rework the following code - does not work with up-to-date header files anymore
^
compilation terminated.
make[2]: *** [pol-core/clib/CMakeFiles/clib.dir/clib_MD5.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [pol-core/clib/CMakeFiles/clib.dir/all] Error 2
make: *** [all] Error 2
Is there an easy way to fix this?
Horus