PunchedTape
PunchedTape
  • 19
  • 40 308
Using CMake Dependencies Effectively (aka like a Ninja)
How to connect CMake projects together in six different ways.
00:00 Intro
01:45 Using other CMake projects in subdirectories
04:56 Export CMake Targets for import into other CMake projects
08:00 Loading Exported Targets from a command-line parameter
09:21 Using the CMake Package Registry
13:00 Using Install, and find_package
17:31 Creating an installable package (debian pkg example)
20:19 Uninstalling Debian packages
มุมมอง: 627

วีดีโอ

ASMR SFML Intro
มุมมอง 2248 หลายเดือนก่อน
Can you model 1,000,000 balls bouncing with OpenGL? This quick video demonstrates how easy it is to use C with the SFML library to do OpenGL graphics.
Keypress events in GTK - Program it yourself: C++ Breakout - Part 2
มุมมอง 5182 ปีที่แล้ว
Breakout using GTK in C . 00:00 Intro 00:34 Key Press Event handling 06:20 How event handling works with GTK 08:49 Key Release Event Handling 10:00 Draw Frame in GTK window using Cairo 15:02 Set frame rate with timer 17:00 More Cairo drawing 19:01 Create Ball 20:40 Cairo Transformation Matrices 23:20 C Constructors (explanation)
Program it yourself: C++ Breakout - Part 1
มุมมอง 1.1K2 ปีที่แล้ว
First of a mini-series programming Breakout in C . Introduction, CMake project setup, and opening a window with GTK / gtkmm.
What’s an event clock? -- Part09 -- NPC Motion
มุมมอง 3112 ปีที่แล้ว
Make non-player characters move in random directions on a timer. Finish the Simple C Game development for beginners series (but it's not the end...). Discord Server: discord.gg/Qq5sAH3nPA Web: punchedtapemedia.com/x11game-part09 Source Code: github.com/punchedtapemedia/x11game 00:00 Intro 01:00 Move NPC automatically on keypress (random-walk) 04:19 Create Time class to track time in nanoseconds...
How to accurately detect collisions -- Part08 -- Rectangle Collision Detection
มุมมอง 5552 ปีที่แล้ว
This video continues the Simple C game engine development tutorial on Linux for beginners by implementing simple rectangle collision detection. I'll use collision detection to let the player eat food (collect items) and be killed by enemies. We'll detect when the player wins and loses and end the game. I'll do a little debugging to give examples of compiler errors and how to fix them. Discord S...
Introduction to CMake Crash Course
มุมมอง 25K2 ปีที่แล้ว
CMake introduction for absolute beginners. How to install CMake, create a CMake Project, use sub-directories, and link to libraries. 00:00 Overview 00:30 Installation 00:48 What does CMake do? 01:21 Quickstart CMake Project 02:32 Building with CMake 03:31 CMake variables, PROJECT_NAME 04:38 Building executables & libraries (static and shared) 06:02 Using project libraries 07:37 Using subdirecto...
Vim is too complicated!
มุมมอง 1542 ปีที่แล้ว
Introduction to vim for absolute beginners. Get up to speed on the basics of vim in just a few minutes. 00:00 Intro 00:31 vim Backstory 01:15 Install vim 01:28 Modes open, close, save files 04:34 Searching 05:56 Jump to line, cut and paste 07:21 Line numbers and word wrap 08:35 Shell commands 09:17 Undo / Redo 09:55 Search & Replace 11:40 Matching {}, [], ()
Simple C++ Game -- Part07 -- Using C++ Structs and Classes to organize code
มุมมอง 4462 ปีที่แล้ว
Part 08: th-cam.com/video/HAPojPO_BfU/w-d-xo.html This video continues the Simple C game engine development tutorial on Linux for beginners by using C structs and classes to organize the code. We will instantiate the C classes / structs with the constructor. I discuss the difference between a struct and a class. I also show you how to use std::rand the C random number generator to get a random ...
Oh no! The player’s gone! -- Part 06 -- Player / Boundary Collision detection
มุมมอง 3072 ปีที่แล้ว
Continues the tutorial of a simple C game engine development on Linux for beginners. We use a simple collision detection method to detect when the player goes out of bounds. Discord Server: discord.gg/Qq5sAH3nPA Web: punchedtapemedia.com/x11game-part06 Source Code: github.com/punchedtapemedia/x11game In this video I will show you: - How to detect collisions such as when the "player" goes out of...
Linux, keypress events? Super easy! -- Part 05 -- Getting user keyboard input on Linux X11
มุมมอง 1.8K2 ปีที่แล้ว
How to program a game in C to get keyboard input on Linux. This continues the Simple C Game development of this series. Discord Server: discord.gg/Qq5sAH3nPA Web: punchedtapemedia.com/x11game-part05 Source Code: github.com/punchedtapemedia/x11game In this video I will show you: - How to move the "player" (a filled rectangle) with user keyboard input in our basic C game engine - How to redraw th...
Linux Graphics Made Easy - Part 04 - How to draw graphics on Linux
มุมมอง 1.3K2 ปีที่แล้ว
C game development tutorial on Linux for beginners. In this video, I'll continue to show you how to develop a very simple game engine in C on Linux. This simple game is a demonstration of C graphics programming. The C source code for this video is provided. I'll show you how to use XSetForeground and XFillRectangle to draw in an X11 window using on Ubuntu Linux. Discord Server: discord.gg/Qq5sA...
Simple C++ Game -- Part 03 -- Refactor into C++ Classes
มุมมอง 5672 ปีที่แล้ว
Part 03 of this series. Next Video: th-cam.com/video/xPA4A7EqjC4/w-d-xo.html Series Overview: The game we will make in this series is kind of like a simplified Pac-Man style game. You will be able to move a character around the window and "eat" food while avoiding the "enemies" and the boundary of the window or it's "Game Over!" Discord Server: discord.com/channels/986595025213349918/9865960551...
Simple C++ Game -- Part 02a -- Extra Credit DEBUG - Display X11 Window and Get Keyboard Input
มุมมอง 4782 ปีที่แล้ว
Part 02a of this series. Next Video Part 03: th-cam.com/video/PTHwzclSBGQ/w-d-xo.html Series Overview: The game we will make in this series is kind of like a simplified Pac-Man style game. You will be able to move a character around the window and "eat" food while avoiding the "enemies" and the boundary of the window or it's "Game Over!" Discord Server: discord.gg/Qq5sAH3nPA In this video I wil...
Simple C++ Game -- Part 02 -- Display X11 Window and Get Keyboard Input
มุมมอง 1.5K2 ปีที่แล้ว
Part 02 of this series. Next Part 03 Refactoring into C Classes: th-cam.com/video/PTHwzclSBGQ/w-d-xo.html Extra Credit Part 02a Debugging: th-cam.com/video/0HqKsLesZZE/w-d-xo.html Series Overview: The game we will make in this series is kind of like a simplified Pac-Man style game. You will be able to move a character around the window and "eat" food while avoiding the "enemies" and the boundar...
Simple C++ Game -- Part 01 -- Introduction, Project Setup and Opening an X11 Display Window
มุมมอง 5K2 ปีที่แล้ว
Simple C Game Part 01 Introduction, Project Setup and Opening an X11 Display Window
Introduction to C++ -- Simplest First Program C++ -- Explanation
มุมมอง 482 ปีที่แล้ว
Introduction to C Simplest First Program C Explanation
Quick Introduction to C++ on Linux -- Simplest First Program
มุมมอง 762 ปีที่แล้ว
Quick Introduction to C on Linux Simplest First Program
Tutorial -- How to Install Ubuntu 20.04 In VirtualBox 6.1 on Windows 10
มุมมอง 2622 ปีที่แล้ว
Tutorial How to Install Ubuntu 20.04 In VirtualBox 6.1 on Windows 10

ความคิดเห็น

  • @guilherme5094
    @guilherme5094 13 ชั่วโมงที่ผ่านมา

    👍

  • @bhagwatshinde-z8n
    @bhagwatshinde-z8n หลายเดือนก่อน

    Amazing 👍

  • @bhagwatshinde-z8n
    @bhagwatshinde-z8n หลายเดือนก่อน

    Thanks for amazing content

  • @Tech_Code127-76
    @Tech_Code127-76 หลายเดือนก่อน

    Me being the only one on Windows 10.

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

    You are an awesome person!

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

    Best CMake tutorial because of the hard to pause list in the beginning.. this is all the programmers need. Super underrated channel!!!!

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

    was it really right to use vim over a proper ide? I don't think so.

  • @HaydnGlenn-g4e
    @HaydnGlenn-g4e 2 หลายเดือนก่อน

    Botsford Plain

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

    I'm watching it for the third time and I still don't understand much. I'll open the window and do everything together with the author, repeating every step. It feels like after fully understanding everything that's in the video, there shouldn't be any problems with Cmake 😎

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

    Please, link on github with project 🥺

  • @aah134-K
    @aah134-K 2 หลายเดือนก่อน

    Best of the best for CMake

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

    very good tutorial ty

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

    Awesome man I’m learning cpp this semester and was getting pretty tired of running g++ -o main main.cpp

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

    14:07. Don’t lie

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

    I have a dlib that is included in the hpp file, and hpp file is used by addlibrary() but when I compile, it said can't find any dlib libarary in my custom hpp file; however, if I include the dlib in the main.cpp, it can find. Just none of the new cpp/hpp custom libraries can find the dlib.

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

    nice keyboard

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

    You need collisions between balls

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

    Great content! I appreciate it is so straightforward. However, I would suggest to make the source code of each example available. Looking for code in the video can be frustrating.

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

    Incredibly helpful for beginner like me ☺ Thank You !

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

    Genius! I've always want a tutorial explaining all ways of using Cmake, because there are simply too many different explanations on the internet (as least not explaining the pros/cons of each). Good job! 👍

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

    Thanks!

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

    I looked at cmakr multiple times before. Thought I would give it another chance. After seeing this I still think it is not much more useful than just make.

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

      For small projects that run on one OS, I would agree. Once they grow past a certain size or complexity, or if you want true cross-platform building capabilities, cmake becomes very useful.

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

      @@PunchedTape I don't know how many oses do you need to make your projects work on. I made few that run on linux and windows in make and there was no problem. I think your video is well done, but I just don't see cmake that useful. It even feels more complicated sometimes with its very strange syntax.

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

      @RukopisyNarnie Yeah, in most cases, the projects I've worked on really only need to run on a single OS. While I've spent a good amount of time with Make, I use CMake by default for everything. I find it is easy enough for me to use and it has the ability to expand to whatever level of complexity I want -- that I prefer it. But, that being said, if Make works for you and you like it better or it makes more sense to your or for your projects, by all means stick with it. If the day ever comes that you reach limitations with Make, you'll easily find alternatives that may address those challenges. Maybe it's CMake, maybe it's something else. I don't like change for the sake of change.

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

    Well done

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

    Concise and to the point. Excellent tutorial. No narcissistic talking head either.

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

      Thanks! I really appreciate that.

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

    What keyboard do you use? It sounds so nice

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

      I have a Razer Huntsman Elite. It has the loud switches. Not everyone loves it, but I do.

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

    Very good tutorial

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

    Really great tutorial. Helped a lot.

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

    keyboard too loud

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

      haha, yeah it's not everyone's favorite, I'll pay attention on the next one.

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

    Very concise video! Just some suggestion. 10:35 Dependents, not dependencies.

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

      Good point!

  • @plaintext7288
    @plaintext7288 5 หลายเดือนก่อน

    Cmake me bust

  • @yoseflopez5141
    @yoseflopez5141 5 หลายเดือนก่อน

    Can't read the code. It's too small.....

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

      I'll be careful to make it larger in future videos. Would it be helpful it I posted it on github or on the web?

  • @insidiousmaximus
    @insidiousmaximus 5 หลายเดือนก่อน

    Cmake me do this, Cmake me do that, Cmaking me crazy!

  • @dotexe3301
    @dotexe3301 5 หลายเดือนก่อน

    I saw this video, and check other videos title and im impressed enough to subscribe, Keep it up, make some more on c/c++ development

  • @andrewminhnguyen9446
    @andrewminhnguyen9446 5 หลายเดือนก่อน

    One of the better ones -- thanks!

  • @BorealScott
    @BorealScott 5 หลายเดือนก่อน

    Useful!

  • @dhadveyash2268
    @dhadveyash2268 5 หลายเดือนก่อน

    Great tutorial man

    • @PunchedTape
      @PunchedTape 5 หลายเดือนก่อน

      Glad you liked it!

  • @MmmBopsPops
    @MmmBopsPops 6 หลายเดือนก่อน

    Yuck! Mechanical keyboard!! We can’t hear you over your stupid clickety clackety!!

  • @devanarayanababu1996
    @devanarayanababu1996 6 หลายเดือนก่อน

    cfbr

  • @theone5312
    @theone5312 6 หลายเดือนก่อน

    Condensed and informative, no BS Loved it

  • @muha0644
    @muha0644 6 หลายเดือนก่อน

    Yeah, I think i'll just stick to normal makefiles...

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

      Doesn't work that well when you have 50 other people working on the project and dependencies

  • @ismbks
    @ismbks 6 หลายเดือนก่อน

    14.07 this is why i have trust issues, why would you do that to me? what did i do?

    • @PunchedTape
      @PunchedTape 6 หลายเดือนก่อน

      Well, maybe it was just a misunderstanding--7 seconds / 60 seconds = .12 minutes. See, now you can be 100% satisfied.

    • @ismbks
      @ismbks 6 หลายเดือนก่อน

      @@PunchedTape hahaha ok, well done

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

      @@PunchedTape but it's 14:08 in listings, so it should be .13

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

      haha, touché! You're right about that. As a stickler for details, you'll surely be an excellent C++ developer!

  • @jking8272
    @jking8272 6 หลายเดือนก่อน

    great video, nice pace

    • @PunchedTape
      @PunchedTape 5 หลายเดือนก่อน

      Glad you enjoyed it

  • @ulyssis
    @ulyssis 6 หลายเดือนก่อน

    thanks! great video. I came here because it says 14 minites, but I ended up watching 2 times and paused multiple times. I am fine with this clickbait.

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

    Easily the clearest and most helpful explanation of this. I've been wanting to dive into C++ after a year of Python. I use Neovim and am reluctant to switch out of it, so every other resources pushing me toward JetBrains IDEs or Visual Studio was a real bummer. Thanks for the awesome tutorial. Really appreciated the "commands used" slide at the beginning.

  • @banamali143
    @banamali143 8 หลายเดือนก่อน

    Awesome 👍

    • @PunchedTape
      @PunchedTape 5 หลายเดือนก่อน

      Thanks 🤗

  • @debajyotimajumder472
    @debajyotimajumder472 8 หลายเดือนก่อน

    thanks! super helpful

    • @PunchedTape
      @PunchedTape 5 หลายเดือนก่อน

      Glad it helped!

  • @d3kuu_
    @d3kuu_ 9 หลายเดือนก่อน

    Thank you, it's very useful

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

    sudo dnf install perl-IPC-Cmd sudo dnf groupinstall "Development Tools" sudo dnf install openssl-devel sudo setenforce 0 sudo dnf install kernel-devel sudo dnf install perl-FindBin sudo dnf install perl-File-Compare sudo dnf install perl-File-Copy sudo dnf install openssl-devel sudo dnf install cpr

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

    Great, straightforward, direct, no BS, fast-paced tutorial.

    • @PunchedTape
      @PunchedTape 5 หลายเดือนก่อน

      I appreciate that! Glad you enjoyed it

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

    Fantastic video, thanks so much 🙏