Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of dev/WindowsMinGW/troubleshooting


Ignore:
Timestamp:
Sep 21, 2010, 11:05:07 PM (14 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/WindowsMinGW/troubleshooting

    v2 v3  
    99There are multiple errors with multiple reasons. Sometimes this can be solved by closing (all instances of) MSYS and/or rebooting Windows. If this doesn't help, compare your error message to the examples below:
    1010
    11 A1. "cm" alias is not defined:
     11==== A1: "cm" alias is not defined: ====
    1212{{{
    1313sh: cm: command not found
     
    1515If your error looks like this, you have to define the "cm" alias as explained here: [wiki:WindowsMinGW/current#BuildOrxonox].
    1616
    17 A2: MinGW not installed properly / MSYS not correctly configured
     17==== A2: CMake is not installed / not in PATH ====
     18{{{
     19sh: cmake: command not found
     20}}}
     21If you get this error, CMake is not installed properly or it is not added to the environment variable PATH. Please refer to [wiki:WindowsMinGW/current#CMake the guide] for an explanation.
     22
     23==== A3: MinGW not installed properly / MSYS not correctly configured ====
    1824{{{
    1925$ cm
     
    3036If CMake prints an error like this (and about 30 more lines), the GCC compiler was not found. Make sure you installed MinGW and MSYS properly by following [wiki:WindowsMinGW/current the guide]. You can also open the file {{{c:\<msys-install-path>\etc\fstab}}} with a text-editor (WordPad, Notepad) and check if the path to MinGW is configured correctly (default is {{{c:/mingw /mingw}}}).
    3137
    32 A3: g++ is not installed
     38==== A4: g++ is not installed ====
    3339{{{
    3440$ cm
     
    4753If CMake prints an error like this (and about 20 more lines), you probably missed to install g++ with MinGW. Please refer to [wiki:WindowsMinGW/current#MinGW the installation guide] and ensure you selected "C++ Compiler" in the installation menu of MinGW.
    4854
     55==== Note ====
     56Note that if you're using a sane installation of MinGW and the other tools (as explained in [wiki:WindowsMinGW/current the guide]), you should be able to use {{{cmake}}}, {{{gcc}}}, and {{{g++}}}. You can check this in the MSYS console:
     57{{{
     58$ cmake --version
     59cmake version 2.8.2
     60
     61$ gcc --version
     62gcc.exe (GCC) 4.5.0
     63
     64$ g++ --version
     65g++.exe (GCC) 4.5.0
     66}}}
     67The actual output may differ, but you shouldn't get any errors.
     68
    4969=== Q: When I run Orxonox and start a level, it crashes. ===
    5070