How to add LIBS correctly?
-
wrote on 7 Aug 2020, 20:58 last edited by
Hi, i'm trying to do some stuff with opencv(for x32 platform), so i followed example provided by QT wiki: https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows_with_MSVC2017
It worked perfectly, everywhere i did everything correctly except last part, where i dont understand how i should write path to my .lib files. In particular, i don't get that -LC thing, what is it? how my path should be written after that:
-
Hi, i'm trying to do some stuff with opencv(for x32 platform), so i followed example provided by QT wiki: https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows_with_MSVC2017
It worked perfectly, everywhere i did everything correctly except last part, where i dont understand how i should write path to my .lib files. In particular, i don't get that -LC thing, what is it? how my path should be written after that:
wrote on 7 Aug 2020, 21:03 last edited by JonB 8 Jul 2020, 21:05@Engelard
Because you have a space in your path, I would have thought it would need to be:-L"C:\Program Files\...\lib" -lopencv_....
No?
That's separate from assuming you know what you have with some
C:
and someD:
:) -
@Engelard
Because you have a space in your path, I would have thought it would need to be:-L"C:\Program Files\...\lib" -lopencv_....
No?
That's separate from assuming you know what you have with some
C:
and someD:
:) -
wrote on 8 Aug 2020, 00:19 last edited by
you're mixing NIX and windoze syntax. Read the docs, Luke.
1/5