Code Monkey home page Code Monkey logo

Comments (3)

LainShot avatar LainShot commented on August 10, 2024

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.

LainShot avatar LainShot commented on August 10, 2024

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.

Screenshot 2020-12-23 at 02 00 13

@cnlohr rawdraw can run on M1 not sure if i am the first person to do this but there you go.

Screenshot 2020-12-23 at 02 04 25

from rawdraw.

LainShot avatar LainShot commented on August 10, 2024

Fully tested and working I will now close this issue.

from rawdraw.

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.