Pages: 1 2 [3]
|
|
|
Author
|
Topic: Ship Editing Help (Read 14429 times)
|
|
|
wojtx
Zebranky food
Offline
Posts: 7
|
Ok, thanks. It worked but I have something different I want to install cscope ( version 15.5 - which was on their homepage ) and this is what I get
checking regex.h usability... no checking regex.h presence... no checking for regex.h... no configure: error: necessary header <regex.h> not found
I tried to copy another regex.h file from sc2 but it failed. What am I suppose to do??
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
I don't think cscope compiles or runs under MinGW/MSYS. Use Cygwin or a proper Unix-like system or forget about cscope.
|
|
|
Logged
|
|
|
|
wojtx
Zebranky food
Offline
Posts: 7
|
I see. I have a stupid little question. I should place sc2 in a different folder if I want to edit it ( ships mainly ), right? But what about the content and source, Should they be in the packages folder, and should they be unpacked??
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Where you put the source really doesn't matter, and you can use command-line options to specify where the content is, so it really doesn't matter where you put that either. You don't need to unpack the content unless you want to edit it.
|
|
|
Logged
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
Sorry for bringing up such an old thread, versions have changed and so forth...but... I followed instructions and got everything working somewhat till this:
CC obj/debug/src/sc2code/libs/network/wspiapiwrap.c.o src/sc2code/libs/network/wspiapiwrap.c:32:28: wspiapi.h: No such file or directory make: *** [obj/debug/src/sc2code/libs/network/wspiapiwrap.c.o] Error 1
I doublechecked and both files are there, for some reason it just doesn't want to compile?
|
|
|
Logged
|
|
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
Thanks! However, now I get this:
LINK uqm-debug obj/debug/src/sc2code/melee.c.o(.text+0x3adb): In function `StartMeleeButtonPressed': c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/melee.c:2180: undefined reference to `DrawMeleeStatusMessage' obj/debug/src/sc2code/melee.c.o(.text+0x3b3a):c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/melee.c:2190: undefined reference to `DrawMeleeStatusMessage' obj/debug/src/sc2code/libs/uio/match.c.o(.text+0x770): In function `match_prepareRegex': c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/libs/uio/match.c:469: undefined reference to `regcomp' obj/debug/src/sc2code/libs/uio/match.c.o(.text+0x7f9): In function `match_matchRegex': c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/libs/uio/match.c:490: undefined reference to `regexec' obj/debug/src/sc2code/libs/uio/match.c.o(.text+0x86d): In function `match_errorStringRegex': c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/libs/uio/match.c:509: undefined reference to `regerror' obj/debug/src/sc2code/libs/uio/match.c.o(.text+0x89e):c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/libs/uio/match.c:512: undefined reference to `regerror' obj/debug/src/sc2code/libs/uio/match.c.o(.text+0x8bd): In function `match_freeRegex': c:/uqmedit/uqm-0.6.2/sc2/src/sc2code/libs/uio/match.c:521: undefined reference to `regfree' make: *** [uqm-debug] Error 1
|
|
|
Logged
|
|
|
|
meep-eep
Forum Admin
Enlightened
Offline
Posts: 2847
|
Hmm... the first line I thought we fixed, but apparently, it was put in in the CVS repository after we moved to SVN. It's fixed in SVN now. So you'll have to use the SVN version (snapshots here).
As for the regex errors, it seems to think you have regex, while you haven't really. (You have the headers, but not the code itself). Have you been moving regex headers around, like wojtx in this thread? You shouldn't. If you get rid of that header, and rerun "./build.sh uqm config", it will see that you don't have regex, and use the included one.
|
|
|
Logged
|
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
|
|
|
Jormasteri
Zebranky food
Offline
Posts: 10
|
Thank you a lot, again Though it gave me some warnings I did get it compiled, now to change the effectiviness of 'point-defence system'... Is it in sis.c?
|
|
|
Logged
|
|
|
|
|
Razorback
Frungy champion
Offline
Gender:
Posts: 99
We are all *happy campers*
|
This is a very interesting conversation. I've always been curious about the nuts and bolts of how the various starship values were determined. Maye I'll do some digging myself and see if I can figure out some things like just what each VUX limpet does in terms of ship effects. I do have a question about all this editing, though. What would happen if an unedited install and an edited install fought in melee?
|
|
|
Logged
|
|
|
|
|
Pages: 1 2 [3]
|
|
|
|
|