Comments (2)
When you are cross-compiling Go will by default disable CGO, so add CGO_ENABLED=1, which will tell you the real error. The error would be related to you trying to compile for Windows or Darwin using Linux GCC. There are many issues where this is explained.
from raylib-go.
You also have an example in the main README of how to cross-compile from Linux.
from raylib-go.
Related Issues (20)
- Misleading use of color type RGBA. HOT 2
- No function for `GuiLoadIcons` HOT 1
- Cross compiling error HOT 6
- Can't debug via go-delve on M1 MacOS. (missing rodata struct member) HOT 1
- Issues with using DLL on Windows HOT 1
- Adding `SwapScreenBuffer()` and `PollInputEvents()` functions HOT 3
- errors with camera on fedora HOT 3
- Unable to remove status bar from raygui Panels HOT 11
- Not support win7? Is there any way to work with win7? HOT 3
- delve fails to build, can't find utils_log.h HOT 9
- strange errors HOT 2
- Crash after LoadModel / Texture HOT 5
- The android template doesn't load assets on Windows HOT 7
- Request to add ExportWaveAsCode HOT 3
- Can't run without Xinerama HOT 2
- SIGSEGV: segmentation violation HOT 3
- Raylib Go is Slow? HOT 16
- Windows purego errors HOT 3
- How to show CJK chars or fonts in raylib-go 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 raylib-go.