Hello Johannes,

On 02/20/2012 11:00 AM, Johannes Zarl wrote:
> On Wednesday 15 February 2012, 22:49:41, Carsten Neumann wrote:
>> Can you give me a little bit more info:
>>
>> - is collada-dom installed as a package from your distribution (which
>> one?) or did you build it yourself? Or is this on windows?
>
> We use SLES11.1, but collada-dom is self-compiled and installed in a custom
> folder (we often have more than one version of a library installed in
> parallel, so using standard folders is no option for us).

ok, thanks for the additional info.

>> - do you have details what is not found (e.g. headers, a specific library?)
>
>   - COLLADA_DAE_INCLUDE_DIR: not found
> (should be $COLLADA_ROOT/include/collada-dom)
>
>   - COLLADA_DOM_INCLUDE_DIR: not found
> (should be $COLLADA_ROOT/lib/cmake/collada_dom)
>
>   - COLLADA_LIBRARY_DEBUG: not found
> (should be: not found)
>
>   - COLLADA_LIBRARY_RELEASE: $COLLADA_ROOT/lib/libcollada14dom.so
>
> We use shell modules for setting the environment for locally installed
> packages. From a cmake-point-of-view, the following environment variables
> might be interesting:
> COLLADA_ROOT_DIR ( ->  as advertised in the FindCollada.cmake file)

ah, FindCollada.cmake only picks up cmake variables, not environment 
variables - well, it used to, I just committed a fix that if the 
COLLADA_ROOT_DIR cmake variable is not set, it takes the value of the 
environment variable of the same name.

> CMAKE_PREFIX_PATH (->  that's why cmake can find collada-dom-config.cmake)
>
> If you need more information, please don't hesitate to ask...
>
>> I'm asking because it may simply be a matter of adding another library
>> name to recognize to FindCollda.cmake...
>
> As long as it works, I'm happy...

For me it now picks up collada-dom in a non system directory if the path 
is given either in COLLADA_ROOT_DIR environment or cmake variable.

An additional fix (not relevant for your case I think), also makes it 
correctly check system dirs for the new include directory name 
introduced in version 2.3.1 - so a system installed collada-dom should 
not require explicitly giving COLLADA_ROOT_DIR any more (explicit still 
takes precedence of course).

Hopefully this fixes the problem for you too.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to