[Wengophone-devel] Re: r9667 - refactoring of DefineWengoOptions.cmake
You need curl version >= 7.15.2 currently there is not check about libraries version in OWBuild Dave Neary wrote: Tanguy Krotoff wrote: I moved the *_EXTERNAL options to libs/3rdparty/CMakeLists.txt because it's more consistent from an architecture point of vue Now you can compile using your system cURL via CURL_EXTERNAL I tried but the build failed in httptunnel.o in the owhttp directory - any ideas what might be going wrong? Among others I saw a nice warning: /home/dneary/src/wengophone-2.1/wifo/httptunnel/httptunnel.c:62: warning: no previous prototype for ‘WSAGetLastError’ There were some errors in there too. /home/dneary/src/wengophone-2.1/wifo/httptunnel/httptunnel.c:385: error: ‘CURLINFO_LASTSOCKET’ undeclared (first use in this function) /home/dneary/src/wengophone-2.1/wifo/httptunnel/httptunnel.c:563: error: ‘CURLOPT_CONNECT_ONLY’ undeclared (first use in this function) Any idea what version of curl we require? Is there any easy way to check what version of a library is installed at configure time, like with autotools? Cheers, Dave. -- Tanguy Krotoff <[EMAIL PROTECTED]> http://openwengo.org ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] Re: r9667 - refactoring of DefineWengoOptions.cmake
Tanguy Krotoff wrote: > I moved the *_EXTERNAL options to libs/3rdparty/CMakeLists.txt because > it's more consistent from an architecture point of vue > > Now you can compile using your system cURL via CURL_EXTERNAL I tried but the build failed in httptunnel.o in the owhttp directory - any ideas what might be going wrong? Among others I saw a nice warning: /home/dneary/src/wengophone-2.1/wifo/httptunnel/httptunnel.c:62: warning: no previous prototype for ‘WSAGetLastError’ There were some errors in there too. /home/dneary/src/wengophone-2.1/wifo/httptunnel/httptunnel.c:385: error: ‘CURLINFO_LASTSOCKET’ undeclared (first use in this function) /home/dneary/src/wengophone-2.1/wifo/httptunnel/httptunnel.c:563: error: ‘CURLOPT_CONNECT_ONLY’ undeclared (first use in this function) Any idea what version of curl we require? Is there any easy way to check what version of a library is installed at configure time, like with autotools? Cheers, Dave. -- Dave Neary OpenWengo Community Development Manager Email: [EMAIL PROTECTED] ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel
[Wengophone-devel] Re: r9667 - refactoring of DefineWengoOptions.cmake
I moved the *_EXTERNAL options to libs/3rdparty/CMakeLists.txt because it's more consistent from an architecture point of vue Now you can compile using your system cURL via CURL_EXTERNAL It works the same as before Dave Neary wrote: Hi Tanguy, I compile the Wengophone with as many external libraries as is easily doable - iaxclient and libsamplerate which work fine, and ffmpeg and speex (with which I've had trouble as outlined in a previous mail). I liked the way that I could specify which libs I was compiling internally in one central file - should I now change libs/3rdparty/CMakeLists.txt, or add a bunch of options on the command line, to do the same thing? Cheers, Dave. -- Tanguy Krotoff <[EMAIL PROTECTED]> http://openwengo.org ___ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel