OpenTechEngine / Discussions

The issues of this project are abused as a discussion forum for Open Tech
4 stars 0 forks source link

FontManager.cpp build error #13

Closed ghost closed 9 years ago

ghost commented 9 years ago

ran make and got terminated with FontManager.cpp, I think it is the 'all' build target.

compilation terminated.
libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/build.make:1066: recipe for target 'libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/FontManager.cpp.o' failed
make[2]: *** [libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/FontManager.cpp.o] Error 1
CMakeFiles/Makefile2:363: recipe for target 'libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/all' failed
make[1]: *** [libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Running make with the ignore error flag, it's compiling the code, with some warnings and errors.

kortemik commented 9 years ago

You need freetype-devel installed. It's a misconfiguration in our CMake that it doesn't detect if you don't have it and build from source. It's built only on windows.

On Sun, Aug 23, 2015 at 12:08 PM, Yetta1 notifications@github.com wrote:

ran make and got terminated with FontManager.cpp, I think it is the 'all' build target.

compilation terminated. libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/build.make:1066: recipe for target 'libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/FontManager.cpp.o' failed make[2]: * [libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/FontManager.cpp.o] Error 1 CMakeFiles/Makefile2:363: recipe for target 'libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/all' failed make[1]: * [libs/cegui/CEGUI.git/cegui/src/CMakeFiles/CEGUIBase-0.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *\ [all] Error 2

— Reply to this email directly or view it on GitHub https://github.com/OpenTechEngine/Discussions/issues/13.

ghost commented 9 years ago

I've got the freetype6-dev packages installed and tried freetype* as well. Doesn't seem to work, so i'll build on Win. Any way to work around this to get a Linux binary of the engine?

kortemik commented 9 years ago

Let me fix the cmake... :|

On Mon, Aug 24, 2015 at 4:24 PM, Yetta1 notifications@github.com wrote:

I've got the freetype6-dev packages installed and tried freetype* as well. Doesn't seem to work, so i'll build on Win. Any way to work around this to get a Linux binary of the engine?

— Reply to this email directly or view it on GitHub https://github.com/OpenTechEngine/Discussions/issues/13#issuecomment-134199854 .

kortemik commented 9 years ago

https://github.com/OpenTechEngine/OpenTechBFG/commit/49b9af6640f4099e013a6d48a7a876b42a79871f

as promised

ghost commented 9 years ago

@kortemik Thank you, you're a legend.