Comments (8)
It's very great news that 3.3 has been released! Waited for that a couple of years.
We should switch to go-gettable glfw instead of brew installed, but go-gl
team has troubles updating go-gl/glfw#219
So I'll just research what could possibly cause your error using the current set of packages.
from demos.
At least it will allow windows, Linux and android builds..
For osx and iOS there is no easy way , but I use a vagrant box that has osx in it. It works very well and is very easy to setup
from demos.
I don't think Docker is a good pipeline for building desktop apps.
It's not that hard to download an .exe
from the official site of GLFW, adding Docker into this won't help a bit.
I had trouble with some of the dependencies.
Then please share your troubles in an issue, so I could improve the docs for the others.
android builds..
Android build requires Android NDK & SDK, not Docker.
from demos.
P.S. you're free to share any scripts that will ease the setup
from demos.
thanks for the advice.
My issue stemmed from getting GLFW setup, so yes forget Docker.
I have android sdk and ndk all setup and been using it for a while.
So back to the real issue:
The issue for me was getting GLFW setup. I am on OSX.
Your Readme says i need GLFW 3.3
I tried brew install but could not get version 3.3 as they dont have it yet.
So i tried to compile and just got lost...
Maybe add to the make file? or maybe some newbie instructions in the readme ?
from demos.
I was writing about master branch in the repo of GLFW, because 3.3 is needed but not yet released. You'll need to compile it with moltenVK support enabled. It autodetects moltenVK.
For OS X / macOS you'll need to install the latest GLFW 3.3 from master https://github.com/glfw/glfw
Which is
git clone https://github.com/glfw/glfw
and follow the GLFW compilation guide using cmake.
from demos.
Update about Docker and cross-platform setups
NVIDIA has a Docker tool for CUDA deployments:
https://github.com/NVIDIA/nvidia-docker
They have a new nvidia-docker 2.0 currently in works, see:
(https://github.com/NVIDIA/libnvidia-container)
That won't be so cumbersome as the first version for CUDA, it will also support ARM and Vulkan. So until then, we will run barebones.
from demos.
update: glfw 3.3 is installed by default on homebrew now with brew install glfw
; however, the vulkancube_glfw demo app fails with a createLayer error. I don't know if this is go-related (v1.12.x) or I've misunderstood the info regarding cmake / the makefile. It built just fine, and detects the hardware through vulkan, it just can't open a window.
from demos.
Related Issues (14)
- Linux Support HOT 2
- iOS and Android open GL running inside flutter
- vulkandraw on linux not working? yet? HOT 4
- vulkaninfo compute not working on linux. HOT 2
- demo vulkan cube sdl2 invalid go HOT 2
- GLFW: use window.Handle() instead of window.GLFWWindow()
- Error finding linmath package HOT 2
- MemCopyFloat32 Deprecated? HOT 2
- Graphics card / os dependencies HOT 5
- panic: vkInit failed HOT 7
- Demos images are broken HOT 1
- Makefile does not work on windows
- go build github.com/vulkan-go/vulkan: invalid flag in #cgo LDFLAGS: -Wl,--allow-multiple-definition HOT 1
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 demos.