I've recently moved over to CodeLite for C development, and i've been trying to get sigil to work for MinGW32.
I've been trying to include it locally from the project settings using the path F:/sigil-mingw32
, where the library is located.
I have the parameter "Compiler/ Include Paths" set to F:/sigil-mingw32/include
And my linker path in "Linker/ Libraries Search Path" set to F:/sigil-mingw32/lib
respectively.
I've set my "Linker/ Libraries" to include the library "libsigil.dll.a", But when i build my project i get the output:
c:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -l-libsigil.dll
And then the build fails. Why is the linker excluding the .a suffix from the library dll file?
question from:https://stackoverflow.com/questions/65649294/codelite-mingw32-cannot-link-to-dll-a-file