lib allegro 5 on clion

Answered

I have a project to make it using the library allegro 5, i already have built the project, but it was on visual studio. I want to know, please, if there is a way to use the allegro on CLion, importing the libs, includes and the BIN. thank you

0
1 comment

Hi!

You need to correctly specify include_directories, link_directories and target_link_libraries in the CMakeLists file. Have you tried the CMakeLists file suggested in stackoverflow?

By the way, we have a quick CMake tutorial in our web help, it contains some tips, for example, about including libraries. Hope it will be helpful.

0

Please sign in to leave a comment.