How to set up VC to avoid 'Fatal Error C1083'?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Istvan (fakeaddress_at_e.mail)
Date: 12/08/04


Date: Wed, 08 Dec 2004 22:49:53 +0100

Hi,

This is a question about include paths in VC++

I am trying to follow the Sun JNI tutorial
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html
The goal is to make Java call a DLL function.

My question would be how to set up the VC++ compiler (Visual Studio .Net
2003) so that it avoids
"...\JNITest\hello.cpp fatal error C1083: Cannot open include file:
'jni.h': No such file or directory"

-where jni.h is in a separate folder.

I have added the jni.h file (along with other necessary .h files) to the
'Solution Explorer',
and I have under Project > Properties > Linker > General added the paths
to these files.

Originally, I started with an empty C++ project in case it has something
to say about how the project had been set up.

Regards
Istvan



Relevant Pages

  • libpthread: Fatal error Thread is not system scope
    ... After some longer work with threaded Java application I got following error: ... Fatal error 'Thread is not system scope. ... Fatal error 'mutex is on list' at line 516 in file ... It is not the first time, this error occures, but it takes time, to trigger ...
    (freebsd-current)
  • V5.1 to V5.1B Upgrade.
    ... I am currently attempting to upgrade from V5.1 to V5.1B and encounter ... a fatal error after a message unable to overwrite files in /usr/.smdb./ to ... Java 1.3.1-2 Environment ... After this it merges the files and then gets a fatal error and it is unable ...
    (Tru64-UNIX-Managers)
  • Cannot start Eclipse with either IcedTea or Oracle Java
    ... # A fatal error has been detected by the Java Runtime Environment: ... # If you would like to submit a bug report, ... # The crash happened outside the Java Virtual Machine in native code. ...
    (Ubuntu)
  • Re: java virtual machine
    ... JavaPlug-in 1.4 Fatal Error ... Java Plug-in 1.3.1_01 cannot be located because values in the registry key ... install software which included Java 2 SDK Standard Edition v1.3.1_04. ...
    (microsoft.public.windowsupdate)