(Msg. 1) Posted: Thu Aug 21, 2008 3:13 pm
Post subject: 'jni.h': No such file or directory when compiling a cpp program Archived from groups: comp>os>ms-windows>programmer>win32, others (more info?)
:\win5\scripts>nmake -f x86-win32.makefile jsp
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd ..\JavaSP\HwAPI
msdev HwAPI.dsp /MAKE "HwAPI - Win32 Release" /NORECURSE
--------------------Configuration: HwAPI - Win32
Release--------------------
Compiling...
HwAPI.cpp
C:\win5\JavaSP\HwAPI\HwAPI.cpp(1) : fatal error C1083: Cannot open
include file:
'jni.h': No such file or directory
jni.h is at C:\Program Files\Java\jdk1.6.0_06\include
I try to add the include path as follows but compile still fail.
C:\win5\scripts>
set INCLUDE=%INCLUDE%;C:\Program Files\Java\jdk1.6.0_06\include
set INCLUDE=%INCLUDE%;C:\"Program Files"\Java\jdk1.6.0_06\include
set INCLUDE=%INCLUDE%;"C:\Program Files\Java\jdk1.6.0_06\include"
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum