Pages: [1]
|
|
|
Author
|
Topic: Recent compile not working... (Read 2409 times)
|
|
|
|
|
JHGuitarFreak
Enlightened
Offline
Posts: 1374
|
well after the command you gave me, msys spouted at me a different error...
$ ./build.sh uqm LINK uqm obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x289): undefined reference to `regexec' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x313): undefined reference to `regexec' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x429): undefined reference to `regerror' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x44d): undefined reference to `regerror' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x4e4): undefined reference to `regerror' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x50b): undefined reference to `regerror' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x54e): undefined reference to `regfree' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x5cd): undefined reference to `regfree' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x644): undefined reference to `regcomp' obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x70f): undefined reference to `regcomp' collect2: ld returned 1 exit status make: *** [uqm] Error 1 :: Update
Nevermind that last error code, apparently from the last error to this one i acquired a "regex.h" in my includes directory
so i just changed the extension to the regex header, did the config, dependencies, and it compiled perfectly and worked.
nothing like making something work with blind luck and stupidity funny enough, now i have a version of Mingw/MSYS with cygwin intertwined (probably where the regex header came from).
thanks for the help guys, and sorry for not being able to post a more descriptive "fix" other than "copy this here, move this over there, and delete this file"
|
|
« Last Edit: February 10, 2009, 11:46:02 pm by Kohr-Ah Death »
|
Logged
|
The artist once again known as Kohr-Ah Death 213. Get your MegaMod HERE
|
|
|
aquavires
Guest
|
The last guy to have this problem had to remove the OpenGL command-line option from the shortcut to get UQM to run. I'm starting to suspect that there's something wrong with the compilation environment that makes it lose OpenGL support.
So i believe it has something to do with the netplay Hi all,
I encountered the same problem. Not sure if the following info will be of use?
I also used a very new version of MinGW/MSYS1.0.11, and compiled Revision 3117 with reduced features under build.sh.
-= Main menu =- 1. Type of build Debugging build 2. OpenGL graphics support Don't include OpenGL graphics support 3. Sound backend Use MixSDL for sound (internal) 4. Tracker music support Included libmikmod 5. Ogg Vorbis codec No Ogg Vorbis support 6. Network Supermelee support disabled 7. Joystick support disabled 8. Supported file i/o methods Only direct file i/o 9. Graphics/Sound optimizations Only plain C code 10. Thread library SDL-controlled thread library OpenGL and Netplay were both disabled, so it probably wasn't them.
However, UQM ran properly if I fed it ANY command-line argument (at least, I tried -o, -x, -f, -M100).
"uqm-debug.exe" produces the same error, whereas "uqm-debug.exe -o" or "uqm-debug.exe -x" works.
Strange!
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|