ive found some time to look into make files ...
.)/bin/sh: - : invalid option
Is caused (i guess) by maps.mk
if $PROGRAM_PYTHON is empty
Reading makefile `build/maps.mk' (search path) (no ~ expansion)...
/bin/sh: - : invalid option
.)i was unable to build ufomodel
i had to remove the most annoying reconfigure from within make
because of
./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)
....
.)and replace ...
#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