I'm hoping maybe Meep-Eep or one of the other wise individuals around here could help me with a UQM compiling/running issue.... (latest version of UQM)
- Running on Windows 7 64-Bit - Compiling via Visual C++ Express 2008
I'm running into two different (but not concurrent) errors and it *seems* to be somehow related to DLLs and x86 vs. x64.... I *thought* I was doing everything in 64-bit, but now I'm not so sure.
Error #1 (occurs when I have 64-bit versions of SDL.dll and SDL_image.dll linked in my build/libraries)
- UQM won't compile. I get 110 errors:
1> Creating library ../../uqmdebug.lib and object ../../uqmdebug.exp 1>alarm.obj : error LNK2019: unresolved external symbol _SDL_GetTicks referenced in function _AlarmTime_nowMS 1>pure.obj : error LNK2001: unresolved external symbol _SDL_GetTicks 1>sdltime.obj : error LNK2001: unresolved external symbol _SDL_GetTicks 1>input.obj : error LNK2001: unresolved external symbol _SDL_GetError 1>audiodrv_sdl.obj : error LNK2019: unresolved external symbol _SDL_GetError referenced in function _mixSDL_Init 1>canvas.obj : error LNK2001: unresolved external symbol _SDL_GetError 1>opengl.obj : error LNK2001: unresolved external symbol _SDL_GetError 1>pure.obj : error LNK2001: unresolved external symbol _SDL_GetError 1>sdl_common.obj : error LNK2001: unresolved external symbol _SDL_GetError 1>canvas.obj : error LNK2019: unresolved external symbol _SDL_UnlockSurface referenced in function _TFB_DrawCanvas_Line 1>opengl.obj : error LNK2001: unresolved external symbol _SDL_UnlockSurface 1>pure.obj : error LNK2001: unresolved external symbol _SDL_UnlockSurface 1>rotozoom.obj : error LNK2001: unresolved external symbol _SDL_UnlockSurface 1>canvas.obj : error LNK2019: unresolved external symbol _SDL_LockSurface referenced in function _TFB_DrawCanvas_Line
........ you get the idea. It's a crap load of the above.
Error #2 (occurs if I switch over to 32-bit versions of the SDL and SDL_image DLLs)
- UQM will compile just fine, but when I attempt to run the executable, I get an error that simply states: "The program was unable to start correctly (0xc000007b) click OK to close the application." Some research indicates that this error is related to compatibility between 32 and 64 bit DLLs.
If anyone has any thoughts on why this may be occurring (and of course what I could do to fix it) I'd be hugely appreciative! And obviously I can try to provide more information as needed. I'm not even 100% sure my issue has much to do with the SDL files, but it's the only thing I'm able to figure right now.
So, I actually resolved this on my own! (Turns out I'm just not very good at, uh, computering.) Sorry all! I evidently don't have permissions to delete the topic.