Error: astcenc not found

This topic contains 1 reply, has 2 voices, and was last updated by  CarlosSarria 6 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #56013


    On macOS (10.12), I’ve done the following:
    – Downloaded and installed PVRTexToolGUI
    – Downloaded astcenc
    – Added the location of astcenc to PATH
    – Also copied astcenc to a location that was already in my PATH, /usr/local/bin

    astcenc works from the command line, but when I try to encode with the GUI I get this message when selecting ASTC: “Error: astcenc not found. Please download and place in PATH”

    How do I encode using the GUI?
    Also, is it possible to specify mipmap generation via the command line?

    1 user thanked author for this post.

    Hi Brendon,

    Sadly running an application as .app messes with the environment variables. So far we haven’t found any solution that does not requires significant changes in the application.
    There is an easy work-around. Right click on the application to open the bundle. Go to Content/MacOS. Copy a link to the PVRTexToolGUI binary somewhere. Now double clicking that link will bring up PVRTexToolGUI with the full path variables and astcenc will work.
    To generate mipmaps in the commnadline just specify -m <numberofmipmaps>

    Best regards.


    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.