If you could email us a set of Open SG DLLS + plugin which runs, it would be helpful! Just to check out, where to look for the things going wrong.....Emails with many MBs are not a problem for us ... my email-adress is [EMAIL PROTECTED]
Thanks a lot
Desiree
Andreas Zieringer schrieb:
Hi Desiree,sounds bad :-( Can you check via depends.exe that the right OpenSG dll's
are loaded. If this doesn't help I can send you my OpenSG dll's and the
plugin to check for a netscape related problem.
I attached my compile line.Andreas
icl /nologo -Qvc6 -GX -Gi- -Qoption,cpp,--new_for_init -GR -DWIN32
-D_WINDOWS -D
_WIN32_WINNT=0x0400 -DWINVER=0x0400 -D_WIN32_WINDOWS=0x0410 -Qansi_alias
-O2 -Ob
1 -Oy- -MD -DOPTIMIZED_COMPILE -DBOOST_PYTHON_DYNAMIC_LIB
-DBOOST_NO_INTRINSIC_W
CHAR_T -DQT_DLL -DQT_THREAD_SUPPORT -DQT_ACCESSIBILITY_SUPPORT
-DQT_NO_DEBUG -DQ
T_CLEAN_NAMESPACE -D_OSG_HAVE_CONFIGURED_H_
-D__INTEL_COMPILER_VERSION=710 -DOSG
_DEBUG -DOSG_BUILD_DLL -DOSG_WITH_GLUT -DOSG_WITH_QT -DOSG_GV_BETA
-DOSG_OPT_DRA
WTREE /F10485760
/IC:\cygwin\usr\software\qt-3.31\WIN32\inc
lude /IC:\cygwin\usr\software\CG\WIN32\include /TP /IBuilds\WIN32Opt\P
lugins\NS /ISource\Plugins\NS /IC:\cygwin\h
ome\amz\src\OpenSG\Builds\i686-pc-cygwin-icl71\include\OpenSG /c
Source\Plugins\NS\vrNSPlu
gin.cpp /FoBuilds\WIN32Opt\Plugins\NS\vrNSPlugin.obj
vrNSPlugin.cpp> Hi Andreas,
>
> hey thats great! Sounds as if it was a simple job for you :-)
>
> But we still have problems (a crash). We have build a Developer Studio
> Workspace and a project for creating a DLL, then inserted your source
> files. We are using the same settings (Link and Code generation,
> defines, etc) as we use for building another Netscape Plugin which works
> (grapher - a Qt example plugin). We also added some OSG defines, which
> work well in stand alone OSG applications and the OSG libs in the linker
> settings. We are now using the OSG libs dailybuild_170304.
>
> But..... It still crashes in OSG::init. Seems to be a bit different than
> before. Very strange...
> It seems as if there will removed or destroyed some objects, where I
> would expect construction or initialization of some objects (have
> compared the logfile entries to the excerpt of log messages sent by
> Dirk Reiners)....
>
> Our logfile looks this way now:
> INFO: OSGTM : got table lock 01F163B0
> INFO: OSGTM : create -OSGThread- app thread
> INFO: OSGTM : got application thread 01E1A360
> INFO: Point connection type StreamSock removed
> INFO: Point connection type Multicast removed
> INFO: Group connection type StreamSock removed
> INFO: Group connection type Multicast removed
> INFO: INFO: Destroy Singleton FieldFactory
>
> Dont know whats different to your try.... (Grrrrr :-() , but there must
> be a reason, why something is always going wrong. Maybe missing DLLs for
> Qt, OSG or something else? Or a mismatch between header files used for
> building the DLL and libraries or DLLs which will be found at runtime?
> I will try to write a test application which calls the Netscape Plugin
> DLL just to see, if this is also a problem or if the crash has to do
> with something corresponding to our netscape installation.
>
> If you have any idea or any hint, this would be helpful anyway.
>
> These are our preprocessor settings - do you think they are alright?
> /nologo /MD /W3 /GR /GX /O1 /I "$(QTDIR)\include" /I
> "C:\cygwin\usr\local\include\OpenSG" /I "C:\cygwin\usr\local\include" /D
> "_CONSOLE" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D
> "OSGPLUGIN_EXPORTS" /D "_OSG_HAVE_CONFIGURED_H_" /D "OSG_WITH_QT" /D
> __INTEL_COMPILER_VERSION=700 /D WINVER=0x0400 /D _WIN32_WINDOWS=0x0410 /D
> _WIN32_WINNT=0x0400 /D "OSG_BUILD_DLL" /D "OS_WIN32" /D INDEX=INDEX_LINEAR
> /Fo"Release/" /Fd"Release/" /FD /c
>
> Thanks
> Desiree
>
> Andreas Zieringer schrieb:
>
>> Hi Desiree,
>>
>> just wrote a netscape plugin with a OpenSG render widget it depends on
>> QT hope that's not a problem. I attached the code.
>> My environment is windows 2000 MS Visual C++ 6.0 SP5 with icl 6.0
>>
>> Don't forget to link the OSGNSPlugin.res into the dll and add
>> -def:OSGNSPlugin.def to your link line.
>> I attached my link line.
>>
>> I also added the moc generated files (moc_OSGNSPlugin.cpp, moc_qnp.cpp)
>> just remove them if your build system can handle moc.
>>
>> Andreas
>>
>> link /nologo -subsystem:console -incremental:no -opt:noref -NODEFAULTLIB
>> -def:So
>> urce\Plugins\NS\OSGNSPlugin.def /dll
>> /out:Builds\WIN32Opt\Plugins\NS\npOpenSG.dl
>> l /LIBPATH:D:\cygwin\usr\software\glut-3.7\WIN32\lib
>> /LIBPATH:D:\cygwin\usr\soft
>> ware\CG\WIN32\lib
>> /LIBPATH:D:\cygwin\home\amz\src\OpenSG-Exp\Builds\i686-pc-cygw
>> in-icl60\lib /LIBPATH:D:\cygwin\usr\software\qt-3.31\WIN32\lib
>> libirc.lib user32
>> .lib kernel32.lib MSVCPRT.lib MSVCRT.lib libmmd.lib winmm.lib gdi32.lib
>> wsock32.
>> lib oldnames.lib glut32.lib Cg.lib CgGL.lib OSGBase.lib OSGSystem.lib
>> OSGWindowW
>> IN32.lib OSGContrib.lib opengl32.lib glu32.lib qt-mt331.lib
>> Builds\WIN32Opt\Plug
>> ins\NS\OSGNSPlugin.obj Builds\WIN32Opt\Plugins\NS\qnp.obj
>> Builds\WIN32Opt\Plugin
>> s\NS\moc_OSGNSPlugin.obj Builds\WIN32Opt\Plugins\NS\moc_qnp.obj
>> Source\Plugins\N
>> S\OSGNSPlugin.res
>> Creating library Builds\WIN32Opt\Plugins\NS\npOpenSG.lib and object
>> Builds\WI
>> N32Opt\Plugins\NS\npOpenSG.exp
>> scons: done building targets.
>>
>> > Hi Dirk, (hi Peter)
>> >
>> > our environment is:
>> > Visual C++ 6.0 SP5
>> > Intel(R) C++ Compiler for 32-bit applications, Version 7.1 Build
>> > 20030609Z
>> > Microsoft Windows XP, SP 1
>> > OpenSG- Daily Build of 23.10.2003 (this version is running very well as
>> > long as we use it in a window application instead of a DLL/netscape
>> > plugin.)
>> >
>> > I will enclose another logfile. We tried again to find out whats going
>> > wrong. The Netscape Plugin still crashes, but I have to admit, that we
>> > had set the loglevel to INFO and not to DEBUG, so running the plugin
>> > with setting the loglevel to DEBUG gives four messages, instead of
>> three:
>> > DEBUG: OSGThreadManager init
>> > INFO: OSGTM : got table lock 04AF5A60
>> > INFO: OSGTM : create -OSGThread- app thread
>> > INFO: OSGTM : got application thread 04AF6C80
>> >
>> > We have tried to compare it to the logfile output (same log level, same
>> > OSG Version, same environment) of a windows application which runs
>> > without crashing, just to see what to expect as the next message. I
>> will
>> > attach the corresponding log file. So it looks like a crash after the
>> > first four steps of initialization but not as if some initialization
>> > steps are missing before. The logfile of the running application is
>> > longer but it does not look like your Linux output (maybe this has
>> > something to do with the "old" version we are using?).
>> >
>> > Do you expect a newer version to work better? Do you think a newer
>> > version would "survive" the OSG::init ?
>> >
>> > We can send you the Developer Studio workspace and project files, which
>> > we used to build the DLL - if you want to do further investigations
>> > yourself, but I don´t know if it helps?
>> >
>> > Thanks....
>> >
>> > Desiree.
>> >
>> >
>> > Peter Eschler schrieb:
>> >
>> >> > Peter, which compiler did you use?
>> >>
>> >> This is my windows environment:
>> >>
>> >> - Intel(R) C++ Compiler for 32-bit applications, Version 5.0.1 Build
>> >> 020125Z
>> >> Copyright (C) 1985-2002 Intel Corporation. All rights reserved.
>> >> - Microsoft Windows 2000, 5.00.2195, SP2
>> >> - Visual C++ 6.0
>> >> - OpenSG-1.2.0 (with project related patches)
>> >>
>> >> Regards,
>> >> Peter
>> >>
>> >> --
>> >> | "Without music, life would _O_/ \_O_/ | Fraunhofer IGD,
>> >> Darmstadt |
>> >> | be a mistake - I would / )) [] | Peter
>> >> Eschler |
>> >> | only believe in a god who \\ // | Tel.:
>> >> ++49-6151-155-279 |
>> >> | knew how to dance." (Nietzsche) // \\ | Email:
>> >> [EMAIL PROTECTED] |
>> >>
>> >> -------------------------------------------------------
>> >> This SF.Net email is sponsored by: IBM Linux Tutorials
>> >> Free Linux tutorial presented by Daniel Robbins, President and CEO of
>> >> GenToo technologies. Learn everything from fundamentals to system
>> >>
>> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>> <http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click>
>> >> <http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>> <http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click>>
>> >> _______________________________________________
>> >> Opensg-users mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/opensg-users
>> >>
>> > --
>> >
>> >
>> > __________________________________________________________
>> >
>> > Desiree Görrissen
>> > [ geschäftsführerin / informatikerin ]
>> > eMail: [EMAIL PROTECTED]
>> > graphiX
>> > Gesellschaft für Computergrafik,
>> > Numerik und Internetdienste mbH
>> >
>> > Rochusstr. 230-234, 53123 Bonn, Germany
>> > fon: +49 228 52674-0 fax: +49 228 52674-44
>> >
>> > http://www.graphix.de
>> > ___________________________________________________________
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------
>> [Image]
>>
>> Name: OSGNSPlugin.tar.gz
>> OSGNSPlugin.tar.gz Type: Unix Tape Archive (application/x-tar)
>> Encoding: base64
>>
> --
>
>
> __________________________________________________________
>
> Desiree Görrissen
> [ geschäftsführerin / informatikerin ]
> eMail: [EMAIL PROTECTED]
> graphiX
> Gesellschaft für Computergrafik,
> Numerik und Internetdienste mbH
>
> Rochusstr. 230-234, 53123 Bonn, Germany
> fon: +49 228 52674-0 fax: +49 228 52674-44
>
> http://www.graphix.de
> ___________________________________________________________
>
>-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
--
__________________________________________________________
Desiree Görrissen
[ geschäftsführerin / informatikerin ]
eMail: [EMAIL PROTECTED]
graphiX
Gesellschaft für Computergrafik,
Numerik und Internetdienste mbH
Rochusstr. 230-234, 53123 Bonn, Germany
fon: +49 228 52674-0 fax: +49 228 52674-44
http://www.graphix.de
___________________________________________________________
