[QT06] Using MinGW to compile programs in Sublime Text

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024

Комментарии • 28

  • @OdatNurd
    @OdatNurd  4 года назад +1

    Build Systems Playlist: ruclips.net/p/PLGfKZJVuHW91WyVIitRhcTPD1PTFIPsia
    Make any build interactive with Terminus: ruclips.net/video/etIJMVIvVgg/видео.html

    • @mariasaruchera1350
      @mariasaruchera1350 3 года назад

      How do you set wsl and the default login shell?

    • @OdatNurd
      @OdatNurd  3 года назад +1

      @@mariasaruchera1350 I don't have any experience with using WSL unfortunately, so I'm not sure. Sorry!

  • @izzuddinafif
    @izzuddinafif 3 года назад

    This is actually an underrated tutorial, i am subscribing to you. Thank you very much!

    • @OdatNurd
      @OdatNurd  3 года назад +1

      Thanks so much 😁

  • @cwengaz
    @cwengaz 2 года назад

    You are way too good and I like that you explain everything very well

    • @OdatNurd
      @OdatNurd  2 года назад

      Thanks! Glad I could help out!

  • @denizerkan2838
    @denizerkan2838 2 года назад

    Thank you so much!

  • @ayoubdkhissi
    @ayoubdkhissi 3 года назад

    thanks

    • @OdatNurd
      @OdatNurd  3 года назад +1

      Glad I could help!

  • @masonkubecka9163
    @masonkubecka9163 2 года назад

    I can only compile the code it does not run it. How did you make the menu pop up that had the option to compile and run the code?

    • @OdatNurd
      @OdatNurd  2 года назад

      That's `Tools > Build With...` or the key binding you'll see next to it in the menu. If you're using the shipped build system as I did here, it will show the Run option as one of the options when you do that. You only need to `Build With...` to change the build; once you pick it, you can use the regular `Build` key to keep using the same build without having to pick it every time.

  • @dhiraj.govindvira
    @dhiraj.govindvira 3 года назад

    Hello, sir
    i have one problem not related to sublime text (it's working fine).
    but on my pc mingw g++ compiler take more time to compile code, 4-5 second.
    do you have any solution ?

    • @OdatNurd
      @OdatNurd  3 года назад +1

      Sorry, not really. It can come down to the size of files or the number of libraries linked in some cases. Using a different compiler toolchain might be faster at the expense of more setup time. I'm not sure that's a good tradeoff though.

  • @14ajinkyabrahmakshatriya67
    @14ajinkyabrahmakshatriya67 3 года назад +1

    "__chkstk_ms" problem in sublime text
    how to solve ??

    • @OdatNurd
      @OdatNurd  3 года назад

      That looks like a linker error related to not linking against a library that's needed by your code or one of the other libraries that you're linking with. I don't have any general advice for that other than to do some research and see if the library you're using has any requirements though.

  • @benzflynn
    @benzflynn 4 года назад

    Last comment about using a dedicated IDE for major C / C++ projects makes me wonder if the use of ST + MinGW is aimed at simple things op sys scripts only. ST is principally for coding within file types based on text files (HTML, CSS) and related file types, e.g. .js files.
    No way could it compete with Visual Studio and suchlike.

    • @OdatNurd
      @OdatNurd  4 года назад +2

      Sublime is indeed a text editor and not an IDE. With packages like LSP you can get a lot of IDE-like functionality, and for many that provides the perfect trade-off between power and speed.

  • @TienNguyen-ob9lj
    @TienNguyen-ob9lj 3 года назад

    how to screencast in sublime text 3 ????

    • @OdatNurd
      @OdatNurd  3 года назад +1

      I use a combination of Camtasia and Hitfilm Pro to make my videos; unless you're asking how I get Sublime to record or play back my camera footage in a window, in which case I'm sorry to say that's just an editing trick. :)

    • @TienNguyen-ob9lj
      @TienNguyen-ob9lj 3 года назад

      @@OdatNurd
      I searched on google many times but was unable to record the video on the screen.
      Thank you, sir!

  • @butnarucristi6465
    @butnarucristi6465 3 года назад

    Thank you so much!

    • @OdatNurd
      @OdatNurd  3 года назад +1

      You're welcome, glad I could help!