Bug 900 - No newt on windows 7. UnsatisfiedLinkError: jogamp.newt.driver.windows.ScreenDriver.getAdapterName0
Summary: No newt on windows 7. UnsatisfiedLinkError: jogamp.newt.driver.windows.Screen...
Status: RESOLVED INVALID
Alias: None
Product: Newt
Classification: JogAmp
Component: windows (show other bugs)
Version: 1
Hardware: pc_x86_64 windows
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-11-09 16:25 CET by Petros Koutsolampros
Modified: 2013-11-10 14:17 CET (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
Dubug log (2.24 KB, application/octet-stream)
2013-11-09 16:25 CET, Petros Koutsolampros
Details
Test case (2.27 KB, application/octet-stream)
2013-11-09 16:26 CET, Petros Koutsolampros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petros Koutsolampros 2013-11-09 16:25:16 CET
Created attachment 538 [details]
Dubug log

Trying to run a simple test case and get:

Exception in thread "main" java.lang.UnsatisfiedLinkError: jogamp.newt.driver.windows.ScreenDriver.getAdapterName0(I)Ljava/lang/String;
at jogamp.newt.driver.windows.ScreenDriver.getAdapterName0(Native Method)

I'm on:

Macbook Pro Retina 15-inch Early 2013

Windows 7 x64 jvm 64-bit on Parallels or Bootcamp
Comment 1 Petros Koutsolampros 2013-11-09 16:26:27 CET
Created attachment 539 [details]
Test case
Comment 2 Sven Gothel 2013-11-10 07:54:43 CET
Cannot reproduce here on native Window7 (no virtualization)
and Java7 and latest JOGL.
Comment 3 Sven Gothel 2013-11-10 07:55:29 CET
(In reply to comment #2)
> Cannot reproduce here on native Window7 (no virtualization)
> and Java7 and latest JOGL.

Yes, all 64bit.
Comment 4 Sven Gothel 2013-11-10 08:02:31 CET
Please test w/ vanilla 2.1.2 or git tip of master ..
and ensure you are only using these jar files and native libraries!
(Ensure that your lib-path (PATH, property, ext folder) does not contain the newt dll ..)

Looks like somewhat you are mixing native libraries,
i.e. using an old version or something - weird.

Your issue should be also visible w/ a plain unit test of ours, i.e. NEWT GearsES2.

The exception is caused due to not finding the desired native method within
the native library newt.dll -
OR - the newt.dll is linked against something non existing, i.e. unresolved symbol / missing library.

Hence, do our NEWT Applets work ? (Website, 2.1.2)
Comment 5 Sven Gothel 2013-11-10 09:55:07 CET
http://forum.jogamp.org/Can-t-use-NEWT-on-Vista-tp4030559.html

+++

since jogl 2.1.1-rc-20131018 newt.dll imports functions from user32.dll, which are not implemented in vista's user32.dll.

CloseTouchInputHandle
GetTouchInputInfo
RegisterTouchWindow

any solutions/workarounds for this problem? 

+++

Could be related ..
Comment 6 Sven Gothel 2013-11-10 10:00:19 CET
(In reply to comment #5)
> http://forum.jogamp.org/Can-t-use-NEWT-on-Vista-tp4030559.html
> 
> +++
> 
> since jogl 2.1.1-rc-20131018 newt.dll imports functions from user32.dll,
> which are not implemented in vista's user32.dll.
> 
> CloseTouchInputHandle
> GetTouchInputInfo
> RegisterTouchWindow
> 
> any solutions/workarounds for this problem? 
> 
> +++
> 
> Could be related ..

See Bug 901 .. but since you use Windows 7 .. I doubt that.
Comment 7 Petros Koutsolampros 2013-11-10 14:17:28 CET
Was a matter of loading the proper native libraries