Insert SDL2 library in Visual Studio for C language

  • program123
    Likes 0

    Problem Description

    How  to insert SDL2 library in Visual Studio for C language?

    SInce it is the C language so I cant use SDL2-devel-2.0.8-VC.zip (Visual C++ 32/64-bit).

    Instead, I use SDL2-devel-2.0.8-mingw.tar.gz (MinGW 32/64-bit) But I discover that MinGW is not commonly used in Visual Studio.

    ​SO how can I insert it for Visual Studio  and for C language?

    ​I would be very grateful if someone can help me with this problem. Thanks a lot.

  • Sonar Systems admin
    Likes 0

    You can setup using C++ and only code for C


    This reply has been verified.
  • program123
    Likes 0

    Thanks for this suggestion.

    But  I need to use main.c since Im a student and it is my homework

    is there any solution instead of using C++?


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

Login to reply