make: *** No rule to make target 'gltfpack'. Stop. #485
Answered
by
zeux
ouronghuang
asked this question in
Q&A
-
When I building from source on ubuntu 20.04 cmake version$ cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake). install opencl$ apt-get install ocl-icd-*
$ apt-get install opencl-headers
$ apt-get install clinfo build source$ git clone -b gltfpack https:/zeux/basis_universal
$ cd basis_universal
$ cmake . -DMESHOPT_BUILD_GLTFPACK=ON -DMESHOPT_BASISU_PATH=basis_universal -DCMAKE_BUILD_TYPE=Release
Initial BUILD_X64=ON
Initial CMAKE_BUILD_TYPE=Release
Initial SSE=OFF
Initial ZSTD=ON
Initial OPENCL=OFF
Initial SAN=OFF
-- OpenCL found: TRUE
-- OpenCL includes: /usr/include
-- OpenCL libraries: /usr/lib/x86_64-linux-gnu/libOpenCL.so
basisu build type: Release
Building 64-bit
SSE disabled
Zstandard enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /root/opt/basis_universal
$ cmake --build . --target gltfpack --config Release
make: *** No rule to make target 'gltfpack'. Stop. What can I do this error make: *** No rule to make target 'gltfpack'. Stop.? |
Beta Was this translation helpful? Give feedback.
Answered by
zeux
Sep 15, 2022
Replies: 1 comment
-
This is because you're running cmake & make from The build instructions here https:/zeux/meshoptimizer/tree/master/gltf#building should work I believe. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ouronghuang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because you're running cmake & make from
basisu_universal
folder - instead, it should be ran frommeshoptimizer
folder.The build instructions here https:/zeux/meshoptimizer/tree/master/gltf#building should work I believe.