简体   繁体   中英

linker error - libraries in SDL - Visual Studio 2010

I used to work with SDL many times before but setting it up is a real pain in the rear. I am getting errors like that: "error LNK2001: unresolved external symbol _SDL_Quit" over and over again. I added directories, added specific libraries to linker (i tried both x32 and x64) and I am still getting same problem. Any ideas?

Do you link against both, the libsdl and libsdlmain libraries. It appears that libsdlmain is missing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM