2012-12-21 05:34:32 -0600 | asked a question | Problems with static OpenCV 2.4.3 and pkg-config When i compile OpenCV with shared libraries enabled it works just fine, but when i disable shared libraries pkg-config is filled with the names of libaries, just the name, not the filenames: gives: As those are not valid -l options i get a gcc error file not found for each "library". I assumed that after the *.a static libraries were generated they wouldn't need their dependencies afterwards. It seems to be a problem when one has only shared libraries of some dependencies. Do i need static libraries of every name appearing in the list? As i found by websearch static libraries, e.g. libgcc-static, are not entirely recommended anymore. Still, i need to create a standalone executable for linux. Any help is greatly appreciated. |