#130: trunk fails to build on windows with mingw
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Type: defect
Status: new | Priority: major
Milestone: | Component: Build system
Version: svn/trunk | Keywords:
Operating_system: Microsoft Windows |
---------------------------------------+------------------------------------
Neither
http://download.gna.org/warzone/development/devpkg/2.1/mingw32/warzone2100-devpkg-2.1-mingw32-20080928.7z
Nor
http://download.gna.org/warzone/development/devpkg/2.1/mingw32/warzone2100-devpkg-2.1-mingw32-20080704-extras.7z
work for building trunk. the -extras version works for building beta5
however...
I don't really know what's wrong. My best guess is that I could build
using the newer non -extras package if I could disable translations -
however setting translations to no in the config file seems to have no
effect.
with the -extras package, we encounter this error almost immediately:
g++ -std=gnu99 -g -Wall -Werror-implicit-function-declaration -O0 -o
autorevision.exe autorevision.o -LC:/devpkg/lib -lmingw32 -lSDLmain -lSDL
-lSDL_net -lpng12 -lphysfs -lz -lvorbisfile -lvorbis -logg -lpopt -lintl
-lGLC -lglu32 -lopengl32 -lopenal32 -ldbghelp -lshfolder -lwinmm -lwsock32
-lbfd -liberty -liconv -lz
-lfreetype -lfontconfig -lexpat -ltheora
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot find -ltheora
collect2: ld returned 1 exit status
mingw32-make[2]: *** [autorevision.exe] Error 1
mingw32-make[2]: Leaving directory
`C:/DOCUME~1/GODOFZ~1/Desktop/Games/Trunk/build_tools/autorevision'
mingw32-make[1]: *** [autorevision] Error 2
mingw32-make[1]: Leaving directory
`C:/DOCUME~1/GODOFZ~1/Desktop/Games/Trunk/build_tools'
with the NON extras package
(warzone2100-devpkg2.1-mingw32-20080928.7z)
we encounter this:
mingw32-make[1]: Entering directory
`C:/DOCUME~1/GODOFZ~1/Desktop/Games/Trunk/po'
xgettext --from-code=UTF-8 --no-wrap --width=1 --keyword=_ --keyword=N_
--keyword=P_:1c,2 --keyword=NP_:1c,2 --default-domain="warzone2100"
--copyright-holder="Warzone Resurrection Project" --msgid-bugs-address
="[email protected]" --directory=".." --add-comments=TRANSLATORS:
--files-from=POTFILES.in
'xgettext' is not recognized as an internal or external command, operable
program or batch file.
mingw32-make[1]: *** [warzone2100.pot] Error 1
mingw32-make[1]: Leaving directory
`C:/DOCUME~1/GODOFZ~1/Desktop/Games/Trunk/po'
mingw32-make: *** [po] Error 2
Note that both builds have a config.mk with translations=no
If I'm doing something wrong, please let me know.
--
Ticket URL: <http://developer.wz2100.net/ticket/130>
Warzone 2100 Trac <http://wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev