How to make cross-platform games/apps in C++

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

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

  • @happygofishing
    @happygofishing ปีที่แล้ว +34

    Average cmake user, vs average mess of shell and batch scripts enjoyer.

  • @averyocean65
    @averyocean65 ปีที่แล้ว +2

    Very helpful and informative video!

  • @InfiniteCoder01
    @InfiniteCoder01 ปีที่แล้ว +6

    You know @TheCherno? Your path of learning game dev reminds me of mine. I feel like you are going to make your own GUI library at the end, like I did after working with ImGui.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว +7

      I think everyone knows the cherno 🤣
      alsoo
      I have my own gui library 🤣😂 it is inspired by imgui and it is made for menus. You can find it on my git as glui

    • @rmt3589
      @rmt3589 ปีที่แล้ว +2

      Pretty much magically & instantly discovered the Hazel engine & TheCherno when I decided to make my own engine.
      Not sure how, probably the almighty algorithm.

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

    Nice video, I'm very looking forward to watch the WinAPI tutorial :))

  • @Pear64
    @Pear64 3 หลายเดือนก่อน

    THANK YOU SO MUCH FOR THIS

  • @mr.tm-yt
    @mr.tm-yt ปีที่แล้ว +1

    Great video!!! ඞඞ

  • @Evan-fh2zg
    @Evan-fh2zg 3 หลายเดือนก่อน +3

    holy fuck i thought i left my settings on 2x speed

  • @shiru15
    @shiru15 5 หลายเดือนก่อน +9

    i dont understand anything what you say...

    • @notmanciv5016
      @notmanciv5016 4 หลายเดือนก่อน +3

      C++ moment

  • @jhgvvetyjj6589
    @jhgvvetyjj6589 ปีที่แล้ว +2

    In Windows, I can compile C++ without GNU or LLVM, by using Visual C++ 2005 or Digital Mars C++. Are there ways to cross-platform without using GNU/LLVM on any platform?

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

      there probably are but I don't know how exactly. It is called cross compiling. There is nothing about the compiling that is platform specific. There is wsl for windows and you can set it up on visual studio for example. For compiling to linux I think you still have to use gcc or clang because msvc can't comlile to linux as far as I know

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

      You can use ziglang's build system. It can cross compile from any platform to any other. It can compile zig code (duh), as well as C and C++. It comes bundled with a bunch of platform specific headers as well.
      For example you can make a Linux binary that links to gnu libc on windows by just specifying your cross compile target.

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

    HELLO, good video! 💙🌼

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

    how did you test if your program works on mac?

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

      To test on man you need someone with a mac to help you. If you want to port something with opengl on mac you need to use Opengl3.3 I think and set a special flag in glfw or something. Fortunatelly I don't plan porting on mac often

  • @sleepyNovember_project
    @sleepyNovember_project 3 หลายเดือนก่อน +1

    Cherno mentioned +1000xp

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

    Java and JNI make hard to port to android

  • @D---3
    @D---3 ปีที่แล้ว +2

    ho to webgl x android

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

      Never done that 😂😂 but probably railib is your best option

  • @arl-t8d
    @arl-t8d ปีที่แล้ว

    Who tf uses MacOS 💀