Skip to content
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

GLMakie 0.9 uses PackageCompiler to transplant the program "display(fig)" error. however GLMakie 0.8 does not have it. #3489

Open
13299118606 opened this issue Dec 19, 2023 · 2 comments
Labels
bug GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. Integration with other packages maybe outdated/fixed TODO: review

Comments

@13299118606
Copy link

13299118606 commented Dec 19, 2023

GLMakie 0.9.3 uses PackageCompiler to transplant the program display error. GLMakie 0.8.6 does not have it

Platform windows10 x64
Target platform windows10 x64
Package version: PackageCompiler v2. 1.7

Previous version: GLMakie 0.8.6
Upgraded version: GLMakie 0.9.3

Previously, I used GLMakie 0.8.6 in the package, which worked successfully on other computers. However, after upgrading to GLMakie 0.9.3, an error occurred. The package code is as follows:

module SgycutguiAPP
using GLMakie
function glmakie09()
     fig= Figure(resolution=(700, 900))
     println("Create window")
     sgycutwindow = display(GLMakie.Screen(title="glmakie093"), fig)  #display(fig) has the same result
     println("display window")
end
function julia_main()::Cint
     @time  glmakie09()
     println("press any key to exit the program")
     readline()
     GLMakie.closeall()
     return 0
end
end
if abspath(PROGRAM_FILE) == @__FILE__
     julia_main()
end

Once the display command is used, an error like this will be displayed.

Create window
  SystemError: opening file "C:\\Users\\Administrator\\.julia\\packages\\GLMakie\\29Rzq\\assets\\shader\\postprocessing/fullscreen.vert": No such file or director
@t-bltg t-bltg added the GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. label Dec 26, 2023
@bjarthur
Copy link
Contributor

@13299118606 this might have been fixed on the very day you posted this issue. see #3490. can you please try again to see if the problem persists?

@bjarthur
Copy link
Contributor

see also #1480 (comment)

@ffreyer ffreyer added maybe outdated/fixed TODO: review Integration with other packages labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. Integration with other packages maybe outdated/fixed TODO: review
Projects
None yet
Development

No branches or pull requests

4 participants