[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - [SOLVED] QuakeSpasm compile problem

[SOLVED] QuakeSpasm compile problem

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

[SOLVED] QuakeSpasm compile problem

Postby toneddu2000 » Tue Jan 07, 2014 10:48 am

Hi guys,
I downloaded QuakeSpasm and compilend on Linux. No problem. On Windows (with Visual Studio 2008) compiling goes smooth without even a warning but when I copy the .exe in the quake folder it yells the error message(translated from italian):
Impossible to start application correctly (0xc000007b). Click on OK button to close the application.

Why?

EDIT: Nevermind. Solved on my own. It was a really stupid move. I didn't realize that quakespasm compile only on 32bit (64bit compile doesn't even run), my quake folder had 64bit dlls instead. I just replaced 64bit dlls with 32bit ones and everything works.
Sorry to have dumped the forum with an useless question
There's anyone who succeded on compiling quakespasm on 64 bit?
Last edited by toneddu2000 on Mon Jan 13, 2014 9:05 am, edited 1 time in total.
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: QuakeSpasm compile problem

Postby frag.machine » Tue Jan 07, 2014 12:47 pm

There's no stupid questions, actually this is the kind of problem a lot of people can find in his/her first attempt to build something from source, so posting the solution will hopefully help someone in the future. Gladly you figured out things by yourself. :)
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: QuakeSpasm compile problem

Postby toneddu2000 » Tue Jan 07, 2014 12:54 pm

Thanks frag.machine! Do you know how to compile QuakeSpasm on 64Bit?
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: QuakeSpasm compile problem

Postby frag.machine » Tue Jan 07, 2014 10:50 pm

TBH never tried. Maybe reckless can help you, since he's maintaining that C::B port (and now fiddling with OpenWatcom, too) ?
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: QuakeSpasm compile problem

Postby revelator » Tue Jan 07, 2014 11:19 pm

Would require lots of porting i guess since 64 bit types != 32 bit types (example 64 bit uses long long integers while 32 bit uses long integers) could probably get it to compile pretty quickly,
but i know from experience that things can and will fuck up :P besides win 7 64 can run 32 bit executables just fine but yeah you need 32 bit dll's then.
A workaround would be to link quakespasm to the static libraries for those dll's that way you can have side by side executables.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: QuakeSpasm compile problem

Postby toneddu2000 » Wed Jan 08, 2014 11:00 am

wow thanks frag.machine and reckless, didn't know that. I'm now curious about how LordHavoc did to enable compiling DP in 32 / 64 bit.
Just last question: in QuakeSpasm Visual Studio solution there's the switch 32/64bit compiling above the main bar. Has it been placed by VS automatically? Is it not intention of the programmer?
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: QuakeSpasm compile problem

Postby revelator » Wed Jan 08, 2014 12:27 pm

msvc can do both types but unless frag has ported the code for x64 compiling it most likely wont work :) but by all means try it, if it wont run you can allways switch back.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: QuakeSpasm compile problem

Postby frag.machine » Wed Jan 08, 2014 1:20 pm

LOL, no reckless I have nothing to do with anything QuakeSpasm. And absolutely zero experience porting anything from 32 to 64 bits :D
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: QuakeSpasm compile problem

Postby toneddu2000 » Wed Jan 08, 2014 3:01 pm

One thing (and I think I'm not the one) I ask on my knees to you quake masters: PLEASE create a thread where there's a list with all the quake engine forks(with links to original sites,if possible) and relative authors/collaborators. Because there some people like me, who played quake in'96 as a kid and then completely forgot the quake development world around quake. I everyday makes on these forums terrible figures (last year I asked Spike what was FTE because I didn't even know it!)
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: QuakeSpasm compile problem

Postby Spirit » Wed Jan 08, 2014 3:25 pm

Yes! http://quakewiki.org/wiki/Category:Engines would be the perfect place! Just start, perfectionism can happen later.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: QuakeSpasm compile problem

Postby toneddu2000 » Wed Jan 08, 2014 4:06 pm

yes, thanks Spirit, something like that
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: QuakeSpasm compile problem

Postby revelator » Wed Jan 08, 2014 6:22 pm

Hehe np frag could not remember who made quakespasm :) not even sure if i would take on that task (still need to get the last buggers out of my MinGW64 port of the BSP editor and its looking grim).
Maybe something for szo to tinker with ;) since hees doing a lot of work with MinGW64.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: QuakeSpasm compile problem

Postby revelator » Wed Jan 08, 2014 6:24 pm

Hmm just checked the quakespasm site and its indeed ported to x64 :) so have a go at it.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: QuakeSpasm compile problem

Postby revelator » Wed Jan 08, 2014 6:48 pm

heres a small present then ;)

64 bit static build of the latest quakespasm enjoy :D
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: QuakeSpasm compile problem

Postby toneddu2000 » Wed Jan 08, 2014 7:03 pm

you are AWESOME!
Thanks a lot reckless!! A great present for the vacations!
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Next

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests