Через продолжительное (год или больше) время вернулся к своему прошлому проекту. В проекте использовал Irrlicht engine, 1.8.1 версию, раьотал на эклипсе. Проект залит на bitbucket. Сейчас поступаю так: Скачиваю eclipse, скачиваю mingw, устанавливаю C, C++, MSYS basic system MinGW DTK. Прописываю пути в Path. Проверял из командной строки (стандартной виндоусовской) gcc и g++ вызываются. При создании нового проекта всё нормально компилируется. Но при попытки запустить тот мой проект, получаю много ошибок типа:
"\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type"
В чём может быть проблемма?
[more]
14:55:22 **** Incremental Build of configuration Debug for project Game ****
Info: Internal Builder is used for build
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Generator\\Pointf.o" "..\\Generator\\Pointf.cpp"
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Generator\\Door.o" "..\\Generator\\Door.cpp"
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Generator\\SN8.o" "..\\Generator\\SN8.cpp"
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Grafic\\Nodes\\Models.o" "..\\Grafic\\Nodes\\Models.cpp"
In file included from e:\programming\mingw\include\wchar.h:208:0,
from E:\Programming\libs\irrlicht-1.8.1\include/irrTypes.h:114,
from E:\Programming\libs\irrlicht-1.8.1\include/irrMath.h:9,
from E:\Programming\libs\irrlicht-1.8.1\include/aabbox3d.h:8,
from E:\Programming\libs\irrlicht-1.8.1\include/irrlicht.h:33,
from ..\Grafic\Nodes\../Grafic.h:10,
from ..\Grafic\Nodes\Node.h:10,
from ..\Grafic\Nodes\Models.h:10,
from ..\Grafic\Nodes\Models.cpp:8:
e:\programming\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_ino_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_mode_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_off_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: 'time_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: 'time_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: 'time_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_dev_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_ino_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_mode_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_dev_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_off_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: 'time_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: 'time_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: 'time_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_dev_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_ino_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_mode_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_dev_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '__off64_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: 'time_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: 'time_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: 'time_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_dev_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_ino_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_mode_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_dev_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__off64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__time64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__time64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__time64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
In file included from e:\programming\mingw\include\wchar.h:233:0,
from E:\Programming\libs\irrlicht-1.8.1\include/irrTypes.h:114,
from E:\Programming\libs\irrlicht-1.8.1\include/irrMath.h:9,
from E:\Programming\libs\irrlicht-1.8.1\include/aabbox3d.h:8,
from E:\Programming\libs\irrlicht-1.8.1\include/irrlicht.h:33,
from ..\Grafic\Nodes\../Grafic.h:10,
from ..\Grafic\Nodes\Node.h:10,
from ..\Grafic\Nodes\Models.h:10,
from ..\Grafic\Nodes\Models.cpp:8:
e:\programming\mingw\include\io.h:335:21: error: 'time_t' does not name a type
struct _wfinddata_t __struct_finddata_t (time_t, _fsize_t);
^
e:\programming\mingw\include\io.h:335:21: error: 'time_t' does not name a type
struct _wfinddata_t __struct_finddata_t (time_t, _fsize_t);
^
e:\programming\mingw\include\io.h:335:21: error: 'time_t' does not name a type
struct _wfinddata_t __struct_finddata_t (time_t, _fsize_t);
^
e:\programming\mingw\include\io.h:336:24: error: 'time_t' does not name a type
struct _wfinddatai64_t __struct_finddata_t (time_t, __int64);
^
e:\programming\mingw\include\io.h:336:24: error: 'time_t' does not name a type
struct _wfinddatai64_t __struct_finddata_t (time_t, __int64);
^
e:\programming\mingw\include\io.h:336:24: error: 'time_t' does not name a type
struct _wfinddatai64_t __struct_finddata_t (time_t, __int64);
^
e:\programming\mingw\include\io.h:362:24: error: '__time64_t' does not name a type
struct __wfinddata64_t __struct_finddata_t (__time64_t, __int64);
^
e:\programming\mingw\include\io.h:362:24: error: '__time64_t' does not name a type
struct __wfinddata64_t __struct_finddata_t (__time64_t, __int64);
^
e:\programming\mingw\include\io.h:362:24: error: '__time64_t' does not name a type
struct __wfinddata64_t __struct_finddata_t (__time64_t, __int64);
^
14:55:23 Build Finished (took 899ms)
[/more]
"\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type"
В чём может быть проблемма?
[more]
14:55:22 **** Incremental Build of configuration Debug for project Game ****
Info: Internal Builder is used for build
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Generator\\Pointf.o" "..\\Generator\\Pointf.cpp"
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Generator\\Door.o" "..\\Generator\\Door.cpp"
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Generator\\SN8.o" "..\\Generator\\SN8.cpp"
g++ -std=c++11 "-IE:\\Programming\\MinGW\\include" "-IE:\\Programming\\libs\\irrlicht-1.8.1\\include" -O0 -g3 -Wall -c -fmessage-length=0 -o "Grafic\\Nodes\\Models.o" "..\\Grafic\\Nodes\\Models.cpp"
In file included from e:\programming\mingw\include\wchar.h:208:0,
from E:\Programming\libs\irrlicht-1.8.1\include/irrTypes.h:114,
from E:\Programming\libs\irrlicht-1.8.1\include/irrMath.h:9,
from E:\Programming\libs\irrlicht-1.8.1\include/aabbox3d.h:8,
from E:\Programming\libs\irrlicht-1.8.1\include/irrlicht.h:33,
from ..\Grafic\Nodes\../Grafic.h:10,
from ..\Grafic\Nodes\Node.h:10,
from ..\Grafic\Nodes\Models.h:10,
from ..\Grafic\Nodes\Models.cpp:8:
e:\programming\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_ino_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_mode_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: '_off_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: 'time_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: 'time_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:173:14: error: 'time_t' does not name a type
struct _stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_dev_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_ino_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_mode_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_dev_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: '_off_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: 'time_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: 'time_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:180:13: error: 'time_t' does not name a type
struct stat __struct_stat_defined( _off_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_dev_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_ino_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_mode_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '_dev_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: '__off64_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: 'time_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: 'time_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:188:17: error: 'time_t' does not name a type
struct _stati64 __struct_stat_defined( __off64_t, time_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_dev_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_ino_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_mode_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '_dev_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__off64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__time64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__time64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
e:\programming\mingw\include\sys/stat.h:195:17: error: '__time64_t' does not name a type
struct __stat64 __struct_stat_defined( __off64_t, __time64_t );
^
In file included from e:\programming\mingw\include\wchar.h:233:0,
from E:\Programming\libs\irrlicht-1.8.1\include/irrTypes.h:114,
from E:\Programming\libs\irrlicht-1.8.1\include/irrMath.h:9,
from E:\Programming\libs\irrlicht-1.8.1\include/aabbox3d.h:8,
from E:\Programming\libs\irrlicht-1.8.1\include/irrlicht.h:33,
from ..\Grafic\Nodes\../Grafic.h:10,
from ..\Grafic\Nodes\Node.h:10,
from ..\Grafic\Nodes\Models.h:10,
from ..\Grafic\Nodes\Models.cpp:8:
e:\programming\mingw\include\io.h:335:21: error: 'time_t' does not name a type
struct _wfinddata_t __struct_finddata_t (time_t, _fsize_t);
^
e:\programming\mingw\include\io.h:335:21: error: 'time_t' does not name a type
struct _wfinddata_t __struct_finddata_t (time_t, _fsize_t);
^
e:\programming\mingw\include\io.h:335:21: error: 'time_t' does not name a type
struct _wfinddata_t __struct_finddata_t (time_t, _fsize_t);
^
e:\programming\mingw\include\io.h:336:24: error: 'time_t' does not name a type
struct _wfinddatai64_t __struct_finddata_t (time_t, __int64);
^
e:\programming\mingw\include\io.h:336:24: error: 'time_t' does not name a type
struct _wfinddatai64_t __struct_finddata_t (time_t, __int64);
^
e:\programming\mingw\include\io.h:336:24: error: 'time_t' does not name a type
struct _wfinddatai64_t __struct_finddata_t (time_t, __int64);
^
e:\programming\mingw\include\io.h:362:24: error: '__time64_t' does not name a type
struct __wfinddata64_t __struct_finddata_t (__time64_t, __int64);
^
e:\programming\mingw\include\io.h:362:24: error: '__time64_t' does not name a type
struct __wfinddata64_t __struct_finddata_t (__time64_t, __int64);
^
e:\programming\mingw\include\io.h:362:24: error: '__time64_t' does not name a type
struct __wfinddata64_t __struct_finddata_t (__time64_t, __int64);
^
14:55:23 Build Finished (took 899ms)
[/more]