Changes between Version 2 and Version 3 of dev/WindowsMinGW/troubleshooting
- Timestamp:
- Sep 21, 2010, 11:05:07 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/WindowsMinGW/troubleshooting
v2 v3 9 9 There 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: 10 10 11 A1. "cm" alias is not defined: 11 ==== A1: "cm" alias is not defined: ==== 12 12 {{{ 13 13 sh: cm: command not found … … 15 15 If your error looks like this, you have to define the "cm" alias as explained here: [wiki:WindowsMinGW/current#BuildOrxonox]. 16 16 17 A2: MinGW not installed properly / MSYS not correctly configured 17 ==== A2: CMake is not installed / not in PATH ==== 18 {{{ 19 sh: cmake: command not found 20 }}} 21 If 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 ==== 18 24 {{{ 19 25 $ cm … … 30 36 If 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}}}). 31 37 32 A3: g++ is not installed 38 ==== A4: g++ is not installed ==== 33 39 {{{ 34 40 $ cm … … 47 53 If 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. 48 54 55 ==== Note ==== 56 Note 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 59 cmake version 2.8.2 60 61 $ gcc --version 62 gcc.exe (GCC) 4.5.0 63 64 $ g++ --version 65 g++.exe (GCC) 4.5.0 66 }}} 67 The actual output may differ, but you shouldn't get any errors. 68 49 69 === Q: When I run Orxonox and start a level, it crashes. === 50 70