[Gdal-dev] a question

junshi at mail.ustc.edu.cn junshi at mail.ustc.edu.cn
Mon Dec 1 10:42:27 EST 2003


Dear Sir,

I downloaded the jasper-1.700.5 and my operating system is windows 2000.

I am try to use Microsoft Visual C 6.0 to write a program in my research
of Jpeg2000. But I met a problem.
I used MSVC to bulid a dialog.I added all the h files in the directory
".../libjasper/include/jasper", the c files in the directory
"".../libjasper/base" and the lib file "libjasper.lib" to my project. Then
I added "#include <jasper/jasper.h>" in MytestDlg.cpp.
In "Project->Settings->", I set all the c files in the directory
"".../libjasper/base" as "Automatic use of precompiled headers" (or "Not
using precompiled headers"). Then I built the program, but I foud  eight
errors. These are as followed:

d:Mytest\libjasper\include\jasper\jas_stream.h(131) : fatal error C1083:
Cannot open include file: 'unistd.h': No such file or directory
jas_init.c
d:Mytest\libjasper\include\jasper\jas_types.h(157) : fatal error C1083:
Cannot open include file: 'stdbool.h': No such file or directory
jas_seq.c
Others are the same.

What is the problem? Is it a bug? Would you kindly tell me how to solve it?

Yours sincerely,
Shi Jun




More information about the Gdal-dev mailing list