You either have to get libjpeg or remove the file that needs it.
Drew wrote :
That fixed the __dcllspec problem, but it's still not seeing
jpeglib.h. And I tried commenting out this include line, and it
couldn't find error.h, either...both of which are supposed to be
standard C includes. Am I still missing a set of libraries?
On Tue, 21 Dec 2004 21:12:20 +0100, Frederic Bouvier <[EMAIL PROTECTED]> wrote:
Drew wrote :
First, I want to thank you guys for all of your help. You've been
very patient with me, since I'm really clueless as to how to get this
working for the first time...I just want to make sure I get this
compiled right to begin with (and with a stable release), so I avoid
compounding existing problems with my own changes, and have trouble
tracking down their cause.
Anyway, I *think* I'm getting closer. Here are the errors I'm getting now.
error C2381: 'exit' : redefinition; __decllspec(noreturn) differs
fatal error C1083: Cannot open include file: 'jpeglib.h': No such file
That first error is in stdlib.h, which seems a bit bothersome. The
second error is in jpgfactory.hxx, and is and #include <jpeglib.h>.
Is there a standard C++ library I'm missing?
This one is listed in Antoine's message, and you should find it in the
- open "glut.h" that you find in
"%VISUAL_DOT_NET_2003_DIRECTORY%\Vc7\PlatformSDK\Include\GL", find "_CRTIMP void __cdecl
exit(int);", and replace it with
#if _MSC_VER >= 1200
_CRTIMP __declspec(noreturn) void __cdecl exit(int);
_CRTIMP void __cdecl exit(int);
Flightgear-devel mailing list