project-navigation
Personal tools

Show Posts

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.


Messages - Muton

Pages: [1] 2 3 ... 34
1
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: November 04, 2013, 05:31:36 pm »
no longer maintained

2
Coding / Re: compile errors
« on: August 15, 2013, 12:29:18 pm »
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
Code: (make debug output) [Select]
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
Code: [Select]
./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
Code: (make) [Select]
....
$(TARGET_OS)-config.h: configure
@echo "restarting configure for $(TARGET_OS)"
$(Q)$(CONFIGURE_PREFIX) ./configure $(CONFIGURE_OPTIONS)
$(Q)$(MAKE)
....

.)and replace ...
Code: (config.h) [Select]
#ifdef __WIN64__
#include "mingw64_64.h"
#elif defined __WIN32__
- #include "mingw64-config.h"
+ #include "mingw32-config.h"
#endif
because of
Code: [Select]
+ 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

3
Coding / Re: compile errors
« on: June 24, 2013, 08:03:13 pm »
you broke make files again

Code: [Select]
$ 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

4
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: June 13, 2013, 05:10:21 pm »
use notepad to open C:\UFOAIwin32BUILDenv\MinGW\bin\WINenvVER
and change the string to 0.3.1

Ive used incremental patches instead of differential ...
fixed it

6
Coding / Re: compile errors
« on: June 01, 2013, 07:39:58 am »
Im having troubles to build ufoai inside Mingw
some changes in the make files causing this
Im able to build 2.4 without any error or warning


My last nightly run sucessfull on 2013.05.27 04:13:29
since than ill get
cd /ufoai_2.5 && make pk3 -B -j2 || exit $? ; exit 0
    /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
    /bin/sh: -r: command not found
    make: *** [base/0pics.pk3] Error 1
    logout


Even more strange is this, but i can see that error even since 2013.05.12
(got no older logs anymore)
/bin/sh: - : invalid option





and this is not true
    Found zip
>>>    Could not find python
    Could not find doxygen
    Found xvid.h
    Found theora/theora.h
    Could not find execinfo.h
    Found bfd.h
    Could not find sys/utsname.h
    Could not find link.h
    Found CUnit/Basic.h
    Could not find mxml.h
    Could not find picomodel.h
    Found gtk/gtk.h
    Found gtksourceview/gtksourceview.h


which python
/d/UFOAIwin32BUILDenv/MinGW/Python/Python27/python.exe


Ive attached the whole build log ....

8
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: November 20, 2012, 05:20:54 pm »
You should take this git error seriously
git denies to pull
and so your master is not up2date

You need to fix this git error
Code: [Select]
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

btw.
trash TourtoiseGIT


run ?:\UFOAIwin32BUILDenv\MinGW\msys.bat and (careful *inux shell)
cmd /c "start %WD%bash --login -i"
git wont return all output into a minitty console, its better to use sh instead
cd /ufoai
git fsck
git reset --hard
git fetch
git pull --rebase

9
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: November 19, 2012, 05:39:52 pm »
Those online-maps are from the master branch (2.5)
if you compile 2.4 its highly likely that you need to compile the maps on your own


10
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: November 17, 2012, 07:33:31 am »
Poor AV programs always trigger a false positive if they encounter Autoit

Because of that path
C:\Documents and Settings\Administrator.EXPERIEN-F6A02D\ufoai
i try to subst this path to a drive
but i wasnt able to find a free slot.
The source cannot be compiled with that path


http://ufoai.org/wiki/MinGW_Win32_(guided_with_GUI)#First_we_need_MinGW_and_tools


11
Windows / Re: Auto Binaries
« on: November 16, 2012, 05:17:35 pm »
Does not solve problem since not link autobuild system?

Why is this called a nightly build
and why is there an update utility?

13
Windows / Re: Nightly Builds (Full Installer)
« on: November 09, 2012, 06:51:49 pm »
4 those who didn't notice
the main installer is again up2date

14
Windows / Re: Nightly Builds (Full Installer)
« on: November 02, 2012, 05:20:09 pm »
The "problem"  is the old main installer (1.5 years)
and the "frozen" GUI is intentional

btw.
a cumulative update would be much much bigger
Im using a Multilevel incremental strategy

I need to build a new main installer and the problem is fixed

15
Windows / Re: make_UfoAI_win32 (all in one win32 build script)
« on: September 29, 2012, 04:21:43 pm »
There i a glitch with your copy
"H:\UFOAIwin32BUILDenv\MinGW\bin\git.exe" pull --rebase
........
error: unable to unlink old 'src/client/cgame/staticcampaign/cl_game_staticcampaign.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/save/save_staticcampaign.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/scp_missions.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/scp_parse.h' (Permission denied)
error: unable to unlink old 'src/client/cgame/staticcampaign/scp_shared.h' (Permission denied)
error: unable to unlink old 'src/tools/radiant/radiant/ui/textureoverview/TextureOverviewDialog.cpp' (Permission denied)

seams to be a file-ACL error
do you have full permissions on that (sub)folder

be sure that there is no git error:
run
h:\UFOAIwin32BUILDenv\MinGW\msys.bat
cd /ufoai (or wherever your source is)
git fsck
git fetch
git pull --rebase

Pages: [1] 2 3 ... 34