I'm a bit confused here. How exactly does one go about compiling Voxlap in GCC? Is it even possible?
Awesoken at
Re: Building Voxlap in Linux/BSD
The Voxlap code has not been ported to GCC. It can be done, but not without serious effort. Here are some of the bigger tasks that would be required: * Replace WINMAIN.CPP with SDLMAIN.C. Get SDLMAIN here. * Convert V5.ASM to something that NASM will compile. You can study JonoF's Build port for hints on syntax. * Convert the many blocks of assembler which are embedded in VOXLAP5.C, etc.. to GCC style syntax. * Write a makefile. Look at the top of GAME.C and VOXED.C for hints on what links with what. * Fix the hundreds of compiler errors that are likely to appear.
cloroxcowboy at
I'm afraid im not l33t enough to do all that, but hopefully someone who is more into Unix can port it someday.
jeffz at
cloroxcowboy said at
I'm afraid im not l33t enough to do all that, but hopefully someone who is more into Unix can port it someday.
Making Voxlap compile under gcc has nothing to do with Unix really. It's just a difference in compilers. I'm taking a shot at porting it to gcc, I'll post the results soon.
jeffz at
jeffz said at
cloroxcowboy said at
I'm afraid im not l33t enough to do all that, but hopefully someone who is more into Unix can port it someday.
Making Voxlap compile under gcc has nothing to do with Unix really. It's just a difference in compilers. I'm taking a shot at porting it to gcc, I'll post the results soon.
After a little hacking I see now that it's harder than I anticipated, but it still looks possible.
I've fixed a the compiler errors and started working on a program to rejig all the msvc inline assembly to gcc assembly, using the .intel_syntax and .att_syntax directives, what I didn't know before starting was that you need to specify the input and outputs with a special directive after the block of assembly to calculate the offsets to the parameters automatically, otherwise the lexical binding in the assembly isn't going to mean anything. I'm interested to see if I can work this out automatically. Time allowing, we'll see what happens.
Rohtie at
Building voxlap
Is there a tutorial of some sorts to build voxlap with vc express 2005 or others? I've been trying alot, but failed everytime >_>
Awesoken at
Re: Building voxlap
I wrote some hints at the top of README.TXT, which is included with the source code.