Hi Jordi,
Well, I am back at square one again. Some how I was able to run the Examples
application and get the former error message I showed you and I did find the
vc90 files on my system. So, removed them from my system.
I believe those files were installed when I attempted to install MySql
Workbench which requires .Net Framework 3.x.
I must use windows right now because I am porting from Ubuntu to Windows as per
a customer requirement to have my 3d Viewer run on both platforms. So, for me,
it is imperative that I get osgvp running on Windows XP.
Well, I have the same error again:
Loading jniosgvpviewer from resources
java.io.FileNotFoundException: Unable to locate win32/bin/jniosgvpviewer.dll in
class path
at org.gvsig.NativeLoader.extractLibrary(NativeLoader.java:99)
This turn of events is extremely confusing. I have included pictures of my
eclipse setup. My CLASSPATH in Eclipse is:
C:\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-osgvp\target\target_cmake\lib;c:\documents
and settings\allen\.depman\lib;
My PATH in Eclipse is:
C:\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-osgvp\target\target_cmake\bin;c:\documents
and settings\allen\.depman\bin;
Semicolons are necessary on windows to replace the colons between path entries.
For the life of me, I can not figure out what I am doing wrong. I know
jniosgvpviewer.dll is findable and in my path yet the eclipse environment can
not/will not find it. I am using eclipse
and my PATH in my command line tool is:
Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program
Files\Microsoft Visual Studio 8\VC\BIN;C:\Program
Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft
Visual Studio 8\Common7\Tools\bin;C:\Program F
iles\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program Files\Microsoft
Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Mic
rosoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio
8\VC\VCPackages;C:\GTK\bin;C:\PROGRA~1\Borland\
CBUILD~1\Bin;C:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl;C:\Program
Files\PHP\;C:\GTK\bin;C:\WINDOWS\system32;C:\WINDOWS;C
:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio
Shared\DLLShared\;C:\Program Files\doxygen\bin;C:\Program Fi
les\RTI-1.3NGmatrexV5.1\win32-vc71\bin;C:\Program Files\MySQL\MySQL Server
5.0\bin;C:\Program Files\QuickTime\QTSystem\;
C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program
Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Fi
les\CMake
2.8\bin;C:\PROGRA~1\FWTOOL~1.7\bin;C:\PROGRA~1\FWTOOL~1.7\python;C:\Program
Files\Java\jdk1.6.0_18\bin;C:\Prog
ram Files\Apache Software Foundation\apache-maven-2.0.10\bin;C:\Program
Files\GnuWin32\bin;C:\Program Files\Apache Softw
are Foundation\apache-ant-1.8.0\bin;C:\PROGRA~1\FWTOOL~1.7\bin;c:\Program
Files\eclipse;C:\osgvp-2.2.0-SNAPSHOT-src\libo
sgvp\libjni-osgvp\target\target_cmake\bin;C:\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-osgvp\target\target_cmake_product\
bin;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program
Files\multidesk\shortcuts;C:\Program Files\IDM Compute
r
Solutions\UltraCompare\;C:\PROGRA~1\FWTOOL~1.7\bin;C:\PROGRA~1\FWTOOL~1.7\python;
And my CLASSPATH in my command line tool is:
CLASSPATH=.;C:\Program
Files\RTI-1.3NGmatrexV5.1\win32-vc71\bin\javaBinding.jar;C:\Program
.;C:\Program Files\RTI-1.3NGm
atrexV5.1\win32-vc71\bin\javaBinding.jar; C:\Program
Files\Java\jre6\lib\ext\QTJava.zip;C:\OSGVP-2.2.0-snapshot-src\libo
sgvp\libNative\target\libNative-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-core\target\libosgvp-c
ore-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-ephemeris\target\libosgvp-ephemeris-2.2.0-SNAPSHOT
.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-examples\target\libosgvp-examples-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0
-snapshot-src\libosgvp\libosgvp-features\target\libosgvp-features-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosg
vp\libosgvp-geometries\target\libosgvp-geometries-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-mani
pulator\target\libosgvp-manipulator-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-planets\target\lib
osgvp-planets-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-steroconfig\target\libosgvp-stereoconfig
-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-symboloby\target\libosgvp-symbology-2.2.0-SNAPSHOT.ja
r;
C:\OSGVP-2.2.0-snapshot-src\libosgvp\libosgvp-terrain\target\libosgvp-terrain-2.2.0-SNAPSHOT.jar;
C:\OSGVP-2.2.0-snap
shot-src\libosgvp\libosgvp-viewer\target\libosgvp-viewer-2.2.0-SNAPSHOT.jar;C:\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-
osgvp\target\target_cmake\bin;C:\osgvp-2.2.0-SNAPSHOT-src\libosgvp\libjni-osgvp\target\target_cmake_product\bin
Do you have any suggestions? I just can not understand why the java
application can not find my dll's when I have set both the external environment
variable paths in my command line tool and within eclipse itself.
Best regards,
Allen
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25075#25075
Attachments:
http://forum.openscenegraph.org//files/pic5_193.jpg
http://forum.openscenegraph.org//files/pic3_201.jpg
http://forum.openscenegraph.org//files/pic2_438.jpg
http://forum.openscenegraph.org//files/pic1_203.jpg
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org