|
|
Classification: |
Java |
Category: |
JNI |
Created: |
09/17/2002 |
Modified: |
03/31/2004 |
Number: |
FAQ-0821 |
Platform: |
Symbian OS v6.0 |
|
Question: I am trying to compile one of the Infoprint JNI example projects but it is giving the following error message:
.\infoprint.cpp(6) : fatal error C1083: Cannot open include file: 'e32std.h': No such file or directory
error U1077: cl : return code ´0x2´
What am I doing wrong?
Answer: The compiler is not finding e32std.h in ..\..\..\epoc32\include folder as it expects. A common reason for this with the 9200
Series is because the C++ SDKs and the Java SDKs (both required for JNI builds) have been installed into separate root folders
following the defaults offered by the installation script (\NokiaCpp for the C++ SDK and \NokiaJava for the Java one). For
JNI builds to work both SDKs must be installed into the same root folder.
This problem is unlikely to arise on later SDKs since Java and C++ components are offered as options in a single installation,
rather than as separate installations.
|
|
|