https://bz.apache.org/bugzilla/show_bug.cgi?id=65602
Tần Quảng <baobaox...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INFORMATIONPROVIDED Status|NEW |RESOLVED --- Comment #10 from Tần Quảng <baobaox...@gmail.com> --- (In reply to Stefan Eissing from comment #9) > Another thing you might try: > > Make a local cmake project of your own, some simple hello world thing that > links libcurl. See if you can get that working on your system. > > Then we can analyse the differences in your CMakeLists.txt and the one in > Apache. Hello, I tried to create a topic according to your instructions on Apache Lounge. Topic link here: https://www.apachelounge.com/viewtopic.php?p=41211 First, I don't know the syntax used in CMake, so I will use the syntax in Java to explain. The cause of the error is due to the CURL_INCLUDE_DIR and CURL_LIBRARIES variables in CMakeLists.txt file which are declared but not have been initialized. That is why CMake has not been able to find the directory and library file of cURL (Unless you manually indicate the path by -DCURL_INCLUDE_DIR and -DCURL_LIBRARY like the way of nono303). I tried to change a bit, namely the value SET for CURL_INCLUDE_DIR and CURL_LIBRARIES variables inside the CMakeLists.txt file (please see the difference between the default version and the version I changed here: https://www.diffchecker.com/Jre9F4Gr). And praiseworthy, it found cURL and conducted normal compilation! Anyway, I hope you can update this change to fix the problem with cURL in the next versions. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org