Hi,
i've managed to use cmake as build-tool on FreeBSD for building MG. But, when i compile it, this is was happening at least:
Linking CXX executable ../../../mk/linux/glest.bin
[ 94%] Built target glest.bin
Scanning dependencies of target run
[ 94%] Generating mg.tmp
[ 95%] Built target run
Scanning dependencies of target glest_editor
[ 95%] Building CXX object source/glest_map_editor/CMakeFiles/glest_editor.dir/main.cpp.o
[ 96%] Building CXX object source/glest_map_editor/CMakeFiles/glest_editor.dir/renderer.cpp.o
[ 96%] Building CXX object source/glest_map_editor/CMakeFiles/glest_editor.dir/program.cpp.o
[ 97%] Building CXX object source/glest_map_editor/CMakeFiles/glest_editor.dir/map.cpp.o
Linking CXX executable ../../../mk/linux/glest_editor
[ 97%] Built target glest_editor
Scanning dependencies of target glest_g3dviewer
[ 97%] Building CXX object source/g3d_viewer/CMakeFiles/glest_g3dviewer.dir/__/glest_game/graphics/particle_type.cpp.o
[ 97%] Building CXX object source/g3d_viewer/CMakeFiles/glest_g3dviewer.dir/__/glest_game/graphics/unit_particle_type.cpp.o
[ 98%] Building CXX object source/g3d_viewer/CMakeFiles/glest_g3dviewer.dir/main.cpp.o
[ 98%] Building CXX object source/g3d_viewer/CMakeFiles/glest_g3dviewer.dir/renderer.cpp.o
Linking CXX executable ../../../mk/linux/glest_g3dviewer
[ 98%] Built target glest_g3dviewer
Scanning dependencies of target glest_configurator
[ 99%] Building CXX object source/configurator/CMakeFiles/glest_configurator.dir/main.cpp.o
[ 99%] Building CXX object source/configurator/CMakeFiles/glest_configurator.dir/configuration.cpp.o
Linking CXX executable ../../../mk/linux/glest_configurator
[ 99%] Built target glest_configurator
Scanning dependencies of target g2xml
[ 99%] Building C object source/tools/glexemel/CMakeFiles/g2xml.dir/g2xml.c.o
Linking C executable ../../../../source/tools/glexemel/g2xml
[ 99%] Built target g2xml
Scanning dependencies of target xml2g
[100%] Building C object source/tools/glexemel/CMakeFiles/xml2g.dir/xml2g.c.o
In file included from /usr/local/include/libxml2/libxml/parser.h:807,
from ~/Downloads/MegaGlest-SVN/trunk/source/tools/glexemel/xml2g.c:19:
/usr/local/include/libxml2/libxml/encoding.h:28:19: error: iconv.h: No such file or directory
In file included from /usr/local/include/libxml2/libxml/parser.h:807,
from ~/Downloads/MegaGlest-SVN/trunk/source/tools/glexemel/xml2g.c:19:
/usr/local/include/libxml2/libxml/encoding.h:146: error: expected specifier-qualifier-list before 'iconv_t'
*** Error code 1
Stop in ~/Downloads/MegaGlest-SVN/trunk/build.
*** Error code 1
Stop in ~/Downloads/MegaGlest-SVN/trunk/build.
*** Error code 1
iconv.h is located in /usr/local/include/
Maybe some can point me on how to solve this. Thx.
Btw. glest.bin was compiled successfully and is runable. But it is 45MB in size. Is that normal? Or is this a result of the last error?