Post subject: Compile help
Joined: 7/26/2008
Posts: 4
Location: Japan
Linking... Generating code Project : error PRJ0002 : Error result -1073741819 returned from 'C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\link.exe'. Creating browse information file...
Error when compile svn13. Compile with vc2008.
Post subject: I, too, need help
Former player
Joined: 2/19/2007
Posts: 424
Location: UK
Seeing this topic, I am reminded of my own problems with compiling snes9x on my laptop. It is a 64 bit machine, which is the source of the problems. Snes9x tries to store pointers in ints, but on my machine, a pointer is twice as big as an int, so that doesn't work. To avoid having to rewrite the program (normally I guess replacing int with long where the problems appear would work, but in the case of an emulator, I guess it might rely on the size being 4 somehow, so I'd rather not do that), I tried compiling in 32-bit mode, with the -m32 flag to g++. This almost works, but due to a missing 32-bit compatibility library (libXext), which I can't seem to find. So, does anyone either know if changing the appropriate ints to longs should cause problems, or have a precompiled version of snes9x (linux or windows) with a command line argument for playing an smv upon starting? whoracle: Your error is very cryptic. It is a link error, i.e. one which happens after the compilation step, where most of the work is done, but the linker is not very helpful with its error messages.