Mayorga, Armando CTR NIOC Norfolk N361 wrote:
> Hello all,
>
> Just started using DEV-C++ and download the via the DEV-C++ package
> manager boost, I have need to use the boost regex
> Functions, so upon inspection I have only the library
> "libboost_regex-mgw-mt-s-1_33_1.lib" to link against and I do link
> against it using Project->Project Options->Parameters then adding -l
> "C:\Dev-Cpp\lib\libboost_regex-mgw-mt-s-1_33_1.lib" but still getting
> linker error "no matching function found for call "regex_search.....".
The -l linker-option surrounds the given file-name with `lib' and `.a',
so it will not find anything. Omit the "-l" and it should work. For me,
here, it works that way.
Hope it helps
Peter
|