Ding's CV note
Wednesday, December 13, 2017
sdl - error when include "sdl.h" 引入標頭檔時的錯誤訊息
在載好SDL2並想要引入"SDL2\SDL.h"時
跑出了如圖的錯誤訊息
---
要修正這個問題需要將下面這行程式碼一起引入
#include "SDL2\SDL.h" #undef main
就可以解決這個問題了
---
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment