assimp / assimp_view

The Asset-Importer-Lib Viewer
MIT License
28 stars 7 forks source link

Code cannot compile #26

Closed akshit-sharma closed 1 month ago

akshit-sharma commented 2 months ago

Describe the bug Your last commit removed files main.cpp and AssimpViewerApp.cpp from the src directory (required for compilation).

To Reproduce Steps to reproduce the behavior:

  1. Go to root of cloned directory.
  2. Run cmake -B Build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
  3. See error

Expected behavior Code should compile

Desktop (please complete the following information):

Additional context

Current Output

CMake Error at CMakeLists.txt:62 (ADD_EXECUTABLE):
  Cannot find source file:

    src/AssimpViewerApp.cpp

CMake Error at CMakeLists.txt:62 (ADD_EXECUTABLE):
  No SOURCES given to target: assimp_view

Culprit seems to be this commit.

kimkulling commented 1 month ago

Shall be fixed. Still experimental, but on a good way.