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 SP5Intel(R) C++ Compiler for 32-bit applications, Version 7.1 Build 20030609ZMicrosoft Windows XP, SP 1OpenSG- 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 04AF6C80We 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 020125ZCopyright (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 systemadministration.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 ___________________________________________________________
<<attachment: osgnsplugin.jpg>>
OSGNSPlugin.tar.gz
Description: GNU Zip compressed data
