hzzc1987 / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Default environment variables not properly internationalized #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Under a German Windows XP JNAerator is not able to detect the default Visual 
Studio/SDK headers, as in the german installation the "Programm Files" folder 
is named "Programme". The default "C:\Program Files\Microsoft Visual Studio 
9.0" is not a valid path here.
Workaround is to set the environment variables before starting JNAerator but 
this doesn't work for the JNLP solution, there the system settings must be 
modified.

Original issue reported on code.google.com by kai.hack...@gmail.com on 19 Jun 2010 at 4:57

GoogleCodeExporter commented 8 years ago
Hi Kai,

Thanks a lot for your report !
I've checked in what I believe to be a fix 
(http://code.google.com/p/nativelibs4java/source/detail?r=1022).

Would you be able to build from sources and check it works on your setup ?
(build instructions are available here, prior to it you just need to install 
Maven : http://code.google.com/p/javacl/wiki/Build)

Cheers
--
Olivier

Original comment by olivier.chafik@gmail.com on 19 Jun 2010 at 10:58

GoogleCodeExporter commented 8 years ago
Hi, Olivier,

Building (without tests) successful, but executing the jnaerator.jar from the 
/jnaerator/bin folder shows still the same result.

Original comment by kai.hack...@gmail.com on 20 Jun 2010 at 12:28

GoogleCodeExporter commented 8 years ago
C:\workspaces\hackemesser\nativelibs4java>java -jar 
\workspaces\nativelibs4java\jnaerator\bin\jnaerator.jar -studio
20.06.2010 12:28:09 com.ochafik.admin.visualstudio.VisualStudioUtils getProp
INFO: [environment] VISUAL_STUDIO_HOME=C:\Program Files\Microsoft Visual Studio 
9.0
20.06.2010 12:28:09 com.ochafik.admin.visualstudio.VisualStudioUtils getProp
INFO: [environment] WINDOWS_SDK_HOME=C:\Program Files\Microsoft 
SDKs\Windows\v6.0A
20.06.2010 12:28:09 com.ochafik.admin.visualstudio.VisualStudioUtils getProp
INFO: [environment] VISUAL_STUDIO_INCLUDES=C:\Program Files\Microsoft Visual 
Studio 9.0\VC\include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

Original comment by kai.hack...@gmail.com on 20 Jun 2010 at 12:29

GoogleCodeExporter commented 8 years ago
Hi Kai,

Maybe you're not using the right Jar : please use 
libraries/jnaerator/jnaerator/target/jnaerator-0.9.4-SNAPSHOT-shaded.jar

cheers

Original comment by olivier.chafik@gmail.com on 20 Jun 2010 at 7:49