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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -