GLFW GLEW GNU+Linux install OpenGL on Ubuntu 22.04

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2022
  • install GLFW & GLEW on Ubuntu 22.04 GNU+Linux
    glfw glew linux install opengl
    opengl linux
    glfw glew linux
    What's shown in this tutorial works on other Ubuntu based GNU OS distributions like Linux Mint , Pop!_OS , ZorinOS
    video made in 2022
    sudo apt install build-essential cmake xorg-dev
    www.glfw.org/download.html
    cmake -G "Unix Makefiles"
    make
    sudo make install
    sudo apt-get install libx11-dev libglu1-mesa-dev freeglut3-dev libglew2.2 libglew-dev libglu1-mesa libgl1-mesa-glx libgl1-mesa-dev libglfw3-dev libglfw3
    compile your program:
    gcc Source.c -o myprogram.elf -Wall -lGL -lGLU -lglut -lGLEW -lglfw -lX11 -lXxf86vm -lXrandr -lpthread -lXi -ldl -lXinerama -lXcursor
    g++ Source.cpp -o my.elf -std=c++11 -Wall -lGL -lGLU -lglut -lGLEW -lglfw -lX11 -lXxf86vm -lXrandr -lpthread -lXi -ldl -lXinerama -lXcursor
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 19

  • @LeonidasArg2021
    @LeonidasArg2021 8 หลายเดือนก่อน +1

    It surprises me that people care about Linux users, thank you a lot

  • @euscorpicus
    @euscorpicus 6 หลายเดือนก่อน +1

    Thx a lot. After spending hours and getting crazy you saved my day.

  • @shinsha_
    @shinsha_ 7 หลายเดือนก่อน

    thank you! worked for me, btw you sound like a league content creator xPetu lol

  • @healro7221
    @healro7221 ปีที่แล้ว +1

    beautiful, just what I needed!

  • @jesusbertaniramirez9681
    @jesusbertaniramirez9681 7 หลายเดือนก่อน

    Love you bro

  • @SJ-yf9xy
    @SJ-yf9xy ปีที่แล้ว

    thanx man, needed this stuff for my practical exams

  • @avinashrajhans8528
    @avinashrajhans8528 7 หลายเดือนก่อน

    It worked!

  • @MidoriyaIzuku-lu5ym
    @MidoriyaIzuku-lu5ym ปีที่แล้ว +2

    why cant you put the steps in the description i think it be alot more easier and quicker for us

  • @dinary8252
    @dinary8252 ปีที่แล้ว

    It works for me!! Thank you!!

  • @Shivam_3567
    @Shivam_3567 4 หลายเดือนก่อน

    Brother i have old pc and here opengl not supported what to dp

  • @aryatandale9185
    @aryatandale9185 ปีที่แล้ว

    🎉

  • @josemiguelcanovilcapaza8353
    @josemiguelcanovilcapaza8353 10 หลายเดือนก่อน

    ty :3

  • @BurninVinyl
    @BurninVinyl 2 หลายเดือนก่อน

    Hi, do I need to compile the "-std=c++11" in order to work?

    • @awuuwa
      @awuuwa  2 หลายเดือนก่อน +1

      I actually don't know, I always use it. To make sure that everything works I showed the exact way I do things in this video whether it's necessary or not.
      My knowledge on this OpenGL topic is barely enough to have made this video. Which is why I made it so that if others are struggling to get this working this video may help. But this as far as my help goes here.

    • @BurninVinyl
      @BurninVinyl 2 หลายเดือนก่อน

      @@awuuwa Anyway I tried without at it compiles with no problem. Thanks again for the video! It was really helpful.

  • @r0nel0
    @r0nel0 ปีที่แล้ว

    Thanks

  • @belcevs
    @belcevs 10 หลายเดือนก่อน

    ty, papu me salvaste la tarea :v

  • @ALEXIS-eq5gr
    @ALEXIS-eq5gr 10 หลายเดือนก่อน

    :)