stohrendorf / CroftEngine

An open-source Tomb Raider 1 engine remake
Other
285 stars 18 forks source link

Compiling #293

Closed RahRah80 closed 1 year ago

RahRah80 commented 1 year ago

Hello.

How to compile on Linux?

stohrendorf commented 1 year ago
git clone https://github.com/stohrendorf/CroftEngine.git
cd CroftEngine
git submodule update --init --recursive
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
RahRah80 commented 1 year ago

Hello

The first comand didn't work:

error: pathspec 'https://github.com/stohrendorf/CroftEngine.git' did not match any file(s) known to git

The cmake didn't complete:

-- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- GCC or Clang detected -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Downloading https://github.com/g-truc/glm/archive/refs/tags/0.9.9.8.tar.gz... -- Extracting glm-0.9.9.8.tar.gz... CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find Boost (missing: Boost_INCLUDE_DIR system log log_setup locale) Call Stack (most recent call first): /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.18/Modules/FindBoost.cmake:2177 (find_package_handle_standard_args) cmake/get_boost.cmake:10 (find_package) CMakeLists.txt:55 (include)

On Thu, Dec 15, 2022 at 12:45 AM Steffen Ohrendorf @.***> wrote:

git checkout https://github.com/stohrendorf/CroftEngine.git cd CroftEngine git submodule update --init --recursive mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make

— Reply to this email directly, view it on GitHub https://github.com/stohrendorf/CroftEngine/issues/293#issuecomment-1352410214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDEDIMRA35ZBL3ZODX4AEDWNJS2DANCNFSM6AAAAAAS6WHHLE . You are receiving this because you authored the thread.Message ID: @.***>

stohrendorf commented 1 year ago

Sorry, the first command was supposed to be git clone https://github.com/stohrendorf/CroftEngine.git, typed that from memory.

RahRah80 commented 1 year ago

Ok. That works just fine ;)

On Thu, Dec 15, 2022 at 2:12 AM Steffen Ohrendorf @.***> wrote:

Sorry, the first command was supposed to be git clone https://github.com/stohrendorf/CroftEngine.git, typed that from memory.

— Reply to this email directly, view it on GitHub https://github.com/stohrendorf/CroftEngine/issues/293#issuecomment-1352467004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDEDIMKXMD3SXKTC5NBR5LWNJ467ANCNFSM6AAAAAAS6WHHLE . You are receiving this because you authored the thread.Message ID: @.***>