- 19
- 40 308
PunchedTape
United States
เข้าร่วมเมื่อ 11 ก.ย. 2021
Software Development. In particular, C++.
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
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
👍
Amazing 👍
Thanks for amazing content
Me being the only one on Windows 10.
You are an awesome person!
Best CMake tutorial because of the hard to pause list in the beginning.. this is all the programmers need. Super underrated channel!!!!
was it really right to use vim over a proper ide? I don't think so.
Botsford Plain
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 😎
Please, link on github with project 🥺
Best of the best for CMake
very good tutorial ty
Awesome man I’m learning cpp this semester and was getting pretty tired of running g++ -o main main.cpp
14:07. Don’t lie
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.
nice keyboard
You need collisions between balls
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.
Incredibly helpful for beginner like me ☺ Thank You !
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! 👍
Thanks!
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.
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.
@@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.
@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.
Well done
Concise and to the point. Excellent tutorial. No narcissistic talking head either.
Thanks! I really appreciate that.
What keyboard do you use? It sounds so nice
I have a Razer Huntsman Elite. It has the loud switches. Not everyone loves it, but I do.
Very good tutorial
Really great tutorial. Helped a lot.
keyboard too loud
haha, yeah it's not everyone's favorite, I'll pay attention on the next one.
Very concise video! Just some suggestion. 10:35 Dependents, not dependencies.
Good point!
Cmake me bust
Can't read the code. It's too small.....
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?
Cmake me do this, Cmake me do that, Cmaking me crazy!
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
One of the better ones -- thanks!
Useful!
Great tutorial man
Glad you liked it!
Yuck! Mechanical keyboard!! We can’t hear you over your stupid clickety clackety!!
cfbr
Condensed and informative, no BS Loved it
Yeah, I think i'll just stick to normal makefiles...
Doesn't work that well when you have 50 other people working on the project and dependencies
14.07 this is why i have trust issues, why would you do that to me? what did i do?
Well, maybe it was just a misunderstanding--7 seconds / 60 seconds = .12 minutes. See, now you can be 100% satisfied.
@@PunchedTape hahaha ok, well done
@@PunchedTape but it's 14:08 in listings, so it should be .13
haha, touché! You're right about that. As a stickler for details, you'll surely be an excellent C++ developer!
great video, nice pace
Glad you enjoyed it
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.
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.
Awesome 👍
Thanks 🤗
thanks! super helpful
Glad it helped!
Thank you, it's very useful
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
Great, straightforward, direct, no BS, fast-paced tutorial.
I appreciate that! Glad you enjoyed it
Fantastic video, thanks so much 🙏