-
Posts
10 -
Joined
-
Last visited
Posts posted by hausundboot
-
-
../../../source/scriptinterface/ScriptTypes.h:92:2: error: #error Your compiler is trying to use an incorrect version of the SpiderMonkey library.
../../../source/scriptinterface/ScriptTypes.h:93:2: error: #error The only version that works is the one in the libraries/spidermonkey-tip/ directory,
../../../source/scriptinterface/ScriptTypes.h:94:2: error: #error and it will not work with a typical system-installed version.
../../../source/scriptinterface/ScriptTypes.h:95:2: error: #error Make sure you have got all the right files and include paths.
SpiderMonkey is Mozilla's JavaScript engine written in C/C++. It is used in various Mozilla products, including Firefox, and is available under MPL/GPL/LGPL tri-license.
Do you have Firefox installed, and wich Version?
-
Do you have Premmission? Are you modified a file with root or something else?
Look:
- Linking simulation2
- /usr/bin/ranlib: can't set the modifiy times in output file: ../../../binaries/system/libsimulation2.a (Operation not permitted)
You have a premmisson Problems look your Full output!
Do you compiled one time with root in past?
-
Fixed, Thank you.
-
I started match Saharan Oasis.
At the begin this error message appear:
ERROR: JavaScript error: simulation/ai/qbot/defence.js line 2
ReferenceError: Config is not defined
Defence()@simulation/ai/qbot/defence.js:2
()@simulation/ai/qbot/military.js:25
QBotAI([object Object])@simulation/ai/qbot/qbot.js:7
@:0
ERROR: JavaScript error: simulation/ai/qbot/defence.js line 2
ReferenceError: Config is not defined
Defence()@simulation/ai/qbot/defence.js:2
()@simulation/ai/qbot/military.js:25
QBotAI([object Object])@simulation/ai/qbot/qbot.js:7
@:0
ERROR: JavaScript error: simulation/ai/qbot/defence.js line 2
ReferenceError: Config is not defined
Defence()@simulation/ai/qbot/defence.js:2
()@simulation/ai/qbot/military.js:25
QBotAI([object Object])@simulation/ai/qbot/qbot.js:7
@:0
I started other matches and comes also error message, but few lines.
ERROR: JavaScript error: simulation/ai/qbot/defence.js line 2
ReferenceError: Config is not defined
Defence()@simulation/ai/qbot/defence.js:2
()@simulation/ai/qbot/military.js:25
QBotAI([object Object])@simulation/ai/qbot/qbot.js:7
@:0
Tried few times.
Revision: 10854
-
Hmm, so it should be computing GCC_VERSION normally and defining NOTHROW_DECLARE normally. (It works fine for me with GCC 4.5 on Gentoo). I have no idea what's going on
My gcc is sys-devel/gcc-4.5.3-r1
And yours?
-
...
int main(int argc, char* argv[])
{
printf("### major=%d minor=%d\n", __GNUC__ + 0, __GNUC_MINOR__ + 0);
EarlyInit(); // must come at beginning of main
RunGameOrAtlas(argc, const_cast<const char**>(argv));
// Shut down profiler initialised by EarlyInit
g_Profiler2.Shutdown();
return EXIT_SUCCESS;}
....
$ make config=release
==== Building mocks_real (release) ====
==== Building network (release) ====
==== Building simulation2 (release) ====
==== Building scriptinterface (release) ====
==== Building engine (release) ====
==== Building graphics (release) ====
==== Building atlas (release) ====
==== Building gui (release) ====
==== Building lowlevel (release) ====
==== Building mongoose (release) ====
==== Building pyrogenesis (release) ====
main.cpp
Linking pyrogenesis
==== Building mocks_test (release) ====
==== Building AtlasObject (release) ====
==== Building AtlasScript (release) ====
==== Building AtlasUI (release) ====
==== Building ActorEditor (release) ====
==== Building Collada (release) ====
==== Building test (release) ====
$ ../../../binaries/system/test
Running 255 tests...............................................................................................................................................................................................................................................................OK!
$ ../../../binaries/system/pyrogenesis
### major=4 minor=5
Cache: 500 (total: 3939) MiB
TIMER| InitVfs: 27.0326 ms
TIMER| InitScripting: 1.28702 ms
TIMER| CONFIG_Init: 26.5266 ms
TIMER| RunHardwareDetection: 41.8641 ms
TIMER| write_sys_info: 16.4792 ms
TIMER| InitRenderer: 11.5044 ms
TIMER| ps_console: 22.1736 ms
TIMER| ps_lang_hotkeys: 1.12226 ms
TIMER| common/setup.xml: 8.9549 ms
TIMER| common/styles.xml: 238.24 us
TIMER| common/sprite1.xml: 10.3608 ms
TIMER| common/init.xml: 23.2629 ms
TIMER| common/common_sprites.xml: 2.09208 ms
TIMER| common/common_styles.xml: 440.703 us
TIMER| pregame/sprites.xml: 927.312 us
TIMER| pregame/styles.xml: 192.917 us
TIMER| pregame/mainmenu.xml: 15.1219 ms
TIMER| common/global.xml: 571.183 us
SND| alc_init: success, using ALSA Default
TIMER| common/setup.xml: 638.184 us
TIMER| common/styles.xml: 41.942 us
TIMER| common/sprite1.xml: 1.43243 ms
TIMER| common/common_sprites.xml: 1.65162 ms
TIMER| common/common_styles.xml: 211.593 us
TIMER| msgbox/msgbox.xml: 8.59055 ms
TIMER| shutdown actor stuff: 1.448 us
TIMER| shutdown TexMan: 1.328 us
TIMER| shutdown Renderer: 2.10235 ms
TIMER| shutdown SDL: 39.8054 ms
TIMER| shutdown UserReporter: 288.363 us
TIMER| shutdown ScriptingHost: 2.09395 ms
TIMER| shutdown ConfigDB: 0.399 us
TIMER| resource modules: 26.6373 ms
TIMER TOTALS (9 clients)
-----------------------------------------------------
xml_validation: 2853.42 kc (12x)
tc_ShaderValidation: 5829.96 kc (12x)
tc_linkProgram: 0 c (0x)
tc_compileShader: 0 c (0x)
tc_transform: 96.981 kc (3x)
tc_plain_transform: 30.167 kc (3x)
tc_pool_alloc: 1637.45 kc (249x)
tc_dds_transform: 52.645 kc (9x)
tc_png_decode: 25.1594 Mc (8x)
-----------------------------------------------------
TIMER| shutdown misc: 160.584 us
Thank you.
-
I changed in "lib/code_annotation.h"
#if GCC_VERSION >= 303 to #if GCC_VERSION <= 303
This makes non-true then the defines would not set from the Precompiler.
The Result is its compiling. But i think its not good to do that. Please Fix this Problem.
The Game starts and is playable, no crash. In Map Editor i have some little slow down speed in some case.
One time i must send a SIGKILL to the editor while hanging.
-
i think i checked all out:
$ svn co http://svn.wildfireg...ublic/ps/trunk/ 0ad
Ausgecheckt, Revision 10850.
$ cd 0ad
$ svn up
Revision 10850.
Wath about this:
-
I do this:
svn co http://svn.wildfireg...ublic/ps/trunk/ 0ad
cd 0ad/build/workspaces
./update-workspaces.sh
cd gcc
make config=release
Result:
==== Building mocks_real (release) ====
Creating obj/mocks_real_Release
mocks_real.cpp
Linking mocks_real
==== Building network (release) ====
Creating obj/network_Release
precompiled.h
NetSession.cpp
NetHost.cpp
NetMessageSim.cpp
NetFileTransfer.cpp
NetTurnManager.cpp
NetServer.cpp
NetMessage.cpp
fsm.cpp
NetStats.cpp
NetClient.cpp
precompiled.cpp
Linking network
==== Building simulation2 (release) ====
Creating obj/simulation2_Release
precompiled.h
Simulation2.cpp
In file included from ../../../source/lib/file/io/io.h:39:0,
from ../../../source/ps/Filesystem.h:22,
from ../../../source/ps/FileIo.h:35,
from ../../../source/graphics/MapReader.h:25,
from ../../../source/simulation2/Simulation2.cpp:30:
../../../source/lib/allocators/unique_range.h:46:9: Fehler: »NOTHROW_DECL ARE« bezeichnet keinen Typ
../../../source/lib/allocators/unique_range.h: In Elementfunktion »void U niqueRange::Delete()«:
../../../source/lib/allocators/unique_range.h:166:54: Fehler: »CallUnique RangeDeleter« wurde in diesem Gültigkeitsbereich nicht definiert
make[1]: *** [obj/simulation2_Release/Simulation2.o] Fehler 1 make: *** [simulation2] Fehler 2
I cleaned up and do it again, the same result.
Iam on 64bit Mashine using Gentoo.
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.0.3
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.1.4-r3
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
$svn info
Pfad: .
URL: http://svn.wildfireg...public/ps/trunk
Basis des Projektarchivs: http://svn.wildfiregames.com/public
UUID des Projektarchivs: 3db68df2-c116-0410-a063-a993310a9797
Revision: 10850
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: michael
Letzte geänderte Rev: 10850
Letztes Änderungsdatum: 2012-01-02 02:22:43 +0100 (Mo, 02. Jan 2012)
First i compiled it with -j5 but at the end i didnt find the test and pyrogenesis executable, so next time didnt used the -j5 and see clearly the error.
Thank you.
[FIXED] More Build Errors on OS X 10.7.2
in Bug reports
Posted · Edited by hausundboot
No, dont delete it. You need it for compatibility check for website.
Do this:
Download
http://ftp.mozilla.o...85-1.0.0.tar.gz
Build and install it.
Build instruction
And then, recompile with make clean && make config=release; without -j3