Comments (3)
I have now got it to compile. I had to do the following
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/* /usr/local/include/
this adds back C headers because apple removed them/ moved them 😎
Then it seems I was using the LM part of my gcc wrong.
gcc program.c -v -I /opt/homebrew/include/ -I /opt/homebrew/opt/xorgproto/include/ -I /opt/homebrew/lib/ -I /opt/homebrew -LM /opt/homebrew/Cellar/libx11/1.7.0/lib/libX11.6.dylib -lX11 -o simple
With it setup like this is now has compiled I need to setup X11 forwarding over SSH to test but will update tomorrow but now I must sleep.
from rawdraw.
Okay well who needs sleep.
I have got it setup and running and will do more tests tomorrow if all is well I will close the issue.
@cnlohr rawdraw can run on M1 not sure if i am the first person to do this but there you go.
from rawdraw.
Fully tested and working I will now close this issue.
from rawdraw.
Related Issues (20)
- Black window on some launches for rawdraw.c (.exe) HOT 3
- Port "triangularizer" for rawdraw from wasm HOT 1
- CNFGTackPoly() only drawing the outline HOT 10
- warning: implicit declaration of function 'tolower' HOT 2
- Print error message if OpenGL is not available HOT 2
- Vulkan Support HOT 3
- CNFGOGL not drawing polygons correcly HOT 3
- CNFGBlitImage transparency HOT 1
- CNFGBlitImage performance HOT 12
- Removal of box functions breaks colorchord HOT 1
- Windriver, CNFGHandleInput, PeekMessage should use HWND 0. HOT 1
- [Android] Idea for handle_input() in CNFGEGLDriver.c HOT 6
- Test application crashes when compiling with clang
- [Windows] Handling function keys needs information from msg.lParam in CNFGHandleInput() HOT 3
- rawdraw.c unable to close
- iOS, macOS support based on vger HOT 4
- Issue with texture wrapping HOT 8
- CNFGSetupFullscreen() Not Implemented for Windows HOT 1
- Add MINGW64 support to makefile HOT 2
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 rawdraw.