Probleme beim Installieren

Get help with installing, running and configuring Orxonox.

Moderator: PPS-Leaders

Post Reply
gspoo
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 28, 2008 1:58 pm

Probleme beim Installieren

Post by gspoo » Sun Oct 12, 2008 12:01 pm

Also huhu, ich wollt heute Orxonox zuhause einrichten, jedoch scheiterts bei mir am letzten Schritt.

ich hab Windows Mingw.

Bei Kompilieren kommt folgendes

Code: Select all

gspoo@GSPOO-PC /c/msys/1.0/home/trunk
$ ./cm
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: C:/mingw/bin/gcc.exe
-- Check for working C compiler: C:/mingw/bin/gcc.exe -- broken
CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
  The C compiler "C:/mingw/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/msys/1.0/home/trunk/CMakeFiles/CMakeTmp

  

  Run Build Command:C:/msys/1.0/bin/make.exe "cmTryCompileExec/fast"

  /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build

  make[1]: Entering directory `/home/trunk/CMakeFiles/CMakeTmp'

  "/C/Program Files/CMake 2.6/bin/cmake.exe" -E cmake_progress_report
  /C/msys/1.0/home/trunk/CMakeFiles/CMakeTmp/CMakeFiles 1

  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj

  /C/mingw/bin/gcc.exe -o
  CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -c
  /C/msys/1.0/home/trunk/CMakeFiles/CMakeTmp/testCCompiler.c

  gcc.exe: installation problem, cannot exec `cc1': Invalid argument

  make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 1

  make[1]: Leaving directory `/home/trunk/CMakeFiles/CMakeTmp'

  make: *** [cmTryCompileExec/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (PROJECT)


-- Configuring incomplete, errors occurred!
Der Compiler zickt, aber was muss ich da machen? soll ich einfach neu dr?ber installieren?

gz

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Post by x3n » Sun Oct 12, 2008 4:11 pm

Hey,

Ich bin mir nicht ganz sicher, aber es kann sein, dass ich den selben Fehler auch schon hatte.
Bist du bei der Installation von MinGW dem Tutorial gefolgt (http://www.orxonox.net/wiki/WindowsMinGW#MinGW)?
Ich bekam den Fehler damals, als ich eine andere Verison von MinGW installieren wollte. Als ich dann stattdessen die Toolbox-Version (aus dem Tutorial) installiert habe, ging es pl?tzlich.
Es k?nnte aber auch an der Reinstallation von MSys gelegen haben, denn als ich anschliessend nochmals auf die erste Version von MinGW zur?ckgewechselt habe, konnte ich den Fehler nicht reproduzieren...

Also wenn du die MinGW-Version aus dem Tutorial hast, versuche MSys nochmals zu installieren. Bei der Angabe des MinGW-Pfades versuche einmal "\" und einmal "/" als Slash, ich weiss nicht genau ob beides funktioniert.

Zu guter Letzt: Merke dir was du machst, damit wir das Tutorial aktualisieren k?nnen wenn es dann schlussendlich l?uft. ;)
Fabian 'x3n' Landau, Orxonox developer

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Post by x3n » Sun Oct 12, 2008 11:16 pm

Btw, that's what it looks like on my system:

Code: Select all

$ ./cm
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/mingw/bin/gcc.exe
-- Check for working C compiler: C:/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: c:/mingw/bin/g++.exe
-- Check for working CXX compiler: c:/mingw/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
But I don't know why your compiler identification is "unknown"... strange.

Does "gcc --version" return anything?

Code: Select all

$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Fabian 'x3n' Landau, Orxonox developer

gspoo
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 28, 2008 1:58 pm

Post by gspoo » Mon Oct 13, 2008 3:31 pm

Yay reinstalling msys did help!

And since it was the only thing i did, i guess you can somehow add a remark to your tutorial.

oh god:
Now when i compile everything seems to work fine, but when i start orxonox i get thes

Code: Select all

gspoo@GSPOO-PC /c/msys/1.0/home/trunk/bin
$ orxonox.bat
./orxonox.bat: title: command not found
./orxonox.bat: path: command not found
./orxonox.bat: ....libs: command not found
./orxonox.bat: fg: no job control
./orxonox.bat: pause: command not found

Think you dont want to look at this, but posting it cant harm:

Code: Select all

gspoo@GSPOO-PC /c/msys/1.0/home/trunk
$ make
[  0%] Built target cpptcl_orxonox
[  6%] Built target ois_orxonox
[  9%] Built target tinyxml_orxonox
[ 24%] Built target lua_orxonox
[ 26%] Built target tolualib_orxonox
[ 27%] Built target toluagen_orxonox
[ 29%] Built target tolua_orxonox
[ 31%] Built target ceguilua_orxonox
[ 37%] Built target util
[ 59%] Built target core
[ 61%] Built target audio
Scanning dependencies of target network
[ 62%] Building CXX object src/network/CMakeFiles/network.dir/Client.obj
[ 62%] Building CXX object src/network/CMakeFiles/network.dir/ClientConnection.obj
[ 62%] Building CXX object src/network/CMakeFiles/network.dir/ConnectionManager.obj
[ 63%] Building CXX object src/network/CMakeFiles/network.dir/GamestateManager.obj
[ 63%] Building CXX object src/network/CMakeFiles/network.dir/GamestateClient.obj
[ 64%] Building CXX object src/network/CMakeFiles/network.dir/GamestateHandler.obj
[ 65%] Building CXX object src/network/CMakeFiles/network.dir/Server.obj
[ 66%] Building CXX object src/network/CMakeFiles/network.dir/Synchronisable.obj
[ 66%] Building CXX object src/network/CMakeFiles/network.dir/Host.obj
[ 67%] Building CXX object src/network/CMakeFiles/network.dir/packet/Packet.obj
[ 67%] Building CXX object src/network/CMakeFiles/network.dir/packet/Chat.obj
[ 68%] Building CXX object src/network/CMakeFiles/network.dir/packet/ClassID.obj
[ 68%] Building CXX object src/network/CMakeFiles/network.dir/packet/Acknowledgement.obj
[ 69%] Building CXX object src/network/CMakeFiles/network.dir/packet/Gamestate.obj
[ 69%] Building CXX object src/network/CMakeFiles/network.dir/packet/Welcome.obj
[ 70%] Building CXX object src/network/CMakeFiles/network.dir/packet/DeleteObjects.obj
Linking CXX static library ../../bin/lib/libnetwork.a
[ 71%] Built target network
Scanning dependencies of target orxonox
[ 71%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/GraphicsEngine.obj
[ 72%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/Main.obj
[ 72%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/Settings.obj
[ 73%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/SignalHandler.obj
[ 73%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSClient.obj
[ 74%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSDedicated.obj
[ 74%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSGraphics.obj
[ 75%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSGUI.obj
[ 75%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSIOConsole.obj
[ 76%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSLevel.obj
[ 76%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSRoot.obj
[ 77%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSServer.obj
[ 78%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gamestates/GSStandalone.obj
[ 78%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/gui/GUIManager.obj
[ 78%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/OrxonoxOverlay.obj
[ 79%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/OverlayGroup.obj
[ 79%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/OverlayText.obj
[ 80%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/console/InGameConsole.obj
[ 80%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/debug/DebugFPSText.obj
[ 81%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/debug/DebugRTRText.obj
[ 81%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/hud/HUDBar.obj
[ 82%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/hud/HUDNavigation.obj
[ 82%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/hud/HUDRadar.obj
[ 83%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/overlays/hud/HUDSpeedBar.obj
[ 83%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/BillboardSet.obj
[ 84%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/Light.obj
[ 84%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/Mesh.obj
[ 85%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/ParticleInterface.obj
[ 85%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/TextureGenerator.obj
[ 86%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/Timer.obj
[ 87%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/tools/WindowEventListener.obj
[ 87%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Ambient.obj
[ 88%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Backlight.obj
[ 88%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Camera.obj
[ 89%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/CameraHandler.obj
[ 89%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Model.obj
[ 90%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/NPC.obj
[ 90%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/ParticleSpawner.obj
[ 91%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Radar.obj
[ 91%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/RadarListener.obj
[ 92%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/RadarViewable.obj
[ 92%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Skybox.obj
[ 93%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/SpaceShip.obj
[ 93%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/SpaceShipAI.obj
[ 94%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Tickable.obj
[ 94%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/WorldEntity.obj
[ 95%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/Projectile.obj
[ 95%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/BillboardProjectile.obj
[ 96%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/RotatingProjectile.obj
[ 96%] Building CXX object src/orxonox/CMakeFiles/orxonox.dir/objects/ParticleProjectile.obj
Linking CXX executable ../../bin/orxonox.exe
Info: resolving orxonox::Identifier::hierarchyCreatingCounter_s       by linking to __imp___ZN7orxonox10Identifier26hierarchyCreatingCounter_sE (auto-import)
Info: resolving orxonox::InputManager::singletonRef_s       by linking to __imp___ZN7orxonox12InputManager14singletonRef_sE (auto-import)
Info: resolving vtable for orxonox::Exceptionby linking to __imp___ZTVN7orxonox9ExceptionE (auto-import)
Info: resolving orxonox::TclThreadManager::singletonRef_s       by linking to __imp___ZN7orxonox16TclThreadManager14singletonRef_sE (auto-import)
Info: resolving orxonox::InputManager::EMPTY_HANDLER       by linking to __imp___ZN7orxonox12InputManager13EMPTY_HANDLERE (auto-import)
Info: resolving Ogre::Matrix4::IDENTITY     by linking to __imp___ZN4Ogre7Matrix48IDENTITYE (auto-import)
Info: resolving Ogre::ColourValue::White      by linking to __imp___ZN4Ogre11ColourValue5WhiteE (auto-import)
Info: resolving Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME       by linking to __imp___ZN4Ogre20ResourceGroupManager27DEFAULT_RESOURCE_GROUP_NAMEE (auto-import)
Info: resolving vtable for Ogre::Exceptionby linking to __imp___ZTVN4Ogre9ExceptionE (auto-import)
Info: resolving Ogre::Math::fDeg2Rad     by linking to __imp___ZN4Ogre4Math8fDeg2RadE (auto-import)
Info: resolving _blankString by linking to __imp__blankString (auto-import)
Info: resolving Ogre::Vector2::UNIT_SCALE      by linking to __imp___ZN4Ogre7Vector210UNIT_SCALEE (auto-import)
Info: resolving Ogre::Math::fRad2Deg     by linking to __imp___ZN4Ogre4Math8fRad2DegE (auto-import)
Info: resolving Ogre::Math::PI     by linking to __imp___ZN4Ogre4Math2PIE (auto-import)
Info: resolving SubString::WhiteSpaces       by linking to __imp___ZN9SubString11WhiteSpacesE (auto-import)
Info: resolving orxonox::Shell::singletonRef_s      by linking to __imp___ZN7orxonox5Shell14singletonRef_sE (auto-import)
Info: resolving Ogre::Vector3::ZERO     by linking to __imp___ZN4Ogre7Vector34ZEROE (auto-import)
Info: resolving Ogre::Quaternion::IDENTITY      by linking to __imp___ZN4Ogre10Quaternion8IDENTITYE (auto-import)
Info: resolving Ogre::Vector3::UNIT_X     by linking to __imp___ZN4Ogre7Vector36UNIT_XE (auto-import)
Info: resolving Ogre::Vector3::NEGATIVE_UNIT_Z      by linking to __imp___ZN4Ogre7Vector315NEGATIVE_UNIT_ZE (auto-import)
Creating library file: ../../bin/liborxonox.dll.a
[100%] Built target orxonox
:(

I already reinstalled libs, updated via svn and recompiled.
Did i forget to do something with directx sdk?

Hmm maybe its vista :/ ill give it another shot - starting all these programs in administrator mode, might help

Ok the Popup-Errormessage is:

Code: Select all

Die Anwendung konnte nicht gestartet werden, weil libceguilua_orxonox.dll nicht gefunden wurde. Neuinstallation der Anwendung k?nnte das Problem beheben.

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Post by x3n » Mon Oct 13, 2008 4:58 pm

MSys can't execute *.bat, you have to execute it from Windows Explorer. We need the bat-file to tell Orxonox where the external libraries are. If you try to start orxonox.exe directly, it won't find the libs (which results in the popup box you've seen).
I'll clarify this in the tutorial.

By the way, fixing the bug by only reinstalling MSys is somehow strange... I don't understand this... But I'm glad it works now ;)
Fabian 'x3n' Landau, Orxonox developer

gspoo
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 28, 2008 1:58 pm

Post by gspoo » Wed Oct 15, 2008 8:40 pm

Folgende haben gefehlt:
freetype6.dll
MSVCR80.dll

Nach dem ich alle dll geaddet habe die er wollte, funktionierts aber immer noch nicht -.-

Evt n Vista prob?

Amarthil
Human Space Navy Private
Posts: 2
Joined: Wed Sep 24, 2008 2:31 pm

Post by Amarthil » Thu Oct 16, 2008 4:08 pm

Hi, I had nearly the same problem and finally I had to download the following files and it worked:

zlib.dll in the libs path (for compilation)
freetype6.dll in the trunk\bin path
zlib1.dll in the trunk\bin path

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest