Compiling Windows Binaries on Linux Problem
Howdy! I am admittedly a Linux noob but for the life of me I cannot get the Windows Binaries to build on Linux. I have been using the buildbot 32bit script. I realized too that I needed to change the mingw references in toolchain_mingw.cmake so I changed it from the default to:
So that actually got it compiling but it errors with
Not sure if that error message helps but I did also notice that it said it was missing these packages:
Doxygen
GetText
SpatialIndex
Redis
Ncurses
PostgreSQL
I was able to easily get Doxygen and GetText from the Ubuntu Software Center and the other ones I tried to use the Synaptic Package Manager but besides Doxygen, and GetText, they still all say they are missing even though I've tried to install all the library packages and anything else relevant I can find for them.
Any help would be greatly appreciated and I'm hoping to install the 64 bit Win Binaries eventually too so any help there would be great! Thanks for your time!
-Mike
PS I am using Lubuntu 16.04
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
# which compilers to use for C and C++
SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
# here is the target environment located
## SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc)
SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32)
So that actually got it compiling but it errors with
gui10SGUITTFaceD1Ev]+0x23): undefined reference to `__imp_FT_Done_Face'
cguittfont/libcguittfont.a(xCGUITTFont.cpp.obj):xCGUITTFont.cpp:(.text$_ZN3irr3gui10SGUITTFaceD0Ev[_ZN3irr3gui10SGUITTFaceD0Ev]+0x23): undefined reference to `__imp_FT_Done_Face'
collect2: error: ld returned 1 exit status
src/CMakeFiles/minetest.dir/build.make:5521: recipe for target '../bin/minetest.exe' failed
make[2]: *** [../bin/minetest.exe] Error 1
CMakeFiles/Makefile2:221: recipe for target 'src/CMakeFiles/minetest.dir/all' failed
make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Not sure if that error message helps but I did also notice that it said it was missing these packages:
Doxygen
GetText
SpatialIndex
Redis
Ncurses
PostgreSQL
I was able to easily get Doxygen and GetText from the Ubuntu Software Center and the other ones I tried to use the Synaptic Package Manager but besides Doxygen, and GetText, they still all say they are missing even though I've tried to install all the library packages and anything else relevant I can find for them.
Any help would be greatly appreciated and I'm hoping to install the 64 bit Win Binaries eventually too so any help there would be great! Thanks for your time!
-Mike
PS I am using Lubuntu 16.04