GALIB
Edmanuel Eduardo Torres Amaris
edmanuel.torres at ecopetrol.com.co
Tue May 28 11:27:08 EDT 2002
Hi
>ex1.C
>c:\program files\microsoft visual studio\vc98\include\eh.h(32) : fatal
error C1189: #error : "eh.h is only for C++!"
>Error executing cl.exe.
>
>ex1.exe - 1 error(s), 0 warning(s)
Use
// By default, we use the old streams library.
#if !defined(USE_OLD_STREAMS) && \
!defined(USE_ANSI_STREAMS) && \
!defined(NO_STREAMS)
#define USE_OLD_STREAMS
//USE_ANSI_STREAMS
#endif
Into gaconf.h and set in:
(Project Setting | Link | Ignore Libraries)
With:
(libcmt)
also set:
(Project Setting | C/C++ | Use run-time library)
with:
Multithreaded
>Regards,
>_________________________________________
>Edmanuel E. Torres Amaris
edmanuel.torres at ecopetrol.com.co
eetorres at lycos.com
>Tel 6356765 - of. 6740406
OSTG> - Optics and Signals Treatment Group
>Universidad Industrial de Santander
>UIS - www.uis.edu.co <http://www.uis.edu.co>
>Oilfield - ICP - ECOPETROL
www.ecopetrol.com.com
>Bucaramanga
Colombia
-----Original Message-----
From: gb [mailto:gb1978911 at 163.com]
Sent: Sunday, May 26, 2002 8:26 PM
To: galib at mit.edu
Subject: Re: GALIB
Nguyen Ngoc Cuong
Sorry i can not give you any advice.I have not used gcc in linux.
The problem that you meet in vc6 maybe for the /TP paramete in
project/setting.
? 2002-05-21 23:04:00 ????
>Dear Sir,
>
>I install the GALIB by the nmake utility successfully. However, I
have encountered the following problem when I try to use the GALIB with
VC++6.0.
>
>ex1.C
>c:\program files\microsoft visual studio\vc98\include\eh.h(32) :
fatal error C1189: #error : "eh.h is only for C++!"
>Error executing cl.exe.
>
>ex1.exe - 1 error(s), 0 warning(s)
>
>Furthermore, if I want to use the GALIB with the compiler such as
gcc then how can I do that?
>
>Could you please help me to resolve this matter?
>
>I am looking forward to your reply.
>
>Thank you very much in advance.
>
>Best regards,
>NC
Yours
usergb
gb1978911 at 163.com
_______________________________________________
galib mailing list
galib at mit.edu
http://lancet.mit.edu/mailman/listinfo/galib
More information about the galib
mailing list