kobo / groovyserv

Groovy's startup acceralator.
http://kobo.github.io/groovyserv/
Other
98 stars 10 forks source link

native groovyclient of v0.6 cannot be invoked with Windows 7 64bits #25

Closed nobeans closed 13 years ago

nobeans commented 13 years ago

http://groups.google.com/group/groovyserv/browse_thread/thread/ee85fe9fe292f363

2011/03/22 20:28:31.810 Server started with port: 1961
2011/03/22 20:28:32.159 GroovyServ:RequestWorker:51503: Unexpected error
2011/03/22 20:28:32.159 ---> java.lang.UnsatisfiedLinkError: Unable to load library 'msvcrt20': Não foi possível encontrar o módulo especificado.
2011/03/22 20:28:32.159
2011/03/22 20:28:32.159         at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
2011/03/22 20:28:32.159         at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
2011/03/22 20:28:32.159         at com.sun.jna.Library$Handler.(Library.java:140)
...

according to Paulo:

Then I changed 
LIBC = Native.loadLibrary("msvcrt20", WindowsLibC.class) 
to 
LIBC = Native.loadLibrary("msvcrt", WindowsLibC.class) 
and then I could pass that error. 
Maybe msvcrt is a more portable than msvcrt20....