• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How do I prevent weapons.cpp as necessary sourcefile in cmake ..

CoolBuys1290

Member
Joined
Aug 23, 2018
Messages
80
Reaction score
8
How do I prevent weapons.cpp as necessary sourcefile in cmake ..
There is no weapons.cpp file in the src directory.

Here's what I get after cmake ..

Bash:
Make Error at CMakeLists.txt:41 (add_executable):
  Cannot find source file:

    /root/Nostalrius/src/weapons.cpp

Please help.

Thanks.

CoolBuys1290
 
cmake says

Bash:
 Could NOT find LuaJIT (missing: LUA_INCLUDE_DIR)

However I set it in CMakeLists.txt: set(LUA_INCLUDE_DIR "/usr/include/luajit-2.1")
 
cmake says

Bash:
 Could NOT find LuaJIT (missing: LUA_INCLUDE_DIR)

However I set it in CMakeLists.txt: set(LUA_INCLUDE_DIR "/usr/include/luajit-2.1")
sudo apt-get install -y liblua5.2-dev
Post automatically merged:

sudo apt-get install -y liblua5.2-dev
sudo apt install libluajit-5.1-dev
 
Back
Top