Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CDockablePane without Close button Pin
laiboy6-Feb-10 1:41
laiboy6-Feb-10 1:41 
GeneralRe: CDockablePane without Close button Pin
Alexandre GRANVAUD16-May-11 23:09
Alexandre GRANVAUD16-May-11 23:09 
QuestionHow to design a decoder in C++? Pin
kapardhi2-Jun-09 18:04
kapardhi2-Jun-09 18:04 
AnswerRe: How to design a decoder in C++? Pin
CPallini2-Jun-09 21:22
mveCPallini2-Jun-09 21:22 
AnswerRe: How to design a decoder in C++? Pin
Stuart Dootson2-Jun-09 22:55
professionalStuart Dootson2-Jun-09 22:55 
GeneralRe: How to design a decoder in C++? Pin
kapardhi3-Jun-09 18:35
kapardhi3-Jun-09 18:35 
GeneralRe: How to design a decoder in C++? Pin
Stuart Dootson3-Jun-09 21:33
professionalStuart Dootson3-Jun-09 21:33 
GeneralRe: How to design a decoder in C++? Pin
kapardhi4-Jun-09 3:27
kapardhi4-Jun-09 3:27 
Hai!
I am developing the application in Visual studio 2008 using Pocket PC 2003 SDK, which works in my WINCE device.

I imported CxImage CE version and tried to build solution without making any changes (even in jas_config2.h), i get the following errors:

jasper.lib(jpg_dummy.obj) : error LNK2005: jpg_encode already defined in jasper.lib(jpg_enc.obj)
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol read referenced in function file_read
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol write referenced in function file_write
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol lseek referenced in function file_seek
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol unlink referenced in function file_close
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol close referenced in function file_close
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol open referenced in function jas_stream_fopen
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol tmpnam referenced in function jas_stream_tmpfile
jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol setmode referenced in function jas_stream_fdopen
jasper.lib(jpg_enc.obj) : error LNK2019: unresolved external symbol rewind referenced in function jpg_encode
jasper.lib(jpg_enc.obj) : error LNK2019: unresolved external symbol tmpfile referenced in function jpg_encode

then i made the changes suggested by you in jas_config2.h, on disabling
#define HAVE_FCNTL_H 1
i get the following errors

\base\jas_stream.c(253) : error C2065: 'O_RDWR' : undeclared identifier
\base\jas_stream.c(255) : error C2065: 'O_RDONLY' : undeclared identifier
\base\jas_stream.c(257) : error C2065: 'O_WRONLY' : undeclared identifier
\base\jas_stream.c(262) : error C2065: 'O_APPEND' : undeclared identifier
\base\jas_stream.c(268) : error C2065: 'O_CREAT' : undeclared identifier
\base\jas_stream.c(268) : error C2065: 'O_TRUNC' : undeclared identifier
\base\jas_stream.c(285) : warning C4013: 'open' undefined; assuming extern returning int
\base\jas_stream.c(315) : error C2065: 'O_RDWR' : undeclared identifier
\base\jas_stream.c(317) : error C2065: 'O_RDONLY' : undeclared identifier
\base\jas_stream.c(319) : error C2065: 'O_WRONLY' : undeclared identifier
\base\jas_stream.c(324) : error C2065: 'O_APPEND' : undeclared identifier
\base\jas_stream.c(330) : error C2065: 'O_CREAT' : undeclared identifier
\base\jas_stream.c(330) : error C2065: 'O_TRUNC' : undeclared identifier
\base\jas_stream.c(368) : warning C4013: 'tmpnam' undefined; assuming extern returning int
\base\jas_stream.c(371) : error C2065: 'O_CREAT' : undeclared identifier
\base\jas_stream.c(371) : error C2065: 'O_EXCL' : undeclared identifier
\base\jas_stream.c(371) : error C2065: 'O_RDWR' : undeclared identifier
\base\jas_stream.c(371) : error C2065: 'O_TRUNC' : undeclared identifier

then i enabled #define HAVE_FCNTL_H 1 still i get the first set of errors?

How to resolve them??

Thanks!
GeneralRe: How to design a decoder in C++? Pin
Stuart Dootson4-Jun-09 3:31
professionalStuart Dootson4-Jun-09 3:31 
GeneralRe: How to design a decoder in C++? [modified] Pin
kapardhi4-Jun-09 3:49
kapardhi4-Jun-09 3:49 
GeneralRe: How to design a decoder in C++? Pin
Stuart Dootson4-Jun-09 3:59
professionalStuart Dootson4-Jun-09 3:59 
GeneralRe: How to design a decoder in C++? Pin
kapardhi4-Jun-09 21:03
kapardhi4-Jun-09 21:03 
GeneralRe: How to design a decoder in C++? Pin
Stuart Dootson4-Jun-09 21:45
professionalStuart Dootson4-Jun-09 21:45 
GeneralRe: How to design a decoder in C++? Pin
kapardhi5-Jun-09 0:05
kapardhi5-Jun-09 0:05 
GeneralRe: How to design a decoder in C++? Pin
Stuart Dootson5-Jun-09 0:23
professionalStuart Dootson5-Jun-09 0:23 
QuestionUrgent! Smart house with SMS project Pin
ericyeoh2-Jun-09 16:33
ericyeoh2-Jun-09 16:33 
QuestionRe: Urgent! Smart house with SMS project Pin
CPallini2-Jun-09 21:39
mveCPallini2-Jun-09 21:39 
QuestionMFC Process Pin
duongcntt4b2-Jun-09 15:39
duongcntt4b2-Jun-09 15:39 
QuestionRe: MFC Process Pin
David Crow2-Jun-09 16:52
David Crow2-Jun-09 16:52 
AnswerRe: MFC Process Pin
Stephen Hewitt2-Jun-09 20:34
Stephen Hewitt2-Jun-09 20:34 
AnswerRe: MFC Process Pin
duongcntt4b2-Jun-09 21:26
duongcntt4b2-Jun-09 21:26 
GeneralRe: MFC Process Pin
David Crow3-Jun-09 2:34
David Crow3-Jun-09 2:34 
QuestionC and C++ malloc and free Pin
jobin0070072-Jun-09 11:59
jobin0070072-Jun-09 11:59 
AnswerRe: C and C++ malloc and free Pin
John R. Shaw2-Jun-09 13:40
John R. Shaw2-Jun-09 13:40 
QuestionHelp compiling a library program in 'C' [modified] Pin
warpbro2-Jun-09 11:11
warpbro2-Jun-09 11:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.