Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-10 Thread Nickolai Medvedev
Hi, Robert. When i compiling OSG 3.4.1 on Visual Studio 2012, got an error:

E: \ OpenSceneGraph-3.4.1-rc1 \ src \ osgUtil \ ShaderGen.cpp (199): fatal 
error C1017: Invalid integer constant expression

This is because of OSG_GLES2_FEATURES, OSG_GLES3_FEATURES and OSG_GL2_FEATURES, 
which are declared as #define bool. Visual Studio does not support #if with 
bool defines.



Cheers,
Nickolai

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71403#71403





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Problem to load images

2017-08-10 Thread Trajce Nikolov NICK
Hi Robert,

I will ... I am in the middle of setting up my laptop with fresh install,
once I am ready I will do so

On Thu, Aug 10, 2017 at 5:08 PM, Robert Osfield 
wrote:

> Hi Nick,
>
> On 10 August 2017 at 15:34, Trajce Nikolov NICK <
> trajce.nikolov.n...@gmail.com> wrote:
>
>> I have the exact same behavior with 3.5.5 with png files. Curious what
>> this can be
>>
>>>
> And any information to help us work out what it might be??
>
> I can't help anyone with so little to go on.  Might as well kick tyres as
> it'll be just as useful.
>
> So please, run OSG_NOTiFY_LEVEL=DEBUG and let us know what the output is.
> Publish the problem image files and a code snippet that can reproduce the
> issue.  Also information on what OS/build tools/OSG version that work don't
> work as really useful.
>
> Robert.
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Problem to load images

2017-08-10 Thread Robert Osfield
Hi Nick,

On 10 August 2017 at 15:34, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:

> I have the exact same behavior with 3.5.5 with png files. Curious what
> this can be
>
>>
And any information to help us work out what it might be??

I can't help anyone with so little to go on.  Might as well kick tyres as
it'll be just as useful.

So please, run OSG_NOTiFY_LEVEL=DEBUG and let us know what the output is.
Publish the problem image files and a code snippet that can reproduce the
issue.  Also information on what OS/build tools/OSG version that work don't
work as really useful.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Problem to load images

2017-08-10 Thread Trajce Nikolov NICK
Hi Robert, Romulo,

I have the exact same behavior with 3.5.5 with png files. Curious what this
can be

Nick

On Thu, Aug 10, 2017 at 7:53 AM, Robert Osfield 
wrote:

> Hi Rômulo,
>
> Given osgivewer --image is work then it suggests that the jpeg file itself
> is OK, and the the OSG's jpeg plugin is OK and being found on loading.
>
> This suggests the error coming from your application for some reason.
> Could you post a code snippet for others to review to see if we can spot
> the cause of the problem.
>
> Also enable verbose debugging to see if this reveals anything i.e.
>
> export OSG_NOTIFY_LEVEL=DEBUG
> osgviewer --image /home/romulo/textures/gray_texture_d.jpg
>
> Finally when posting error messages could you make sure you copy and paste
> them directly into the email to make it possible to grep the OSG sources
> for the error message.  This would help with pinpointing where the error
> message is being generated and might provide some additional clues.
>
> Robert.
>
>
>
> On 7 August 2017 at 23:36, Rômulo Cerqueira 
> wrote:
>
>> Hi,
>>
>> currently I have a problem to load and process image files in my OSG c++
>> code. I got the message:
>>
>>
>> Code:
>> Warning: Error in reading to "/home/romulo/textures/gray_texture_d.jpg".
>>
>>
>>
>> However, this image exists and I can open it using:
>>
>>
>> Code:
>> $ osgviewer --image /home/romulo/textures/gray_texture_d.jpg
>>
>>
>>
>> What might have been?
>>
>> ...
>>
>> Thank you!
>>
>> Cheers,
>> Rômulo[/code]
>>
>> --
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=71379#71379
>>
>>
>>
>>
>>
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org