Hi Jordi,

I know it is - it's I'm doing an in source build, while you must be doing
an out of source build - the GL header is auto-generated.  The GL header
therefore is added via the OPENSCENEGRAPH_OPENGL_HEADER CMake variable -
which is already in the list.

The GL inclusion came in as part of submission and I didn't spot this
overlap. I have checked in the removal of the GL entry.

Thanks for your quick testing,
Robert.

On 25 November 2014 at 14:07, Jordi Torres <[email protected]> wrote:

> Hi Robert,
>
> I'm using Ubuntu 12.04 and a fresh svn copy of osg-trunk. The error I'm
> seeing is :
>
> CMake Error at CMakeModules/OsgMacroUtils.cmake:221 (ADD_LIBRARY):
>   Cannot find source file:
>
>     /home/jtorres/Projects/OpenSceneGraph/osg-trunk/include/osg/GL
>
>   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>   .hxx .in .txx
> Call Stack (most recent call first):
>   src/osg/CMakeLists.txt:420 (SETUP_LIBRARY)
>
> I was surprised too, obviusly the source file does not exist, but it's
> strange that I'm the first to see this error.
>
> Cheers.
>
>
> 2014-11-25 14:45 GMT+01:00 Robert Osfield <[email protected]>:
>
>> Hi Jordi,
>>
>> On 25 November 2014 at 11:28, Jordi Torres <[email protected]>
>> wrote:
>>
>>> The GL header in src/osg/CMakeLists.txt is not needed anymore, it was
>>> causing a cmake configuration failure in my Ubuntu system.
>>>
>>
>> The TARGET_H header list is used in various parts of the CMake system,
>> such as the install and library setup, so including all the osg GL should
>> be appropriate.
>>
>> What issue are you seeing?  What version of Ubuntu are you using?  I'm
>> using Kubuntu 14.10 and it's configuring fine and building without errors.
>>
>> Robert.
>>
>>
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>>
>
>
> --
> Jordi Torres
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to