[NEED INFO] Empty configfile one Windows: game won't start

Our old place to report Bugs, it's not used anymore. To report bugs, please read this topic.
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

maybe it would not crash if the config file would be written normal.
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

okay i checked it out and will try to compile it myself with dev-cpp using mingw as far i know.
If it dont work please say me wehre i can find the programm part which writes the config file
User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: game won't start

Post by Watermelon »

Sento wrote: okay i checked it out and will try to compile it myself with dev-cpp using mingw as far i know.
If it dont work please say me wehre i can find the programm part which writes the config file
never use dev-cpp to compile a relatively big project like wz...it failed miserably for me last time when I tried to compile wz with it,other combinations such as msys+mingw/code::block+mingw/msvc should work with minimal tweaks with configs.
tasks postponed until the trunk is relatively stable again.
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

okay i tryed it but in the config file i dont know whats with

# Path to makensis
#MAKENSIS="wine C:/Program\ Files/NSIS/makensis.exe"

what is it and where can i get it ;)
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: game won't start

Post by DevUrandom »

I think it should not hurt if you set that to

Code: Select all

MAKENSIS="."
(I hope I am right... :( )
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

hmm i must have done something wrong.... there are lots of errors...
as exemple:
types.h:35: error: syntax error before "UBYTE"
types.h:35: warning: data definition has no type or storage class
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: game won't start

Post by DevUrandom »

Line 35 of lib/framework/types.h should be:

Code: Select all

# include <stdint.h>
I wonder what is messed up there...

Could you provide the complete error messages of the first failing file?
Or maybe the whole error messages in a log file...
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

i thing i made something wrong there are several errors like syntax errors maybe i used the wrong compiler...

must i have sdl installed?

edit: okay i forgot the developer pack
Last edited by Sento on 07 Jan 2007, 22:33, edited 1 time in total.
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

okay maybe i found the problem, it works now
Last edited by Sento on 07 Jan 2007, 23:56, edited 1 time in total.
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

but not long :(

E:\cvs\Compiler\GnuWin32 -d  -oresource_parser.c resource_parser.y
process_begin: CreateProcess((null), E:\cvs\Compiler\GnuWin32 -d -oresource_pars
er.c resource_parser.y, ...) failed.
make (e=5): Zugriff verweigert
mingw32-make[2]: *** [resource_parser.c] Error 5

seems like a permission problem i dont know how to fix it
filessystem is fat32
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: game won't start

Post by DevUrandom »

Looks as if you gave the bison command as "E:\cvs\Compiler\GnuWin32" (a directory probably) instead of a real file...
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

okay it compieled a while (with some depricated warnings) and then abort like this:

gcc -DVERSION=\"TRUNK\" -DYY_STATIC -I.. -I../.. -IE:\cvs\warzone\Warzone-DevPkg
/include -O2 -g0 -DNDEBUG -mwindows -DWIN32 -c -owarzoneconfig.o warzoneconfig.c

gcc -DVERSION=\"TRUNK\" -DYY_STATIC -I.. -I../.. -IE:\cvs\warzone\Warzone-DevPkg
/include -O2 -g0 -DNDEBUG -mwindows -DWIN32 -o warzone2100.exe ai.o aiexperience
.o astar.o action.o advvis.o atmos.o bridge.o buildpos.o cdspan.o cheat.o cluste
r.o cmddroid.o combat.o component.o console.o data.o design.o difficulty.o disp2
d.o display.o droid.o e3demo.o edit2d.o edit3d.o effects.o environ.o fpath.o fea
ture.o findpath.o formation.o frontend.o gateway.o gatewayroute.o gatewaysup.o g
eometry.o group.o hci.o init.o intdisplay.o intimage.o intorder.o intelmap.o key
bind.o keymap.o level_lexer.o levels.o lighting.o loop.o map.o mapdisplay.o mapg
rid.o mechanics.o message.o miscimd.o move.o multiint.o multimenu.o multiopt.o m
ultisync.o multibot.o multistat.o objmem.o objects.o optimisepath.o order.o play
er.o powercrypt.o radar.o raycast.o research.o scores.o scriptai.o scriptcb.o sc
riptextern.o scriptfuncs.o scriptobj.o scripttabs.o scriptvals.o scriptvals_pars
er.o scriptvals_lexer.o selection.o stats.o text.o texture.o transporter.o visib
ility.o warcam.o wrappers.o ani.o arrow.o aud.o audio_id.o bucket3d.o clparse.o
configuration.o csnap.o display3d.o drive.o function.o game.o ingameop.o keyedit
.o loadsave.o main.o mission.o multigifts.o multijoin.o multilimit.o multiplay.o
multistruct.o oprint.o power.o projectile.o seqdisp.o structure.o target.o warz
oneconfig.o ../lib/libframework.a ../lib/libgamelib.a ../lib/libivis_common.a ..
/lib/libivis_opengl.a ../lib/libnetplay.a ../lib/libscript.a ../lib/libsequence.
a ../lib/libsound.a ../lib/libwidget.a ../win32/warzone2100.o -LE:\cvs\warzone\W
arzone-DevPkg/lib -Wl,-S -lmingw32 -ljpeg -lpng -lz -lmad -lvorbisfile -lvorbis
-logg -lphysfs -lSDLmain -lSDL -lSDL_net -lwsock32 -lwinmm -lglu32 -lopengl32 -l
openal32
E:\cvs\Compiler\minGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.ex
e: cannot find -ljpeg
collect2: ld returned 1 exit status
mingw32-make[1]: *** [warzone2100.exe] Error 1
rm scriptvals_parser.c level_lexer.c scriptvals_lexer.c
mingw32-make[1]: Leaving directory `E:/cvs/warzone/src'
mingw32-make: *** [src] Error 2

i dont know where the ljpeg is...
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: game won't start

Post by DevUrandom »

Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

please correct it in the wiki:
http://wz2100.net/wiki/user:windows_compile_guide
the second link is empty :)
I would it do myself but im dont want to do something wrong..
Sento
Trained
Trained
Posts: 50
Joined: 31 Dec 2006, 20:39

Re: game won't start

Post by Sento »

:(

mingw32-make[1]: Entering directory `E:/cvs/warzone/nsis'
"." "/DVERSION=TRUNK" "/DVERSIONNUM=9.9.9.9" "/DLIBDIR=E:\cvs\warzone\devpkg\lib
" warzone2100.nsi
Der Befehl ""."" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
mingw32-make[1]: *** [warzone2100-TRUNK.exe] Error 1
mingw32-make[1]: Leaving directory `E:/cvs/warzone/nsis'
mingw32-make: *** [nsis] Error 2
Locked