Probably the most common mistake SDL beginners do is this: ... Hang on a second, it's just another Hello, world! program with the SDL.h header included! What could possibly go wrong? Surprisingly, this code fails to link, even if you set up the compiler and the linker correctly. The error's gonna say something similar to this: To fix this, you have to put int main(int argc, char* argv)* instead of **int main(void). But why is it like that? The C language [allows the `in
vcpkg 가 업데이트되어 프로젝트별로 의존성을 관리할 수 있게 됐다. vcpkg 를 처음 접하는 사람도 있을테니, (사실 필자도 처음이다.) 개요와 설치법부터 사용까지 간단히 다루겠다. vcpkg란? vcpkg 는 Microsoft 에서 시작된 오픈소스 C/C++ 패키지 매니저다. C++ 라이브러리를 간단히 설치하고 링크할 수 있게 만들어졌다. 파이썬의 pip, Node.js 의 npm, Rust 의 cargo 등과 비슷한 기능을 한다. 운영체제는 Windows, Linux, macOS 를 지원한다. 빌드 시스템은 MSBuild 와 CMake 를 지원하고, 다른 빌드 시스템과도 부분적으로 호환된다. 내부적으로 라이브러리의 소스코드를 다운받아서 직접 컴파일하는 방식을 사용한다. 왜 미리 빌드된 바이너리를 제공하지 않는지가 궁금하다면 [이 영상](https://www.youtube.com/watch?v=3vXOKkv3ND