Giter Club home page Giter Club logo

Comments (14)

sairus7 avatar sairus7 commented on July 24, 2024

LOL, compiled MWE app shows GUI, but it is faded:
image

from cimgui.jl.

sairus7 avatar sairus7 commented on July 24, 2024

MWE for this issue, I've run it on Windows:
https://github.com/sairus7/CImGuiApp.jl

from cimgui.jl.

Gnimuc avatar Gnimuc commented on July 24, 2024

Does the JIT-ed version look good?

from cimgui.jl.

sairus7 avatar sairus7 commented on July 24, 2024

Does the JIT-ed version look good?

When I work from REPL, it looks good:

julia> using CImGuiApp

julia> show_gui()
Task (runnable) @0x00000000b8047270

image

from cimgui.jl.

sairus7 avatar sairus7 commented on July 24, 2024

On Ubuntu it is completely invisible:
image

from cimgui.jl.

L1ghtingBolt avatar L1ghtingBolt commented on July 24, 2024

Similar problem. Mine does not open. A GUI appears for half a second and crashes
imagen
I don't have that line in my code so I assume it's from CImGui itself

from cimgui.jl.

Gnimuc avatar Gnimuc commented on July 24, 2024

Which version?

from cimgui.jl.

FaresX avatar FaresX commented on July 24, 2024

I have the same problem when I work with 1.82.0. It works well with 1.79.1.

Julia Version 1.8.5
Commit 17cfb8e65e (2023-01-08 06:45 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × AMD Ryzen 7 5800X 8-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver3)
  Threads: 1 on 16 virtual cores

屏幕截图 2023-03-03 174747
屏幕截图 2023-03-03 174919

from cimgui.jl.

Gnimuc avatar Gnimuc commented on July 24, 2024

cc @pxl-th

from cimgui.jl.

pxl-th avatar pxl-th commented on July 24, 2024

I just tried https://github.com/sairus7/CImGuiApp.jl.
First time deploy/compile_app.sh segfaulted during package compilation with (but that may be a fluke with 1.9 beta):

[10478] signal (11.1): Segmentation fault
in expression starting at /home/pxl-th/code/CImGuiApp.jl/test/runtests.jl:4
unknown function (ip: (nil))
Allocations: 55690543 (Pool: 55669430; Big: 21113); GC: 64

But then I just re-ran it second time and everything worked fine
Screenshot from 2023-03-03 12-36-24

My info:

julia> versioninfo()
Julia Version 1.9.0-beta4
Commit b75ddb787ff (2023-02-07 21:53 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 5800HS with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
  Threads: 16 on 16 virtual cores

(CImGuiApp) pkg> st
Project CImGuiApp v0.1.0
Status `~/code/CImGuiApp.jl/Project.toml`
  [5d785b6c] CImGui v1.82.0 `https://github.com/Gnimuc/CImGui.jl.git#master`
  [e8efc688] ImPlot v0.3.0 `https://github.com/wsphillips/ImPlot.jl.git#main`

from cimgui.jl.

pxl-th avatar pxl-th commented on July 24, 2024

Similar problem. Mine does not open. A GUI appears for half a second and crashes imagen I don't have that line in my code so I assume it's from CImGui itself

Does this error happen with https://github.com/sairus7/CImGuiApp.jl or with something else?

from cimgui.jl.

FaresX avatar FaresX commented on July 24, 2024

I tried https://github.com/sairus7/CImGuiApp.jl and found julia 1.8.5 would reproduce this problem and 1.9.0beta4 not. But as for my app, there is a bug report when I run my .exe compiled through 1.9.0beta4

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0xffffffffffffffff -- unknown function (ip: ffffffffffffffff)
in expression starting at none:1
unknown function (ip: 0000000000000000)
Allocations: 29050549 (Pool: 29032828; Big: 17721); GC: 43

from cimgui.jl.

FaresX avatar FaresX commented on July 24, 2024

I tried https://github.com/sairus7/CImGuiApp.jl and found julia 1.8.5 would reproduce this problem and 1.9.0beta4 not. But as for my app, there is a bug report when I run my .exe compiled through 1.9.0beta4

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0xffffffffffffffff -- unknown function (ip: ffffffffffffffff)
in expression starting at none:1
unknown function (ip: 0000000000000000)
Allocations: 29050549 (Pool: 29032828; Big: 17721); GC: 43

The bug I met was caused by other reasons. My app now can be compiled successfully through julia 1.9.0beta4.

from cimgui.jl.

Kyjor avatar Kyjor commented on July 24, 2024

I had the faded GUI issue with julia 1.8.5. I upgraded to 1.9.0 and I was able to compile successfully as well

from cimgui.jl.

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.