[Qt-interest] Fwd: QT OpenCascade application Problem

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Thu Nov 26 13:53:50 CET 2009


It seems from the errors that the problem is with
/share/apps/OpenCASCADE6.3.0/Linux/lib/libTKernel.so.0
in the api may be
0x0000002a95685323 in Handle_Standard_Transient::EndScope ()
Its an opencascade api how can i handle it. is there any problem with the
installation of opencascade !
Any help would be appreciated.

On Thu, Nov 26, 2009 at 4:54 PM, Sujan Dasmahapatra <
sujan.dasmahapatra at gmail.com> wrote:

> yes srdjan thanx now its working i am getting some errors even when i debug
> the sample opencascade.The sample after compilation is not working when i
> debug i am its crashing at this line.
> when i am creating an instantiating Graphic3d_GraphicDevice
> defaultdevice = new Graphic3d_GraphicDevice( aDisplay );  // here its
> crashing
>
> static Handle(Graphic3d_GraphicDevice) defaultdevice;
>     if( defaultdevice.IsNull() )
>         defaultdevice = new Graphic3d_GraphicDevice( aDisplay );  // here
> its crashing
>    return new V3d_Viewer(defaultdevice,aName,aDomain,ViewSize,ViewProj,
>
> Quantity_NOC_GRAY30,V3d_ZBUFFER,V3d_GOURAUD,V3d_WAIT,
>
> ComputedMode,aDefaultComputedMode,V3d_TEX_NONE);
>
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> //errors
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000002a95685323 in Handle_Standard_Transient::EndScope ()
>    from /share/apps/OpenCASCADE6.3.0/Linux/lib/libTKernel.so.0
>
> //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> I have included the lib as
> LIBS += -L/share/apps/OpenCASCADE6.3.0/lib -lTKernel
>
>
> Can anyone tell me whats going wrong in this ! Thanks
>
> On Thu, Nov 26, 2009 at 3:40 PM, Srdjan Todorovic <
> todorovic.s at googlemail.com> wrote:
>
>> On 26/11/2009, Sujan Dasmahapatra <sujan.dasmahapatra at gmail.com> wrote:
>> > I am writing in my *.pro file
>> > CONFIG += qt debug
>> > and while compiling its coming that compilation is on -g mode.
>> > Isnt that sufficient ?
>>
>> Yes it should be.
>> Is it also using the -g option when linking? I think maybe it needs to
>> have -g when linking but I might be wrong.
>>
>> Also if any compilation unit that you want to inspect will also need
>> to be compiled with -g option when compiling.
>>
>> Srdjan
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
>
>
> --
> Thanks & Regards
> S. Dasmahapatra
> B.E. (Aeronautics-Aerodynamics)
> Software programmer
>
> Bangalore, India
> Ph:91-9900839788
> Office:91-80-66470248
> mail id : sujan.dasmahapatra at gmail.com
>



-- 
Thanks & Regards
S. Dasmahapatra
B.E. (Aeronautics-Aerodynamics)
Software programmer
Bangalore, India
Ph:91-9900839788
Office:91-80-66470248
mail id : sujan.dasmahapatra at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091126/f9e20ed7/attachment.html 


More information about the Qt-interest-old mailing list