Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Upp .dll
Re: Upp .dll [message #26128 is a reply to message #26125] Sat, 03 April 2010 03:48 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I tried this example.
http://java.sun.com/docs/books/jni/html/intro.html

On the command got up to compiling the HelloWorld.c code.
cl -Ic:\java\include -Ic:\java\include\win32 -MD -LD HelloWorld.c -FeHelloWorld.dll

and get this error:
HelloWorld.c
HelloWorld.c(1) : fatal error C1083: Cannot open include file: 'jni.h': No such file or directory

I have included in the path C:\Program Files\Java\jdk1.7.0\include where jni.h is located

PATH=C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Program Files\Java\jdk1.7.0\bin;
C:\Program Files\Java\jdk1.7.0\include;
C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
(the path is all one line)

With cbpporter's MyApps.rar I get the same error when running in theIDE:
C:\MyApps\jni\main.cpp(2) : fatal error C1083: Cannot open include file: 'jni.h': No such file or directory

How do I get the jni.h seen in theIDE (or on the command line)?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [solved, i guess]difficulty with sqlite3 schema
Next Topic: image drawing
Goto Forum:
  


Current Time: Sun Jun 09 03:55:17 CEST 2024

Total time taken to generate the page: 0.01226 seconds