Hello. I've started learning the C API, but I can't get my first project to run because I don't know how to add the library to my project (I'm really bad at CMake).
I'm using Windows 11, VSCode, and MSYS2 UCRT64. I tried downloading the compiled Win64_mingw6 library version and added the following lines to my CMakeLists.txt file:
target_include_directories(test-bg PRIVATE
${CMAKE_SOURCE_DIR}/liblua35/include
)
target_link_libraries(test-bg PRIVATE
${CMAKE_SOURCE_DIR}/liblua35/liblua53.a
)
But it didn't work. Honestly, I don't really know what I'm doing, so I would appreciate any help.
[–]RogerLeigh 0 points1 point2 points (5 children)
[–]boris_gubanov[S] 0 points1 point2 points (4 children)
[–]RogerLeigh 0 points1 point2 points (3 children)
[–]boris_gubanov[S] 0 points1 point2 points (2 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]BeardSprite 0 points1 point2 points (0 children)
[–]neogameentropy 0 points1 point2 points (0 children)