Forums
FreeBSD sconscript file - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: FreeBSD sconscript file (/showthread.php?tid=857)

Pages: 1 2


- joevenzon - 02-09-2008

Try changing the line to
Code:
return (char *)NULL;



- nomoo - 02-11-2008

yay, it works! i've changed:

include/binreloc.h
char *br_find_exe_dir (const char *default_dir);
to
void *br_find_exe_dir (const char *default_dir);

src/binreloc.c
char *br_find_exe_dir (const char *default_dir)
to
void *br_find_exe_dir (const char *default_dir)


- nomoo - 02-11-2008

hmm, rather interesting.. it crashed twice and i decided to use gdb:
Code:
[nomoo@pcbsd /usr/home/nomoo/vdrift]$ gdb vdrift
GNU gdb 6.1.1 [FreeBSD]
...
(gdb) r
...
Status: Using GLEW 1.4.0
Fragment shaders enabled
Loaded shader package simple
Loaded shader package full
Loaded shader package full-noshadow
Loaded shader package blurpass
Loaded shader package depthgen
Framebuffer object complete
Framebuffer object complete
Framebuffer object complete
gdb in realloc(): warning: pointer to wrong page
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:1030: internal-error: virtual memory exhausted: can't allocate 21768 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
i'm not familiar with gdb, maybe i'm wrong with something?


- thelusiv - 02-13-2008

Hmmm, strange. I'm not sure what's going on with your gdb. Maybe check for updates or try a newer version?


- nomoo - 02-28-2008

Tried the last svn 1959:

$ uname -a
FreeBSD pcbsd 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #2, it's the latest PCBSD 1.4.1.2

Video driver: 169.12 on 8600GT.

VDrift compiled with no errors, game is stable (worked for about 1 hour). Shaders, shadows, blur were enabled.
PCBSD-russian community will try to make PBI for VDrift.

Thanks for the good project, guys Smile


- thelusiv - 02-28-2008

Great! If you have a package we can post it on our downloads page.