Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

trunk fails to build on windows with mingw #130

Closed
wzdev-ci opened this issue Oct 30, 2008 · 16 comments
Closed

trunk fails to build on windows with mingw #130

wzdev-ci opened this issue Oct 30, 2008 · 16 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by tmhikaru@...


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="warzone-dev@gna.org" --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.


Issue migrated from trac:130 at 2022-04-15 17:46:30 -0700

@wzdev-ci
Copy link
Contributor Author

anonymous commented


"ld.exe: cannot find -ltheora collect2"

your missing libtheora devs

http://forums.wz2100.net/viewtopic.php?f=4&t=2066&st=0&sk=t&sd=a&start=15
http://www.theora.org/downloads/

Basicly all the Guides here http://wiki.wz2100.net/Compile_Guide need to be updated

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Nov 13, 2008

Giel commented


Replying to Warzone2100/old-trac-import#130 (comment:1):

"ld.exe: cannot find -ltheora collect2"

your missing libtheora devs

Which is very strange, because warzone2100-devpkg-2.1-mingw32-20080928.7z contains libtheora.a. Are you sure you used the right directory in makerules/config.mk for the dev package?

@wzdev-ci
Copy link
Contributor Author

Giel edited the issue description

@wzdev-ci
Copy link
Contributor Author

Giel changed blockedby which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Giel changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Giel commented


(In [6280]) Only compile the translations when $(TRANSLATION) is "yes" not just when it's defined
This addresses #130 and should fix it

@wzdev-ci
Copy link
Contributor Author

Giel changed owner from `` to Giel

@wzdev-ci
Copy link
Contributor Author

Giel changed status from new to accepted

@wzdev-ci
Copy link
Contributor Author

Giel changed milestone from `` to 2.2

@wzdev-ci
Copy link
Contributor Author

Giel commented


Could you check whether the problem is fixed since [6280]?

@wzdev-ci
Copy link
Contributor Author

Giel changed status from accepted to closed

@wzdev-ci
Copy link
Contributor Author

Giel changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Giel commented


No response so I'm assuming [6280] fixed this and close this ticket.

@wzdev-ci
Copy link
Contributor Author

tmhikaru@... commented


Sorry, I haven't been able to test it and likely won't be able to in the future for a while.

Thanks for your patience.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 8, 2010

Buginator removed milestone (was 2.2)

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 8, 2010

Buginator commented


Milestone 2.2 deleted

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant