libais icon indicating copy to clipboard operation
libais copied to clipboard

Generationg *.lib file

Open soccc opened this issue 9 years ago • 3 comments

Hello. I am using QT to implement an application and I would like to use your library in it. However QT requires a *.lib file to be used as a library. I tried to built it using cmake and seemed to have succeeded but I am not getting any file with that format.

Any help would be appreciated.

Thank you.

soccc avatar Sep 03 '15 17:09 soccc

What is a ".lib" file? Are you referring to .a/.so/.dylib/.dll files? Can you point to documentation of what specifically QT is asking for?

schwehr avatar Sep 24 '15 00:09 schwehr

Hello and they you for your reply.

I would like to use the library into QT. QT asks for a *.lib or *.a file as a library (using the wizard window that provides). I couldn't find any of those. I had problems with building your library and also using it. The approach I used was the following in order to generate a lib file: -run cmake . on the command line on the root directory -then open the solution generated on visual studio -then build it using visual studio -then on the debug folder there is the ais.lib file -now on qt put as include file the root folder of the src and as lib file the lib file

However although at compile time this seemed fine with the import statements, etc., at runtime it fails to use the library. I guess .dll files are needed too.

Do you know any other way to build your library and use it in QT ?

I would really appreciate your help.

soccc avatar Sep 24 '15 13:09 soccc

I am also interested in how to do this

oaeide avatar Apr 22 '16 20:04 oaeide