c++ - How to compile using CodeBlocks -


i download libcurl http://curl.haxx.se/download.html (zip type), after extract, notice there include , lib folder has source codes, copy codeblocks project , include it, when build show error

fatal error: curl/curlbuild.h: no such file or directory 

the file inside include folder , have included in project

this project structure create compile libcurl

i new in c++ , using codeblocks, plan compile libcurl library static lib file , include in project, how do it? please help, since libcurl default come dsw microsoft visual c++ project file , need compile codeblocks (gnu gcc)

according docs/install file in curl's source archive, should build curl command line. if using mingw (bundled codeblocks), need make sure mingw bin directory in path variable (set path=<path_to_mingw>\bin;%path%) , run mingw32-make mingw32 in curl's root directory


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -