Git Product home page Git Product logo

Comments (5)

MarkCallow avatar MarkCallow commented on July 20, 2024

Do you have GitLFS installed? Without it binary files like libSDL2-2.0.so will not be fully checked out. You'll have only a small text file pointing at the real file in GitHub's LFS.

If that's not the problem, let me know which branch you are trying to build?

from ktx-software.

gy741 avatar gy741 commented on July 20, 2024

Hello,

Thank you for your reply.

I solved the problem using the following command.

 curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs

Thanks.

from ktx-software.

dhruvadhia1 avatar dhruvadhia1 commented on July 20, 2024

i dont see cmake folder inside build folder. How do i get that?

from ktx-software.

MarkCallow avatar MarkCallow commented on July 20, 2024

build/cmake existed when we used a GYP-generated CMakeLists.txt file for Linux builds. We no longer use GYP. We use CMake directly and the source tree no longer has anything in build. Read BUILDING.md to see how to build the current software.

from ktx-software.

dhruvadhia1 avatar dhruvadhia1 commented on July 20, 2024

I followed these steps and it all went good.

First either configure a debug build of libktx and the tools

cmake . -G Ninja -B build

...or alternatively a release build including all targets

cmake . -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DKTX_FEATURE_LOADTEST_APPS=ON -DKTX_FEATURE_DOC=ON

Compile the project

cmake --build build

However when i run gltfpack run command with -tc option then i get this error

Error: toktx is not present in PATH or TOKTX_PATH is not set

from ktx-software.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.