nightmare@nightmare-desktop:/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/projects$ make Garrys\ Mod\ 10 verbose=1
==== Building Garrys Mod 10 (debug) ====
Lua535.cpp
g++ -MMD -MP -DWIN_EXPORT -DGMMODULE -D__SharedLibrary__ -D__GarrysMod__ -I../deps -I/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src -I../deps/gmod-module-base/include -I../deps/LuaBridge3/Source -I../deps/luaaa -I../deps/meta/src -I../deps/luabind-deboostified -I../deps/camp/include -I../deps/rttr/src -I../deps/boost -I../deps/boost/libs/filesystem/include -I../deps/boost/libs/config/include -I../deps/cpython/PC -I../deps/cpython/include -I../deps/curl/include -I../deps/cpprestsdk/Release/src -I../deps/cpprestsdk/Release/include -I../deps/cryptopp -I../deps/source-sdk-2013/mp/src -I../deps/source-sdk-2013/mp/src/public -I../deps/source-sdk-2013/mp/src/public/tier0 -I../deps/source-sdk-2013/mp/src/public/tier1 -I../deps/LuaJIT-2.0.4/src -fPIC -std=c++17 -Wfatal-errors -Wall -Wextra -o "obj/Debug/Garrys Mod 10/Lua535.o" -MF "obj/Debug/Garrys Mod 10/Lua535.d" -c "../src/Machinarium/Scripting/Lua535.cpp"
In file included from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:7,
from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines.h:5,
from ../src/Machinarium/Scripting/Lua535.hpp:5,
from ../src/Machinarium/Scripting/Lua535.cpp:1:
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Platform.h:96: warning: "__linux__" redefined
96 | # define __linux__
|
<built-in>: note: this is the location of the previous definition
In file included from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:23,
from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines.h:5,
from ../src/Machinarium/Scripting/Lua535.hpp:5,
from ../src/Machinarium/Scripting/Lua535.cpp:1:
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Dll.h:31:73: warning: backslash and newline separated by space
31 | __pragma(comment(linker, "/include:" p # f "_" ) ) \
|
In file included from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines.h:5,
from ../src/Machinarium/Scripting/Lua535.hpp:5,
from ../src/Machinarium/Scripting/Lua535.cpp:1:
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:30: warning: ignoring #pragma comment [-Wunknown-pragmas]
30 | #pragma comment (lib, "python.lib")
|
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:31: warning: ignoring #pragma comment [-Wunknown-pragmas]
31 | #pragma comment (lib, "python3.lib")
|
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:32: warning: ignoring #pragma comment [-Wunknown-pragmas]
32 | #pragma comment (lib, "python39.lib")
|
In file included from ../src/Machinarium/Scripting/Lua535.cpp:10:
../src/Machinarium/Scripting/LuaDefines.h:10: warning: ignoring #pragma comment [-Wunknown-pragmas]
10 | # pragma comment(lib, "lua51.lib")
|
In file included from ../src/Machinarium/Scripting/Lua535.cpp:10:
../src/Machinarium/Scripting/LuaDefines.h:20:83: warning: backslash-newline at end of file
20 | _std__string(L, name, str) lua_push_std__string(L, str); \
|
../src/Machinarium/Scripting/Lua535.cpp:62:10: fatal error: Machinarium\Filesystem\Utils.hpp: No such file or directory
62 | #include "Machinarium\Filesystem\Utils.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Garrys Mod 10.make:340: obj/Debug/Garrys Mod 10/Lua535.o] Error 1
make: *** [Makefile:51: Garrys Mod 10] Error 2
nightmare@nightmare-desktop:/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/projects$
nightmare@nightmare-desktop:/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/projects$ make Garrys\ Mod\ 10
==== Building Garrys Mod 10 (debug) ====
Lua535.cpp
In file included from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:7,
from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines.h:5,
from ../src/Machinarium/Scripting/Lua535.hpp:5,
from ../src/Machinarium/Scripting/Lua535.cpp:1:
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Platform.h:96: warning: "__linux__" redefined
96 | # define __linux__
|
<built-in>: note: this is the location of the previous definition
In file included from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:23,
from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines.h:5,
from ../src/Machinarium/Scripting/Lua535.hpp:5,
from ../src/Machinarium/Scripting/Lua535.cpp:1:
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Dll.h:31:73: warning: backslash and newline separated by space
31 | __pragma(comment(linker, "/include:" p # f "_" ) ) \
|
In file included from /media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines.h:5,
from ../src/Machinarium/Scripting/Lua535.hpp:5,
from ../src/Machinarium/Scripting/Lua535.cpp:1:
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:30: warning: ignoring #pragma comment [-Wunknown-pragmas]
30 | #pragma comment (lib, "python.lib")
|
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:31: warning: ignoring #pragma comment [-Wunknown-pragmas]
31 | #pragma comment (lib, "python3.lib")
|
/media/nightmare/2DEDC4C311647F4A/Workspace/cpp.machinarium/src/Machinarium/Defines/Defines.h:32: warning: ignoring #pragma comment [-Wunknown-pragmas]
32 | #pragma comment (lib, "python39.lib")
|
In file included from ../src/Machinarium/Scripting/Lua535.cpp:10:
../src/Machinarium/Scripting/LuaDefines.h:10: warning: ignoring #pragma comment [-Wunknown-pragmas]
10 | # pragma comment(lib, "lua51.lib")
|
In file included from ../src/Machinarium/Scripting/Lua535.cpp:10:
../src/Machinarium/Scripting/LuaDefines.h:20:83: warning: backslash-newline at end of file
20 | _std__string(L, name, str) lua_push_std__string(L, str); \
|
../src/Machinarium/Scripting/Lua535.cpp:62:10: fatal error: Machinarium\Filesystem\Utils.hpp: No such file or directory
62 | #include "Machinarium\Filesystem\Utils.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Garrys Mod 10.make:340: obj/Debug/Garrys Mod 10/Lua535.o] Error 1
make: *** [Makefile:51: Garrys Mod 10] Error 2
Ошибка
Возникла после того как я дописал