Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2009, 2:03:07 PM (16 years ago)
Author:
rgrieder
Message:
  • Bugfix: CMake searches the install path per default when finding libraries. That means having Orxonox built my MSVC already installed will screw your mingw compilation.

—> Removed install path from the search paths for Windows

  • Bugfix: Media path default value was still pointing to the development media directory.

Tested mingw and msvc 2008 binaries on another windows xp box (no installed depdencies, no visual studio, no mingw installed, no DirectX SDK, just DX9.0c). It runs without initial orxonox.ini, as should be the case anyway.
Now its time to test this on Linux, though there will be files written to usr/bin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/OrxonoxConfig.h.in

    r2643 r2645  
    188188namespace orxonox
    189189{
    190     const char* const ORXONOX_MEDIA_PATH("@ORXONOX_MEDIA_DIRECTORY@");
     190#ifdef ORXONOX_PLATFORM_WINDOWS
     191    const char* const ORXONOX_MEDIA_PATH("../media");
     192#elif defined(ORXONOX_PLATFORM_LINUX)
     193    const char* const ORXONOX_MEDIA_PATH("../share/orxonox");
     194#else
     195    /* TODO: Apple? */
     196    const char* const ORXONOX_MEDIA_PATH("../share/orxonox");
     197#endif
    191198   
    192199#ifdef NDEBUG
Note: See TracChangeset for help on using the changeset viewer.