AlloSphere-Research-Group / allolib

Library for interactive multimedia application development
BSD 3-Clause "New" or "Revised" License
36 stars 14 forks source link

examples/graphics/asset.cpp cannot find its asset #10

Closed kybr closed 5 years ago

kybr commented 5 years ago
xx $ ./run.sh examples/graphics/asset.cpp

...
Running target after build
CMake Warning:
  Manually-specified variables were not used by the project:

    AL_RUN_APP

[  1%] Linking C static library lib/libGLEW.a
[  2%] Built target glew_s
[  3%] Linking CXX static library lib/libGamma.a
[ 14%] Built target Gamma
[ 15%] Linking C static library libglfw3.a
[ 27%] Built target glfw
[ 28%] Linking CXX static library lib/libal.a
[ 99%] Built target al
Scanning dependencies of target asset
[100%] Building CXX object CMakeFiles/asset.dir/Users/xxx/Projects/tmp/AlloLib/examples/graphics/asset.cpp.o
[100%] Linking CXX executable /Users/xxx/Projects/tmp/AlloLib/examples/graphics/bin/asset
SearchPath 0x103f5c240 appPath: /Users/xxx/Projects/tmp/AlloLib/examples/graphics/bin/
SearchPath 0x103f5c240 path: /Users/xxx/Projects/tmp/AlloLib/examples/graphics/bin/data/ (recursive: 1)
SearchPath 0x103f5c240 path: /Users/xxx/Projects/tmp/AlloLib/examples/graphics/bin/ (recursive: 1)
reading
Info,  T0: Load
Error, T0: Unable to open file "".
error reading
[100%] Built target asset

asset.cpp refers to ducky.obj (FilePath path = searchpaths.find("ducky.obj");) but cannot find it:

find . -name ducky.obj # finds nothing
git lfs install
git lfs pull
find . -name ducky.obj # finds nothing

This asset should be added via git-lfs.

mantaraya36 commented 5 years ago

Assets added via git lfs.

91ccd8e