does ANYONE know how to compile natively on windows?
-
- Trained
- Posts: 71
- Joined: 07 Apr 2009, 22:38
does ANYONE know how to compile natively on windows?
The guide on compiling on Windows is obsolete as I found out after about an hour. I want to compile on Windows using MinGW does any here do that? If so how? If it matters I am trying to compile truck.
-
- Trained
- Posts: 47
- Joined: 17 Jan 2010, 12:54
Re: does ANYONE know how to compile natively on windows?
Same here, some trouble with MinGW(DevCPP version, if asking).
Did you download the developer package?
Did you download the developer package?
Re: does ANYONE know how to compile natively on windows?
I just compiled Warzone on trunk today, using those instructions, MinGW + Windows 7 x64.
What's the problem?
What's the problem?
-
- Trained
- Posts: 71
- Joined: 07 Apr 2009, 22:38
Re: does ANYONE know how to compile natively on windows?
yes I downloaded the devpkg in the tutorial. Zerel this:
using MinGW from SF.net
Code: Select all
C:\build\warzone>mingw32-make -f makefile.win32
Checking config...
PACKAGE_VERSION := TRUNK
MODE := debug
DEVDIR := C:/build/devpkg-2.1
Config seems valid.
mingw32-make[1]: Entering directory `C:/build/warzone/build_tools'
mingw32-make[2]: Entering directory `C:/build/warzone/build_tools/autorevision'
makefile.win32:25: warning: overriding commands for target `clean'
../../makerules/exe.mk:13: warning: ignoring old commands for target `clean'
g++ -I../.. -DPACKAGE=\"warzone2100\" -DPACKAGE_VERSION=\"TRUNK\" -DYY_STATIC -I
C:/build/devpkg-2.1/include/SDL -IC:/build/devpkg-2.1/include/libpng12 -IC:/buil
d/devpkg-2.1/include/bfd -IC:/build/devpkg-2.1/include -DDEBUG -DWIN32 -g -Wal
l -O0 -c -o autorevision.o autorevision.cpp
g++ -std=gnu99 -g -Wall -Werror-implicit-function-declaration -O0 -o autorevisi
on.exe autorevision.o -LC:/build/devpkg-2.1/lib -lmingw32 -lSDLmain -lSDL -lpng
12 -lphysfs -lz -lvorbisfile -lvorbis -logg -lpopt -lintl -lGLC -lglu32 -lopengl
32 -lopenal32 -ldbghelp -lshfolder -lwinmm -lws2_32 -lbfd -liberty -liconv -lz -
lfreetype -lfontconfig -lexpat -ltheora
C:\Mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot fin
d -lintl
collect2: ld returned 1 exit status
mingw32-make[2]: *** [autorevision.exe] Error 1
mingw32-make[2]: Leaving directory `C:/build/warzone/build_tools/autorevision'
mingw32-make[1]: *** [autorevision] Error 2
mingw32-make[1]: Leaving directory `C:/build/warzone/build_tools'
mingw32-make: *** [build_tools] Error 2
- BlueMaxima
- Trained
- Posts: 431
- Joined: 05 Jun 2008, 09:20
- Location: Sydney, Australia
- Contact:
Re: does ANYONE know how to compile natively on windows?
I have the EXACT same problem, and no-one helps me either.
Bring back...ducks!
-
- Trained
- Posts: 71
- Joined: 07 Apr 2009, 22:38
Re: does ANYONE know how to compile natively on windows?
Blue: yeah spent an hour or so in #warzone2100-dev with people guessing how to fix it! If they were going to guess they should have told be before hand. Apparently no-one compile WZ on Windows so they can't help.
Re: does ANYONE know how to compile natively on windows?
Again, I just compiled Warzone on Windows yesterday, the same way I always do. I don't know what these problems everyone talks about are, but I don't have them, so it's incorrect to say "no one". :/alienkid10 wrote:Blue: yeah spent an hour or so in #warzone2100-dev with people guessing how to fix it! If they were going to guess they should have told be before hand. Apparently no-one compile WZ on Windows so they can't help.
-
- Trained
- Posts: 71
- Joined: 07 Apr 2009, 22:38
Re: does ANYONE know how to compile natively on windows?
Well then what's YOUR set-up?!?! What MinGW do you use? What Devpkg do you use what Version of Windows do you use? What did you add to your %PATH%? What time do you compile? What day? (both random that might not effect compile) What Folder is the source in? How about the Devpkg? Maybe if someone would tell us that DO have problems that then we could compile? Zarel why don't you rewrite the guide.
For me my set-up
FLEX/BISON : C:\Program Files\GNUWin32(\bin)
MinGW: http://sourceforge.net/projects/mingw/ : C:\minGW
SRC: C:\build\warzone\
DEVPKG: C:\build\Devpkg
Tortoise SVN for SVN client
TIME OF DAY: after soon 3-5ish
DAY: Monday
WINDOWS XP SP3
IE:7
RAM:1GB
HDD:160GB
My set-up^ What's yours Blue/Zarel?
For me my set-up
FLEX/BISON : C:\Program Files\GNUWin32(\bin)
MinGW: http://sourceforge.net/projects/mingw/ : C:\minGW
SRC: C:\build\warzone\
DEVPKG: C:\build\Devpkg
Tortoise SVN for SVN client
TIME OF DAY: after soon 3-5ish
DAY: Monday
WINDOWS XP SP3
IE:7
RAM:1GB
HDD:160GB
My set-up^ What's yours Blue/Zarel?
Re: does ANYONE know how to compile natively on windows?
Well, all I did was follow the MinGW compile guide exactly, so there's nothing more I can add to it.
I have Warzone in D:\Zarel\Warzone\warzone\ (trunk) and D:\Zarel\Warzone\warzone-2.3\ (2.3). devpkg is D:\Zarel\Warzone\devpkg\. As long as Flex, Bison, and MinGW are installed to their default locations (note that many of their default locations are outside of Program Files), it should be fine.
One thing missing from the compile guide is that you need to copy the fonts/ folder from the devpkg to warzone/src/fonts/, but that can be done after you compile successfully.
I have Warzone in D:\Zarel\Warzone\warzone\ (trunk) and D:\Zarel\Warzone\warzone-2.3\ (2.3). devpkg is D:\Zarel\Warzone\devpkg\. As long as Flex, Bison, and MinGW are installed to their default locations (note that many of their default locations are outside of Program Files), it should be fine.
One thing missing from the compile guide is that you need to copy the fonts/ folder from the devpkg to warzone/src/fonts/, but that can be done after you compile successfully.
-
- Trained
- Posts: 71
- Joined: 07 Apr 2009, 22:38
Re: does ANYONE know how to compile natively on windows?
which Devpkg are you using? Any Idea what this -lintl thing is? Could it not be finding FLEX/BISON since it is in Program files? and it has a space in it?
EDIT: added -d to the make command
EDIT: added -d to the make command
- Attachments
-
- make.txt
- (195.82 KiB) Downloaded 317 times
Re: does ANYONE know how to compile natively on windows?
I'm not sure; I don't think I've ever gotten that error. Perhaps it's a bug in the newest devpkg? Maybe it's that I'm using an older one.
I assume you've configured your Path environment variables correctly?
I assume you've configured your Path environment variables correctly?
-
- Trained
- Posts: 71
- Joined: 07 Apr 2009, 22:38
Re: does ANYONE know how to compile natively on windows?
yes I triple checked PATH. What Devpkg do you use!? (for the 2nd or 3rd time!) Zip it up and attach it
Re: does ANYONE know how to compile natively on windows?
I'm not at home; I don't have my Windows computer with me; I'm currently in class on my MacBook. I'll post my devpkg tomorrow night, that's the earliest I'll be able to get back at my Windows computer.
-
- Trained
- Posts: 47
- Joined: 17 Jan 2010, 12:54
Re: does ANYONE know how to compile natively on windows?
If it doesn't work, I'll need a precompiled trunk because I can't possibly work on any mod without it working. Would start for the normal version, but what for if by the time I finish it's gonna be outdated already.
Re: does ANYONE know how to compile natively on windows?
Well, unless you're using WZScript, trunk and 2.3 currently use the exact same mod structure. In fact, they have the exact same stats files right now.