Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) on CMake -


i'm trying use api.ai c++ library on windows 7. (https://github.com/api-ai/libapiai) can not configuring files..

i installed cmake , mingw.

in build directory -> cmake .. -g "mingw makefiles" -> error !!

===>>> error below <<<

cmake error @ c:/program files (x86)/cmake/share/cmake-3.4/modules/findpackagehandlestandardargs.cmake:148 (message):   not find curl (missing: curl_library curl_include_dir) call stack (most recent call first):   c:/program files (x86)/cmake/share/cmake-3.4/modules/findpackagehandlestandardargs.cmake:388 (_fphsa_failure_message)   c:/program files (x86)/cmake/share/cmake-3.4/modules/findcurl.cmake:61 (find_package_handle_standard_args)   cmakelists.txt:45 (find_package) 

i don't know how can solve. curl_library? can use on windows 7? not linux/unix etc..

just search internet curl! it's library transfer data url syntax. can download binaries it's download page or download source code , compile locally. if use nuget, can grab their package instead.

if installed, delete cmakecache.txt file , re-run cmake. if don't want install it, pass -dcurl_library=<curl_lib_path> -dcurl_include_dir=<curl_include_path cmake call.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -