Du bist nicht angemeldet.

Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!

Werbeanzeige

1

16.05.2011, 20:45

Ogre - MyGUI - CMake Problem

Abend liebe Communty,

ich habe folgendes Problem,ich möchte gerne mit einer GUI anfangen für Ogre und laut vielen Forums ist Cegui veraltet,und deshalb möchte ich mit MyGui anfangen.
Ich habe hier das Folgende Tutorial benutzt. Link : http://www.ogre3d.org/tikiwiki/MyGUI+Compiling

Aber irgentwie bin ich viel zu blöd dafür...ich kriege das einfach nicht hin.
Hier die Fehlermeldung

Quellcode

1
Check for working C compiler using: Visual Studio 10 Check for working C compiler using: Visual Studio 10 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 10 Check for working CXX compiler using: Visual Studio 10 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Configuring MYGUI 3.0.1 Check if the system is big endian Searching 16 bit integer Looking for sys/types.h Looking for sys/types.h - found Looking for stdint.h Looking for stdint.h - found Looking for stddef.h Looking for stddef.h - found Check size of unsigned short Check size of unsigned short - done Using unsigned short Check if the system is big endian - little endian Looking for FREETYPE... Could not locate FREETYPE Looking for OGRE... OGRE_PREFIX_WATCH changed. Found Ogre Cthugha (1.7.2) Found OGRE: optimized;D:/Sdks/OgreSDK/lib/release/OgreMain.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreMain_d.lib Looking for OGRE_Paging... Found OGRE_Paging: optimized;D:/Sdks/OgreSDK/lib/release/OgrePaging.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgrePaging_d.lib Looking for OGRE_Terrain... Found OGRE_Terrain: optimized;D:/Sdks/OgreSDK/lib/release/OgreTerrain.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreTerrain_d.lib Looking for OGRE_Property... Found OGRE_Property: optimized;D:/Sdks/OgreSDK/lib/release/OgreProperty.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreProperty_d.lib Looking for OGRE_RTShaderSystem... Found OGRE_RTShaderSystem: optimized;D:/Sdks/OgreSDK/lib/release/OgreRTShaderSystem.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreRTShaderSystem_d.lib Looking for OIS... OIS_PREFIX_PATH changed. Could not locate OIS Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)  CMake Error at CMake/Utils/MacroLogFeature.cmake:91 (MESSAGE):          -----------------------------------------------------------------------------     -- The following REQUIRED packages could NOT be located on your system.    -- Please install them before continuing this software installation.    -- If you are in Windows, try passing -DMYGUI_DEPENDENCIES_DIR=<path to   dependencies>    -- Also check that you buildind with RenderSystem that you need or set   another with -DMYGUI_RENDERSYSTEM=<1 2 or 3 for Direct3D_9 OGRE or OpenGL>       -----------------------------------------------------------------------------     + freetype: Portable font engine <http://www.freetype.org>       ----------------------------------------------------------------------------- Call Stack (most recent call first):   CMake/Dependencies.cmake:102 (MACRO_DISPLAY_FEATURE_LOG)   CMakeLists.txt:161 (include)   Configuring incomplete, errors occurred!


Könnte mir vielleicht einer helfen oder mir es einer erklären hier im Thread/Pm.

Wäre echt nett von euch ;D

Mit freundlichen Grüßen
Bigevildog666

P.S : Ich habe zwei Screenshots von den Cmake und es Mygui Ordners hochgeladen
»Bigevildog666« hat folgende Bilder angehängt:
  • Unbenannt.JPG
  • Unbenannt1.JPG

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Bigevildog666« (16.05.2011, 23:39)


Thoran

Alter Hase

Beiträge: 520

Wohnort: Stuttgart

Beruf: Senior Software Engineer

  • Private Nachricht senden

2

17.05.2011, 09:13

Dir fehlt OIS. Zumindest sagt das dein CMake Log:
"Looking for OIS... OIS_PREFIX_PATH changed. Could not locate OIS"

Außerdem solltest du wohl auch Doxygen installieren, damit die Doku generiert wird.
Normalerweise sollte OIS bei Ogre dabei sein, wenn du das vorkompilierte SDK-Archiv runtergeladen hast, so dass evt. nur ein Problem bei der Angabe der Pfade ist, wo OIS zu finden ist.
Schau dir mal die CMake-Gui an, das kann man zur Not auch manuell nachtragen.
Die OIS header liegen normalerweise im Ogre include-Verzeichnis unter OIS und die lib-Dateien im Ogre-Verzeichnis unter lib (oder libs).

Thoran
Mein Entwicklertagebuch
Aktuelles Projekt: Universum Espionage
Eingestellt:Spieleengine SilverCore
Organisator "Spieleentwickler Stammtisch Stuttgart"

3

17.05.2011, 14:52


Dir fehlt OIS. Zumindest sagt das dein CMake Log:
"Looking for OIS... OIS_PREFIX_PATH changed. Could not locate OIS"

Außerdem solltest du wohl auch Doxygen installieren, damit die Doku generiert wird.
Normalerweise sollte OIS bei Ogre dabei sein, wenn du das vorkompilierte SDK-Archiv runtergeladen hast, so dass evt. nur ein Problem bei der Angabe der Pfade ist, wo OIS zu finden ist.
Schau dir mal die CMake-Gui an, das kann man zur Not auch manuell nachtragen.
Die OIS header liegen normalerweise im Ogre include-Verzeichnis unter OIS und die lib-Dateien im Ogre-Verzeichnis unter lib (oder libs).

Thoran

Danke für deine Hilfe Thoran

OIS findet CMake jetzt bei mir aber jetzt eine andere Fehlermeldung.

Quellcode

1
Configuring MYGUI 3.0.1 Looking for FREETYPE... Could not locate FREETYPE Looking for OGRE... Found Ogre Cthugha (1.7.2) Found OGRE: optimized;D:/Sdks/OgreSDK/lib/release/OgreMain.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreMain_d.lib Looking for OGRE_Paging... Found OGRE_Paging: optimized;D:/Sdks/OgreSDK/lib/release/OgrePaging.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgrePaging_d.lib Looking for OGRE_Terrain... Found OGRE_Terrain: optimized;D:/Sdks/OgreSDK/lib/release/OgreTerrain.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreTerrain_d.lib Looking for OGRE_Property... Found OGRE_Property: optimized;D:/Sdks/OgreSDK/lib/release/OgreProperty.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreProperty_d.lib Looking for OGRE_RTShaderSystem... Found OGRE_RTShaderSystem: optimized;D:/Sdks/OgreSDK/lib/release/OgreRTShaderSystem.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreRTShaderSystem_d.lib Looking for OIS... Found OIS: optimized;D:/Sdks/OgreSDK/lib/release/OIS.lib;debug;D:/Sdks/OgreSDK/lib/debug/OIS_d.lib Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)  CMake Error at CMake/Utils/MacroLogFeature.cmake:91 (MESSAGE):          -----------------------------------------------------------------------------     -- The following REQUIRED packages could NOT be located on your system.    -- Please install them before continuing this software installation.    -- If you are in Windows, try passing -DMYGUI_DEPENDENCIES_DIR=<path to   dependencies>    -- Also check that you buildind with RenderSystem that you need or set   another with -DMYGUI_RENDERSYSTEM=<1 2 or 3 for Direct3D_9 OGRE or OpenGL>       -----------------------------------------------------------------------------     + freetype: Portable font engine <http://www.freetype.org>       ----------------------------------------------------------------------------- Call Stack (most recent call first):   CMake/Dependencies.cmake:102 (MACRO_DISPLAY_FEATURE_LOG)   CMakeLists.txt:161 (include)   Configuring incomplete, errors occurred!


und was ist den Doxygen?

Mfg
Bigevidog666

P.s : Nochmal danke für die Hilfe ;D

Darkrel

Treue Seele

Beiträge: 143

Wohnort: Zürich

Beruf: Student ETH Zürich

  • Private Nachricht senden

4

17.05.2011, 16:50

Doxygen ist ein Tool welches dir aus den Kommentaren in deinem Code automatisch die Dokumentation erstellt. Siehe Google.

Edit: Natürlich nur sofern sie richtig formatiert sind.
:cursing:

5

17.05.2011, 18:42

Doxygen habe ich jetzt installiert findet CMake,aber irgentwie komme ich nicht mehr weiter <_<

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Configuring MYGUI 3.0.1
Looking for FREETYPE...
Could not locate FREETYPE
Looking for OGRE...
Found Ogre Cthugha (1.7.2)
Found OGRE: optimized;D:/Sdks/OgreSDK/lib/release/OgreMain.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreMain_d.lib
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;D:/Sdks/OgreSDK/lib/release/OgrePaging.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgrePaging_d.lib
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;D:/Sdks/OgreSDK/lib/release/OgreTerrain.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreTerrain_d.lib
Looking for OGRE_Property...
Found OGRE_Property: optimized;D:/Sdks/OgreSDK/lib/release/OgreProperty.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreProperty_d.lib
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;D:/Sdks/OgreSDK/lib/release/OgreRTShaderSystem.lib;debug;D:/Sdks/OgreSDK/lib/debug/OgreRTShaderSystem_d.lib
Looking for OIS...
Found OIS: optimized;C:/Users/Yannick/Desktop/MyGUI3.0/Dependencies/lib/release/OIS.lib;debug;D:/Sdks/OgreSDK/lib/debug/OIS_d.lib
CMake Error at CMake/Utils/MacroLogFeature.cmake:91 (MESSAGE):
  

  
  -----------------------------------------------------------------------------


  -- The following REQUIRED packages could NOT be located on your system.

  -- Please install them before continuing this software installation.

  -- If you are in Windows, try passing -DMYGUI_DEPENDENCIES_DIR=<path to
  dependencies>

  -- Also check that you buildind with RenderSystem that you need or set
  another with -DMYGUI_RENDERSYSTEM=<1 2 or 3 for Direct3D_9 OGRE or OpenGL>

  
  -----------------------------------------------------------------------------


  + freetype: Portable font engine <http://www.freetype.org>

  
  -----------------------------------------------------------------------------
Call Stack (most recent call first):
  CMake/Dependencies.cmake:102 (MACRO_DISPLAY_FEATURE_LOG)
  CMakeLists.txt:161 (include)


Configuring incomplete, errors occurred!

Freetype habe ich in den Dependencies Ordner aber er findet es eben nicht.

Hat irgentwer ein Tipp für mich :D

Mfg
Bigevildog666
»Bigevildog666« hat folgendes Bild angehängt:
  • Unbenannt.JPG

Thoran

Alter Hase

Beiträge: 520

Wohnort: Stuttgart

Beruf: Senior Software Engineer

  • Private Nachricht senden

6

17.05.2011, 21:40

Aktiviere mal in der CMake-Gui das Kästchen "Advanced". Dann solltest du Einträge für Freetype sehen und dein Dependencies-Verzeichnis von Ogre angeben können.

Thoran
Mein Entwicklertagebuch
Aktuelles Projekt: Universum Espionage
Eingestellt:Spieleengine SilverCore
Organisator "Spieleentwickler Stammtisch Stuttgart"

Werbeanzeige