Thank you for your help. So it seems like it can’t compile against libboost_filesystem library:
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
BOOST_FILESYSTEM_LIB="-l$ax_lib"; link_filesystem="yes"; break
else
link_filesystem="no"
fi
To this point everything seems ok, cause it ends with “yes”:
But here it brakes:
if test "x$link_filesystem" != "xyes"; then
{ { echo "$as_me:$LINENO: error: Could not link against $ax_lib !" >&5
echo "$as_me: error: Could not link against $ax_lib !" >&2;}
{ (exit 1); exit 1; }; }
test “x$link_filesystem” returns something different than “xyes”, I tried to echo what it returns, but I don’t know how to as I have pretty basic knowledge on bash scripting. I will try to take a closer look on it during weekend.
Well it’s currently also launched from bootstrap.sh script (autoreconf --install) and I fire it before every compilation And I’m not so eager to build it in 32bits as I know it’s not playable yet, I just want to report a success story from the system I really use.
Sadly it didn’t help me, but now I’m pretty sure I have a broken install of boost_filesystem library. When I changed this line in ./configure script:
if test "x$link_filesystem" != "xyes"; then
to
if test "x$link_filesystem" != "xxx"; then
configure didn’t exit with “error: Could not link…” and finished succesfully. But the make didn’t, with a lots of errors about 'undefined reference to boost:: ...
It is possible that you don’t have a path to where the library is installed. By default they are installed in /usr/local/lib. Check /etc/ld.so.conf and/or /etc/ld.so.conf.d/. If it’s not there, add it and rerun “ldconfig”. Some distributions do not include that path.
Also check that libboost_filesystem-g cc43-mt-1_38.so is indeed installed in said path.
Thx, it helped, which is odd, because i remember copying some english data eariler after your advice in other thread… btw, i still need to build sdl_mixer with mp3 support to have that damn intro music playing, but adding --enable-music-mp3 to configure of sdl_mixer does not make it linked to libsmpeg :S
Yeah… it was my fault. That old package was created from my old WoG installation which had installed Acid Dragon’s “New Upgrades” mod.
Now I’ve updated package and it contains only clean WoG files which should not make any troubles
I think I will join this project now not possible because i don’t know enough from C++ (Last learn LOOP and classes). But i will want to help VCMI TEAM and i love programming. SDL engine driffrent me but i still want it know :D:D:D sry for horiable english.
Making all in lib
make[1]: Entering directory `/home/ALL/games/hmm3/vcmi/lib'
make[1]: *** No rule to make target `../CGameState.cpp', needed by `CGameState.lo'. Stop.
make[1]: Leaving directory `/home/ALL/games/hmm3/vcmi/lib'
make: *** [all-recursive] Error 1
I’ve finally been able to compile it under Linux. Quite a pain to get everything working when you can only install things to your home directory. Now I should be able to test it on said system whenever I’m at university.
It should be mentioned that you need to have ffmpeg compiled as shared libraries with --enable-shared or otherwise you will get a mountain of errors about undefined references.