openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] .la and link to basename .so


From: Charles Flèche
Subject: Re: [Openexr-devel] .la and link to basename .so
Date: Wed, 11 Sep 2013 00:09:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8

My current interest is to have a working PyIlmBase. I've forked the git repo to https://github.com/charlesfleche/openexr

The patches in the develop branch implement some CMakeLists.txt for IlmBase and PyIlmBase. Building these two subprojects with cmake yields the same artifacts than with autotools, with the following differences :

1. there are no .la files
2. I've only tried to build shared libs so far, and only under Linux
3. there are no links from libName.so -> libName-2_0.so for the time being
4. so of course the package config files use the *-2_0 lib names
5. as I haven't started working on the OpenEXR subproject, PyIlmBaseConfig.h is not generated (according to the docstring this one is only useful for a IlmImf test)

To build IlmBase and PyIlmBase with CMake, I define CMAKE_INSTALL_PREFIX and BUILD_SHARED_LIBS

$ git https://github.com/charlesfleche/openexr.git
[then switch to branch develop]
$ cd openexr
$ mkdir IlmBase-build
$ cd IlmBase-build
$ cmake ../openexr-src-git/PyIlmBase -DCMAKE_INSTALL_PREFIX=/home/charles/src/openexr-install-git -DBUILD_SHARED_LIBS=true
$ make VERBOSE=1
$ make install

(same for PyIlmBase)


You can also run the tests with "make test". A few tests won't pass :
1. in PyImathTest, the function noiseCen is called but defined nowhere
2. in PyImathNumpyTest, the module boostutil doesn't exist hence can not be imported




reply via email to

[Prev in Thread] Current Thread [Next in Thread]