-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems opening PretextViewAI from commandline in MacOSX Ventura #31
Comments
Hi @gitcruz Interesting, never tried to run it via cmdline... will look into the error. Agree, its very helpful to be able to have ability to view more than 1 map. Best |
I got the same issue when opening the local build via the command line: open PretextViewAI.app/ContentMacOS/PretextViewAI
/Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/MacOS/PretextViewAI ; exit;
S/PretextViewAI ; exit;
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/contactMatrixVertex.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/contactMatrixFragment.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/flatVertex.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/flatFragment.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/editVertex.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/editFragment.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/editGeometry.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/uiVertex.shader
Error: Could not open /Users/marpi652/prog/PretextView/build_cmake/PretextViewAI.app/Contents/Resources/src/shaderSource/uiFragment.shader
OpenGL version supported by this platform (4.1 Metal - 89.3):
Failed to link shader: ERROR: Compiled vertex shader was corrupt.
ERROR: Compiled fragment shader was corrupt. And indeed those shaders files are not present in that location. But they are present in the packages folder. And opening the tool via following command works as previously: open ~/prog/PretextView/build_cmake/_CPack_Packages/Darwin/DragNDrop/PretextViewAI-1.0.0-Darwin/ALL_IN_ONE/PretextViewAI.app/Contents/MacOS/PretextViewAI |
Thanks @MartinPippel It works for me when I run it from the package folder /Applications/PretextViewAI.app/Contents/MacOS/PretextViewAI You're right the new excutable might be pointing to these libraries inside the package folder. @additive3 don't you think is better to run PretextView & than having various installs? Best |
Hi, I overcame this adding this alias in my .zshrc: alias PretextViewAI_v1='/Applications/PretextViewAI.app/Contents/MacOS/PretextViewAI &' It woks for the purpose of opening several instances and versions. You can close this issue. Thanks. |
Hi,
I used to work with PretextView v0.2.5 and in order to be able to open two or more instances (and compare several maps side-by-side) I just created a symbolic link to the app in /usr/local/bin/
I've tried to do the same with PretextViewAI (v1.0.0) I can only open it from the App icon but I do get this error from the command line:
myuser@MacBook-Pro ~ % PretextViewAI
Error: Could not open /usr/local/bin/src/shaderSource/contactMatrixVertex.shader
Error: Could not open /usr/local/bin/src/shaderSource/contactMatrixFragment.shader
Error: Could not open /usr/local/bin/src/shaderSource/flatVertex.shader
Error: Could not open /usr/local/bin/src/shaderSource/flatFragment.shader
Error: Could not open /usr/local/bin/src/shaderSource/editVertex.shader
Error: Could not open /usr/local/bin/src/shaderSource/editFragment.shader
Error: Could not open /usr/local/bin/src/shaderSource/editGeometry.shader
Error: Could not open /usr/local/bin/src/shaderSource/uiVertex.shader
Error: Could not open /usr/local/bin/src/shaderSource/uiFragment.shader
OpenGL version supported by this platform (4.1 Metal - 83.1):
Failed to link shader: ERROR: Compiled vertex shader was corrupt.
ERROR: Compiled fragment shader was corrupt.
Do you how i could fix this? I personally like being able to open pretext maps with both versions for now
Thanks
The text was updated successfully, but these errors were encountered: