Pages: 1 2 [3] 4
|
|
|
Author
|
Topic: Compiling (Read 9869 times)
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
I'm assuming you're using the official UQM 0.7.0 downloads. uqm-0.7.0-source.tgz does not contain any content; you need at least the base content package uqm-0.7.0-content.uqm. If you've already installed UQM 0.7.0 using e.g. uqm-0.7.0-installer.exe, you can find this content package there.
If you haven't compiled UQM with support for compressed files, you will need to unpack the content packages into the content directory. You should end up with a content directory containing:
- A small file called version
- Default key setting files uqm.key and menu.key
- Content description file uqm.rmp
- A directory called base containing all the actual UQM base content
Alternatively, you could try installing the zlib development files for MinGW and recompiling UQM with support for compressed files.
|
|
|
Logged
|
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
I'm glad that worked out for you. I should try to put together some new instructions for compiling UQM with MinGW some time. This thread should make a nice troubleshooting section.
gcc will happily overwrite files while compiling without any warning. If you recompile, uqm-debug.exe will be overwritten by the final (linking) step.
|
|
|
Logged
|
|
|
|
chenjesuwizard
*Many bubbles*
Offline
Posts: 158
I support Project6014
|
Why not just create a mingw with all the necessary things, and then an UQM file with all the necessary things and create instructions similair to these: How to compile UQM on Windows: 1. Download the version of Mingw and Msys which is specific to UQM (including all dlls and linked files) 2. Download this file: UQM (to place the exe in later) 3. Go to Msys, in the file Mingw, then load it. 4. Load the source code file into the Msys prompt: Cd /c/path to file 5. Type "./build.sh uqm config" press ENTER. 6. Type "./build.sh uqm depend" press ENTER. 7. Type "./build.sh uqm" press ENTER. 8. Once that has finished, go into the source code and take "UQM-Debug.exe" and place it in the UQM that you downloaded earlier. 9. Play "Uqm-debug.exe".
That way, an inexperienced user, like me, can compile easily, with a lot less hassle.
This is what I set up for myself, so that I can remember how to do it (plus the first two steps added now)
|
|
|
Logged
|
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings.
|
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
I'm with chenjesuwizard on this one. Having a premade zip would save so much headache for us few who don't do linux/simular. I'm still using my folder of mingw that I finally got working about 4 months ago. I'm afraid that if I try to update it, I will break something. Which is another side effect of not having a premade zip to download and go. Once I started compiling uqm I was having so much fun tweaking things. But the road to get there was filled with pitfalls, frustration and disappointment.
|
|
« Last Edit: August 26, 2012, 03:58:09 am by Defender »
|
Logged
|
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
sure...
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Who does the Windows release builds for UQM? Michael Martin? At least that's whom Bugzilla sends bug reports about the Windows build to. In any case, it would probably be useful to have the "official" UQM build environment.
Then there's the snapshots. I suspect those are actually cross-compiled on Linux, aren't they? Meep-eep?
|
|
|
Logged
|
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
I was thinking more along the lines of just mingw (recent) folder. I can compile uqm myself but thank you.
|
|
|
Logged
|
|
|
|
Pages: 1 2 [3] 4
|
|
|
|
|