-
Apologies for the novice-level question, but I have little coding experience. I'm trying to convert .jpg's in a .glb file into .ktx2. Installed both gltfpack and KTX-Software v4.0.0-beta6 (the latter is located in Program Files). When I try to run the command line code "gltfpack -i x.glb -tc -o y.glb" I get the following error: ERROR: toktx is not present in PATH or TOKTX_PATH is not set I'm running Windows. Running gltfpack without -tc is working fine. What is going wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 22 replies
-
I don't think KTX-Software performs the correct setup of PATH environment variable; you'd have to add |
Beta Was this translation helpful? Give feedback.
-
I also have the same problem. I have tried adding toktx to PATH and also tried setting TOKTX_PATH to toktx executable. Still it is saying |
Beta Was this translation helpful? Give feedback.
-
I've opened a PR that should solve the issues with various setups reported in this topic, thanks a lot for the feedback! #264 |
Beta Was this translation helpful? Give feedback.
-
sam problem here, using it inside of a docker, which makes it far more complicated |
Beta Was this translation helpful? Give feedback.
-
This problem seems to still be unresolved, I just tried -tc and -te with gltfpack and it returns the same error. |
Beta Was this translation helpful? Give feedback.
I've opened a PR that should solve the issues with various setups reported in this topic, thanks a lot for the feedback! #264