Technical support > Mac
Trouble getting 2.3 development to compile -- What do I do with the maps?
keybounce:
I have a workaround, but I do not know if it is correct:
curl http://voxel.dl.sourceforge.net/sourceforge/ufoai/ufoai-2.2-maps.zip > ufoai-2.2-maps.zip
unzip ufoai-2.2-maps.zip
cp 0maps.pk3 base
unzip -d base -u base/0maps.pk3
make pk3
That "-u" option on unzip -- it tells unzip that any map found on the disk should be left alone. I have no idea if that is correct or not -- supposedly, the mac cannot generate working maps, yet it does.
In any event, it's letting me move forward. No clue if the result will be correct or not. Developer help please?
keybounce:
Foo.
Kleiman-ibook:installer michael$ cd src/ports/macosx/installer/
Kleiman-ibook:installer michael$ make TARGET_CPU=universal
cp -v ../../../../base/0pics.pk3 UFOAI.app/base/0pics.pk3
../../../../base/0pics.pk3 -> UFOAI.app/base/0pics.pk3
cp -v ../../../../base/0models.pk3 UFOAI.app/base/0models.pk3
../../../../base/0models.pk3 -> UFOAI.app/base/0models.pk3
cp -v ../../../../base/0snd.pk3 UFOAI.app/base/0snd.pk3
../../../../base/0snd.pk3 -> UFOAI.app/base/0snd.pk3
cp -v ../../../../base/0music.pk3 UFOAI.app/base/0music.pk3
../../../../base/0music.pk3 -> UFOAI.app/base/0music.pk3
cp -v ../../../../base/0maps.pk3 UFOAI.app/base/0maps.pk3
../../../../base/0maps.pk3 -> UFOAI.app/base/0maps.pk3
cp -v ../../../../base/0media.pk3 UFOAI.app/base/0media.pk3
../../../../base/0media.pk3 -> UFOAI.app/base/0media.pk3
cp -v ../../../../base/0ufos.pk3 UFOAI.app/base/0ufos.pk3
../../../../base/0ufos.pk3 -> UFOAI.app/base/0ufos.pk3
cp -v ../../../../base/0materials.pk3 UFOAI.app/base/0materials.pk3
../../../../base/0materials.pk3 -> UFOAI.app/base/0materials.pk3
cp -v ../../../../base/0base.pk3 UFOAI.app/base/0base.pk3
../../../../base/0base.pk3 -> UFOAI.app/base/0base.pk3
cp: ../../../../base/i18n/[^.]*: No such file or directory
make: *** [copydata] Error 1
I don't think I can solve that one. Did I "make lang"? Whoops.
But worse: After doing "make lang", it should have redone that language copy, right?
440 translated messages.
msgfmt -v -o radiant/i18n/ru/LC_MESSAGES/uforadiant.mo src/po/uforadiant-ru.po
74 translated messages, 13 fuzzy translations, 367 untranslated messages.
Kleiman-ibook:trunk michael$ cd src/ports/macosx/installer/
Kleiman-ibook:installer michael$ make TARGET_CPU=universal
Installing UFOAI.app/Contents/Libraries/libSDL-1.2.0.dylib...done
Installing UFOAI.app/Contents/Libraries/libpng12.0.dylib...done
Installing UFOAI.app/Contents/Libraries/libjpeg.62.dylib...done
...
Nope! So now I've got an incomplete .app package that I have to blow away and start over. Sheesh.
geever:
Please note that 2.2 maps are not compatible with 2.3.
You can use map-get. For "different ufo2map version" you can say continue in most cases.
The best is compiling them ofc. but that still takes much time.
-geever
keybounce:
Thank you, adjusting compile script now ...
keybounce:
--- Quote from: geever on March 14, 2009, 09:46:20 am ---Please note that 2.2 maps are not compatible with 2.3.
You can use map-get. For "different ufo2map version" you can say continue in most cases.
The best is compiling them ofc. but that still takes much time.
-geever
--- End quote ---
Be aware that the "Compile for Mac" page on the wiki pointed me at those 2.2 maps.
You might want to adjust that.
Also: I thought you said that the mac compiler did not generate compatible maps, and you had to use the precompiled maps.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version