"Nexuiz SVN Builds for Noobs" - MINGW simplified

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Shoe » Fri Oct 31, 2008 3:35 pm

It's building itself beautifully now, thanks div! I had tried yesterday to track down alternative sh.exe but had trouble finding ones that would work with your build system (cygwin's acted really weird, for example).

edit: Spotted a bug but it's an easy fix. If you just extract the build folder exactly, something (I think make) chokes because of the spaces, though renaming it to something without spaces lets everything compile correctly. e.g. I had extracted it to e:\Nexuiz SVN Compiler but the batch file died with an error "e:\Nexuiz is not a valid command"

This could only be filesystem specific though since no one else seems to have had trouble with it and the partition I'm running it on is ext2, not ntfs or fat32
Shoe
Keyboard killer
 
Posts: 517
Joined: Wed Mar 08, 2006 2:18 am

Postby divVerent » Fri Oct 31, 2008 5:29 pm

Ah, that's why. Why are you doing this on ext2?

And can you verify this:

Make a directory "e:\foo bar baz" on your ext2.

Then, on a "cmd" command prompt, type:

for %f in ("e:\foo bar baz") do echo %~sf

What does it show? Does it have spaces in it?

If you do this on VFAT or NTFS, it'll print the name shortened to 8 characters, and without spaces... and as make can't deal with path names with spaces, switching to these short file names is the first thing my script does.

So maybe this, i.e. not supporting short file names, is a bug in the ext2 file system driver you are using.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Shoe » Fri Oct 31, 2008 6:06 pm

It prints the whole thing with spaces, so that must be it.

The ext2 partition I use is my video/audio storage partition that I share between Windows and Linux - I used to use fat32 for it, but that's just so outdated (I had issues with a 6gb iso before on it) that I decided to use something a little more modern. So yeah... not probably a big problem, most likely anyone running into this problem would be able to catch that the spaces in the directory name make it fail to compile.
Shoe
Keyboard killer
 
Posts: 517
Joined: Wed Mar 08, 2006 2:18 am

Postby divVerent » Fri Oct 31, 2008 7:01 pm

Right, and anyone on VFAT or NTFS is unaffected.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby terencehill » Fri Oct 31, 2008 10:27 pm

Tnx div for this simple instructions to make a svn build.

First thing:
1. Make sure you have about 2.5GB free space

More precisely the size is 2.26 GB, but using NTFS compression it is reduced to 1.74 GB. I had just 2.5 GB free and i was worrying if I couldnt build it. Add this info if u want to the instructions.

Second thing and most important:
I've implemented a system to use more colors for text as i described here http://alientrap.org/forum/viewtopic.php?p=46323#46323
I still don't believe I did it! :D :D :D
Not so complicated however, but I thought I had very few possibilities so now I'm very happy! :)
terencehill
Alien
 
Posts: 176
Joined: Thu Jul 10, 2008 10:33 pm
Location: Italy

Postby divVerent » Sat Nov 01, 2008 11:22 am

Well, on my system it was 2.26GB too, but I rounded up a little to make sure it'll stay working with that amount.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Urmel » Fri Dec 19, 2008 6:13 pm

Hi,

My build.bat doesn't know find the server svn.icculus.org anymore and aborts its job then. Now the file suffixes from the run-wgl and run-sdl changed to .dontrun.

May I ask what happened? :shock:
uncomfortable
random
mean
embarrassing
limited
Urmel
Forum addon
 
Posts: 1744
Joined: Fri Mar 03, 2006 10:06 am
Location: Offline

Postby Alien » Fri Dec 19, 2008 6:39 pm

Your dns server cache might got corrupted.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Urmel » Fri Dec 19, 2008 7:14 pm

too easy


Well that worked :D

ty very much ;)
uncomfortable
random
mean
embarrassing
limited
Urmel
Forum addon
 
Posts: 1744
Joined: Fri Mar 03, 2006 10:06 am
Location: Offline

Postby Urmel » Wed Jan 14, 2009 9:30 pm

Me again. Today I've got another error message.

Code: Select all
========== darkplaces-dedicated.exe (debug) ==========
S:/NEXUIZ~3/NEXUIZ~1/unxutils/usr/local/wbin/make.EXE darkplaces-dedicated.exe \
DP_MAKE_TARGET=mingw DP_SOUND_API=WIN \
CFLAGS="-MMD   -Wall -Wsign-compare -Wdeclaration-after-statement  -ggdb "\
        LDFLAGS="-g -ggdb  -DSVNREVISION=`test -d .svn && svnversion || echo -` -DBUILDTYPE=debug -lws2_32 -Wl,--large-address-aware -mconsole -lwinmm" LEVEL=2
S:\NEXUIZ~3\NEXUIZ~1\unxutils\usr\local\wbin\make.EXE[3]: Entering directory `S:/NEXUIZ~3/NEXUIZ~1/darkplaces'
gcc -MMD   -Wall -Wsign-compare -Wdeclaration-after-statement  -ggdb  -c cl_particles.c -o cl_particles.o
cl_particles.c: In function `CL_NewParticle':
cl_particles.c:512: error: structure has no member named `blendmode'
cl_particles.c:513: error: structure has no member named `orientation'
cl_particles.c: In function `CL_ParticleEffect_Fallback':
cl_particles.c:972: error: structure has no member named `templights'
cl_particles.c:973: error: structure has no member named `templights'
cl_particles.c:974: error: structure has no member named `templights'
cl_particles.c: In function `CL_ParticleTrail':
cl_particles.c:1222: error: structure has no member named `templights'
cl_particles.c:1223: error: structure has no member named `templights'
cl_particles.c:1224: error: structure has no member named `templights'
cl_particles.c: In function `R_DrawParticle_TransparentCallback':
cl_particles.c:2163: error: structure has no member named `blendmode'
cl_particles.c:2209: error: structure has no member named `orientation'
cl_particles.c:2290: error: structure has no member named `blendmode'
cl_particles.c:2292: error: structure has no member named `blendmode'
cl_particles.c:2317: error: structure has no member named `blendmode'
cl_particles.c: In function `R_DrawParticles':
cl_particles.c:2376: error: structure has no member named `orientation'
S:\NEXUIZ~3\NEXUIZ~1\unxutils\usr\local\wbin\make.EXE[3]: *** [cl_particles.o] Error 1
S:\NEXUIZ~3\NEXUIZ~1\unxutils\usr\local\wbin\make.EXE[3]: Leaving directory `S:/NEXUIZ~3/NEXUIZ~1/darkplaces'
S:\NEXUIZ~3\NEXUIZ~1\unxutils\usr\local\wbin\make.EXE[2]: *** [bin-debug] Error 2
S:\NEXUIZ~3\NEXUIZ~1\unxutils\usr\local\wbin\make.EXE[2]: Leaving directory `S:/NEXUIZ~3/NEXUIZ~1/darkplaces'
make[1]: *** [sv-debug] Error 2
make[1]: Leaving directory `S:/NEXUIZ~3/NEXUIZ~1/darkplaces'
make: *** [debug] Error 2
An error has occurred (see above).


I don't really have an idea what this message wants to tell me. But it seems to be a different Problem now. Anybody help me out?

Any coherence to the fact that I changed from a Geforce to a Radeon today? :?
uncomfortable
random
mean
embarrassing
limited
Urmel
Forum addon
 
Posts: 1744
Joined: Fri Mar 03, 2006 10:06 am
Location: Offline

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron