Comments (7)
Hello @FrankIT60 !
That's interesting. Can you run the imgui-go-examples? I wonder whether it has something to do with dependencies or direct getting...
from imgui-go.
Hello,
this is
MacBook-Pro-di-Franco:example_glfw_opengl2 francom$ go run main.go -tags 'glfw'
go: downloading github.com/inkyblackness/imgui-go/v2 v2.0.1
go: downloading github.com/go-gl/gl v0.0.0-20181026044259-55b76b7df9d2
go: extracting github.com/inkyblackness/imgui-go/v2 v2.0.1
go: extracting github.com/go-gl/gl v0.0.0-20181026044259-55b76b7df9d2
go: finding github.com/inkyblackness/imgui-go/v2 v2.0.1
go: finding github.com/go-gl/gl v0.0.0-20181026044259-55b76b7df9d2
# command-line-arguments
./main.go:21:19: undefined: platforms.NewGLFW
./main.go:21:41: undefined: platforms.GLFWClientAPIOpenGL2
MacBook-Pro-di-Franco:example_glfw_opengl2 francom$ cd ../example_glfw_opengl3
MacBook-Pro-di-Franco:example_glfw_opengl3 francom$ go run main.go -tags 'glfw'
# command-line-arguments
./main.go:21:19: undefined: platforms.NewGLFW
./main.go:21:41: undefined: platforms.GLFWClientAPIOpenGL3
MacBook-Pro-di-Franco:example_glfw_opengl3 francom$ cd ../example_sdl_opengl2
MacBook-Pro-di-Franco:example_sdl_opengl2 francom$ go run main.go -tags 'sdl'
# command-line-arguments
./main.go:21:19: undefined: platforms.NewSDL
./main.go:21:40: undefined: platforms.SDLClientAPIOpenGL2
MacBook-Pro-di-Franco:example_sdl_opengl2 francom$ cd ../example_sdl_opengl3
MacBook-Pro-di-Franco:example_sdl_opengl3 francom$ go run main.go -tags 'sdl'
# command-line-arguments
./main.go:21:19: undefined: platforms.NewSDL
./main.go:21:40: undefined: platforms.SDLClientAPIOpenGL3
from imgui-go.
Hi,
Seems like one of my commits #69 is the culprit. Instead of passing 0 as default flags, I did refer by their const name - so, instead of default flag 0, it's using HoveredFlagsNone.
@dertseha do you want me to create new PR for the fix or commit it in #79?
from imgui-go.
@supudo - oi! thank you for the investigation, I did not see that.
I fixed the constants online, please try again, @FrankIT60 .
As this fell through manual checks, I think I'll add build automation, so that such things can't happen again :)
from imgui-go.
the same
drwxr-xr-x 4 francom staff 128 22 Gen 13:40 .
drwxr-xr-x 150 francom staff 4800 22 Gen 13:40 ..
drwxr-xr-x 94 francom staff 3008 22 Gen 13:40 imgui-go
drwxr-xr-x 13 francom staff 416 22 Gen 13:40 imgui-go-examples
MacBook-Pro-di-Franco:inkyblackness francom$
MacBook-Pro-di-Franco:inkyblackness francom$
MacBook-Pro-di-Franco:inkyblackness francom$ rm -r imgui-go
override r--r--r-- francom/staff for imgui-go/.git/objects/pack/pack-dccf5ccbb27834e8b0d4644ffdb52dab2650363d.idx? y
override r--r--r-- francom/staff for imgui-go/.git/objects/pack/pack-dccf5ccbb27834e8b0d4644ffdb52dab2650363d.pack? y
MacBook-Pro-di-Franco:inkyblackness francom$ go get -u github.com/inkyblackness/imgui-go
MacBook-Pro-di-Franco:inkyblackness francom$ cd imgui-go-examples/cmd/example_glfw_opengl2
MacBook-Pro-di-Franco:example_glfw_opengl2 francom$ go run main.go -tags 'glfw'
# command-line-arguments
./main.go:21:19: undefined: platforms.NewGLFW
./main.go:21:41: undefined: platforms.GLFWClientAPIOpenGL2
from imgui-go.
OK, I got to my development machine again.
First of all, master
of imgui-go
compiles again - so, that is fixed. Thank you for noticing!
As for your not working imgui-go-examples: The -tags 'glfw'
have to be specified before the .go
file to take effect. After the main file, they are considered as arguments to the run application, not the go tool. So, run the examples with a line such as:
go run -tags 'glfw' main.go
from imgui-go.
Now it's ok. Thanks. I am amazed!!!!
from imgui-go.
Related Issues (20)
- feat: MouseWheel HOT 1
- Exception 0xc0000005 - unknown pc HOT 6
- Breaking Changes in 0feeb7fcffbf1163271bbaf1096839cb73653b05 HOT 2
- Debbuger gets stuck on C.glfwCreateWindow() when imgui is imported. HOT 6
- Font.AddFontFromFileBytes method - feature request HOT 1
- input text multiline: keyboard shortcuts HOT 7
- AddText can't change font. HOT 4
- Thoughts about supporting imgui extensions HOT 3
- panic: Assertion failed! Expression: font && font->IsLoaded() HOT 1
- imgui.Textf for ease of use? HOT 1
- Compile for WASM? HOT 5
- Cant compile for x64 windows architecture. HOT 5
- Iamgi
- Add image rotation or show example of using AddImageV HOT 5
- Add Image::AddImageQuad method HOT 4
- about window drag HOT 1
- GitHub Actions tests fail for Windows HOT 4
- Possible to use input field elements without the simluated window? HOT 2
- Disable assert in imgui HOT 3
- ConfigWindowsMoveFromTitleBarOnly available? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui-go.