1
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: November 04, 2013, 05:31:36 pm »
no longer maintained
New board
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Reading makefile `build/maps.mk' (search path) (no ~ expansion)...
/bin/sh: - : invalid option
./configure --prefix= --enable-sse --enable-release --enable-static --target-os=mingw32 && make ufomodel Q= -B -j4
Could not get the mxe path from /home/Administrator/.mxe.settings
use c compiler: gcc
use c++ compiler: g++
....
Build ufo2map
Build ufoded
Build ufomodel
Build uforadiant
Build ufoslicer
+ make ufomodel Q= -B -j4
restarting configure for mingw32
./configure
Could not get the mxe path from /home/Administrator/.mxe.settings
use c compiler: "gcc"
use c++ compiler: "g++"
Could not find the c compiler: "gcc"
make: *** [mingw32-config.h] Error 1
+ exit 2
....
$(TARGET_OS)-config.h: configure
@echo "restarting configure for $(TARGET_OS)"
$(Q)$(CONFIGURE_PREFIX) ./configure $(CONFIGURE_OPTIONS)
$(Q)$(MAKE)
....
#ifdef __WIN64__
#include "mingw64_64.h"
#elif defined __WIN32__
- #include "mingw64-config.h"
+ #include "mingw32-config.h"
#endif
because of + make ufomodel Q= -B -j4
mkdir -p release-mingw32-i386/ufomodel/tools/ufomodel/ release-mingw32-i386/ufomodel/tools/ufomodel/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/shared/ release-mingw32-i386/ufomodel/common/ release-mingw32-i386/ufomodel/common/ release-mingw32-i386/ufomodel/common/ release-mingw32-i386/ufomodel/common/ release-mingw32-i386/ufomodel/common/ release-mingw32-i386/ufomodel/client/renderer/ release-mingw32-i386/ufomodel/client/renderer/ release-mingw32-i386/ufomodel/client/renderer/ release-mingw32-i386/ufomodel/client/renderer/ release-mingw32-i386/ufomodel/client/renderer/ release-mingw32-i386/ufomodel/ports/windows/
touch release-mingw32-i386/ufomodel/.dirs
===> CXX [ufomodel] src/tools/ufomodel/ufomodel.cpp
"g++" -msse -mfpmath=sse -mtune=k8-sse3 -O1 -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-saves -fcrossjumping -fcse-skip-blocks -fdelete-null-pointer-checks -fexpensive-optimizations -fgcse-lm -foptimize-sibling-calls -fpeephole2 -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-insns2 -fstrict-overflow -ftree-pre -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -msse4a -mfpmath=sse -mieee-fp -fno-strict-aliasing --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -DNDEBUG -DSHARED_EXT=\"dll\" -DGETTEXT_STATIC -DWINVER=0x501 -ffast-math -D_FORTIFY_SOURCE=2 -DNDEBUG -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -Wnon-virtual-dtor -DCOMPILE_MAP -D_GNU_SOURCE=1 -Dmain=SDL_main -IF:/UFOAIwin32BUILDenv/MinGW/include/SDL -c -o release-mingw32-i386/ufomodel/tools/ufomodel/ufomodel.cpp.o src/tools/ufomodel/ufomodel.cpp -MP -MD -MT release-mingw32-i386/ufomodel/tools/ufomodel/ufomodel.cpp.o
===> CXX [ufomodel] src/tools/ufomodel/md2.cpp
"g++" -msse -mfpmath=sse -mtune=k8-sse3 -O1 -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-saves -fcrossjumping -fcse-skip-blocks -fdelete-null-pointer-checks -fexpensive-optimizations -fgcse-lm -foptimize-sibling-calls -fpeephole2 -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-insns2 -fstrict-overflow -ftree-pre -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -msse4a -mfpmath=sse -mieee-fp -fno-strict-aliasing --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -DNDEBUG -DSHARED_EXT=\"dll\" -DGETTEXT_STATIC -DWINVER=0x501 -ffast-math -D_FORTIFY_SOURCE=2 -DNDEBUG -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -Wnon-virtual-dtor -DCOMPILE_MAP -D_GNU_SOURCE=1 -Dmain=SDL_main -IF:/UFOAIwin32BUILDenv/MinGW/include/SDL -c -o release-mingw32-i386/ufomodel/tools/ufomodel/md2.cpp.o src/tools/ufomodel/md2.cpp -MP -MD -MT release-mingw32-i386/ufomodel/tools/ufomodel/md2.cpp.o
===> CXX [ufomodel] src/shared/mathlib.cpp
"g++" -msse -mfpmath=sse -mtune=k8-sse3 -O1 -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-saves -fcrossjumping -fcse-skip-blocks -fdelete-null-pointer-checks -fexpensive-optimizations -fgcse-lm -foptimize-sibling-calls -fpeephole2 -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-insns2 -fstrict-overflow -ftree-pre -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -msse4a -mfpmath=sse -mieee-fp -fno-strict-aliasing --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -DNDEBUG -DSHARED_EXT=\"dll\" -DGETTEXT_STATIC -DWINVER=0x501 -ffast-math -D_FORTIFY_SOURCE=2 -DNDEBUG -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -Wnon-virtual-dtor -DCOMPILE_MAP -D_GNU_SOURCE=1 -Dmain=SDL_main -IF:/UFOAIwin32BUILDenv/MinGW/include/SDL -c -o release-mingw32-i386/ufomodel/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-mingw32-i386/ufomodel/shared/mathlib.cpp.o
===> CXX [ufomodel] src/shared/aabb.cpp
"g++" -msse -mfpmath=sse -mtune=k8-sse3 -O1 -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-saves -fcrossjumping -fcse-skip-blocks -fdelete-null-pointer-checks -fexpensive-optimizations -fgcse-lm -foptimize-sibling-calls -fpeephole2 -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-insns2 -fstrict-overflow -ftree-pre -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -msse4a -mfpmath=sse -mieee-fp -fno-strict-aliasing --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -DNDEBUG -DSHARED_EXT=\"dll\" -DGETTEXT_STATIC -DWINVER=0x501 -ffast-math -D_FORTIFY_SOURCE=2 -DNDEBUG -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -Wnon-virtual-dtor -DCOMPILE_MAP -D_GNU_SOURCE=1 -Dmain=SDL_main -IF:/UFOAIwin32BUILDenv/MinGW/include/SDL -c -o release-mingw32-i386/ufomodel/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-mingw32-i386/ufomodel/shared/aabb.cpp.o
In file included from src/tools/ufomodel/../../shared/shared.h:32:0,
from src/tools/ufomodel/md2.cpp:4:
src/tools/ufomodel/../../shared/../../config.h:15:28: fatal error: mingw64-config.h: No such file or directory
compilation terminated.
make: *** [release-mingw32-i386/ufomodel/tools/ufomodel/md2.cpp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/tools/ufomodel/../../shared/shared.h:32:0,
from src/tools/ufomodel/ufomodel.cpp:28:
src/tools/ufomodel/../../shared/../../config.h:15:28: fatal error: mingw64-config.h: No such file or directory
compilation terminated.
make: *** [release-mingw32-i386/ufomodel/tools/ufomodel/ufomodel.cpp.o] Error 1
In file included from src/shared/../common/../shared/shared.h:32:0,
from src/shared/../common/common.h:30,
from src/shared/mathlib.cpp:27:
src/shared/../common/../shared/../../config.h:15:28: fatal error: mingw64-config.h: No such file or directory
compilation terminated.
make: *** [release-mingw32-i386/ufomodel/shared/mathlib.cpp.o] Error 1
+ exit 2
$ export LDFLAGS='-s' ; export CFLAGS='-mtune=core2 -O1 -fthread-jumps -falign-
functions -falign-jumps -falign-loops -falign-labels -fcaller-saves -fcrossjump
ing -fcse-skip-blocks -fdelete-null-pointer-checks -fexpensive-optimizations -f
gcse-lm -foptimize-sibling-calls -fpeephole2 -fregmove -freorder-blocks -freord
er-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-
insns2 -fstrict-overflow -ftree-pre -ftree-vrp -finline-functions -funswitch-lo
ops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -mssse3 -mfpmat
h=sse -mieee-fp -fno-strict-aliasing --param l1-cache-line-size=32 --param l1-c
ache-size=32 --param l2-cache-size=4096' ; cd /ufoai && ./configure --prefix= -
-enable-sse --enable-release --enable-static --target-os=mingw32 && make ufo2ma
p Q= -B -j2 || exit 1 ; exit 0
Could not get the mxe path from /home/user/.mxe.settings
use c compiler: gcc
use c++ compiler: g++
Enable static linking
Enable Streaming SIMD Extensions
Compile for mingw32
Compile for i386
Compile in release mode
Found cc gcc
Found cxx g++
Using bindir /bin/
Using datadir /games/ufo/
Using libdir /lib/
Build modules:
Build cgame-campaign
Build cgame-multiplayer
Build cgame-skirmish
Build cgame-staticcampaign
Build game
Build memory
Build testall
Build ufo
Build ufo2map
Build ufoded
Build ufomodel
Build uforadiant
Build ufoslicer
Enable hard linked cgame
Use signal handler
Setting custom data directory
Setting custom library directory
Found zip from zip
Could not find python from python
Could not find doxygen from doxygen
Found xvid.h
Found theora/theora.h
Found execinfo.h
Found bfd.h
Found sys/utsname.h
Found link.h
Found jpeglib.h
Found zlib.h
Found png.h
Found CUnit/Basic.h
Found mxml.h
Found SDL.h
Found SDL_mixer.h
Found SDL_ttf.h
Found picomodel.h
Found gtk/gtk.h
Found gtksourceview/gtksourceview.h
Found libxml/parser.h
Found AL/al.h
Found gtk/gtkglwidget.h
/bin/sh: - : invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
restarting configure for mingw32
./configure
src/client/ui/node/ui_node_model.cpp: needs update
src/game/g_spawn.cpp: needs update
src/server/sv_rma.cpp: needs update
src/server/sv_rma.h: needs update
src/tests/test_mapdef.cpp: needs update
src/tests/test_rma.cpp: needs update
refusing to pull with rebase: your working tree is not up-to-date
Does not solve problem since not link autobuild system?