From: jan p. <jan...@gm...> - 2012-09-02 15:55:28
|
Hi, I finally managed to build python bindings on Windows, I described the procedure in http://bazaar.launchpad.net/~lib2geom-hackers/lib2geom/trunk/view/head:/README.win32 Please, test and report :) Best regards Jan Pulmann On Wed, Aug 22, 2012 at 10:39 PM, Johan Engelen <jbc...@sw...>wrote: > I think we are all very excited about trying the new Python bindings, so > let's try to get this building on Windows ! > > Jan, can you try to build it on Windows? Or does someone else have to > step up to the plate? > > Cheers, > Johan > > > On 16-8-2012 22:22, Kris De Gussem wrote: > > Compiles successfully now windows, with the bindings switched off. > > > > Regards > > K. > > > > 2012/8/14 jan pulmann <jan...@gm...>: > >> On Mon, Aug 13, 2012 at 10:37 PM, Kris De Gussem > >> <kri...@gm...> wrote: > >>> > >>> Dear all > >>> > >>> I fail to compile lib2geom on windows (64 bit) even when Ragel and > >>> cython are installed. > >>> Still something is not right with cython, see output: > >>> > >>> ==================================== > >>> E:\Inkscapecode\lib2geom>cmake -G "MinGW Makefiles" > >>> -- The CXX compiler identification is GNU 4.6.1 > >>> -- The C compiler identification is GNU 4.6.1 > >>> -- Check for working CXX compiler: c:/mingw/bin/g++.exe > >>> -- Check for working CXX compiler: c:/mingw/bin/g++.exe -- works > >>> -- Detecting CXX compiler ABI info > >>> -- Detecting CXX compiler ABI info - done > >>> -- Check for working C compiler: c:/mingw/bin/gcc.exe > >>> -- Check for working C compiler: c:/mingw/bin/gcc.exe -- works > >>> -- Detecting C compiler ABI info > >>> -- Detecting C compiler ABI info - done > >>> -- gtk+-2.0 Includes, Compile and Link Flags: FOUND > >>> -- gtkmm-2.4 Includes, Compile and Link Flags: FOUND > >>> -- cairomm-1.0 Includes, Compile and Link Flags: FOUND > >>> -- cairo Includes, Compile and Link Flags: FOUND > >>> -- gsl Includes, Compile and Link Flags: FOUND > >>> -- blas Includes, Compile and Link Flags: NOT FOUND > >>> -- pycairo Includes, Compile and Link Flags: NOT FOUND > >>> -- boost: FOUND ( C:/devlibs/include ) > >>> -- Performing Test HAVE_SINCOS > >>> -- Performing Test HAVE_SINCOS - Failed > >>> -- Performing Test HAVE_ROUND > >>> -- Performing Test HAVE_ROUND - Success > >>> -- Performing Test HAVE_TRUNC > >>> -- Performing Test HAVE_TRUNC - Success > >>> CMake Warning (dev) at CMakeLists.txt:15 (LINK_DIRECTORIES): > >>> This command specifies the relative path > >>> > >>> src/2geom > >>> > >>> as a link directory. > >>> > >>> Policy CMP0015 is not set: link_directories() treats paths relative > to the > >>> source dir. Run "cmake --help-policy CMP0015" for policy details. > Use the > >>> cmake_policy command to set the policy and suppress this warning. > >>> This warning is for project developers. Use -Wno-dev to suppress it. > >>> > >>> CMake Error at > c:/cmake/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cm > >>> ake:97 (MESSAGE): > >>> Could NOT find Cython (missing: CYTHON_EXECUTABLE) > >>> Call Stack (most recent call first): > >>> > c:/cmake/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 > (_FPH > >>> SA_FAILURE_MESSAGE) > >>> CMakeScripts/FindCython.cmake:29 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) > >>> CMakeScripts/UseCython.cmake:76 (find_package) > >>> src/2geom/CMakeLists.txt:178 (include) > >>> > >>> > >>> -- Configuring incomplete, errors occurred! > >>> ==================================== > >>> > >>> Is it possible that this error is resulting from the ongoing GSoc > project? > >>> Is something missing in my cython installation, does the cmake script > >>> need some update for windows? > >>> Finally, is it possible to add an option to compile without cython and > >>> update both README.win32 and mingwenv.bat (with the cython and > >>> possibly other missing paths)? > >>> > >>> Kind regards > >>> K > >>> > >>> > ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. > Discussions > >>> will include endpoint security, mobile security and the latest in > malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Lib2geom-devel mailing list > >>> Lib...@li... > >>> https://lists.sourceforge.net/lists/listinfo/lib2geom-devel > >> > >> Hi, I added option to turn cython bindings on/off - it's off by > >> default. It's pushed in the repository now, I hope it will work. > >> Best regards > >> Jan Pulmann > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Lib2geom-devel mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/lib2geom-devel > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Lib2geom-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/lib2geom-devel > |