VC++ 6.0 LINKING PROBLEM
Edmanuel Eduardo Torres Amaris
edmanuel.torres at ecopetrol.com.co
Wed May 29 18:08:04 EDT 2002
I think that you need first recompile the ga.lib, with the followings
changes into gaconfig.h
// 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
also you need do something changes in your Project Setting
(Project Setting | Link | Ignore Libraries)
With: libcmt
Also set:
(Project Setting | C/C++ | Use run-time library)
With: Multithreaded
Then you will be enable for compile your example in msv6, I was do it and I
When you compile a program, you need the Project Setting too.
>Regards,
>_________________________________________
>Edmanuel E. Torres Amaris
edmanuel.torres at ecopetrol.com.co <mailto:edmanuel.torres at ecopetrol.com.co>
eetorres at lycos.com <mailto: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 <http://www.ecopetrol.com.com>
>Bucaramanga
Colombia
-----Original Message-----
From: yuna [mailto:hyuna at CLEMSON.EDU]
Sent: Wednesday, May 29, 2002 4:19 PM
To: RODRIGUEZ DANIEL; galib at mit.edu
Subject: Re: VC++ 6.0 LINKING PROBLEM
Hi,
I am trying to compile GAlib in Windows 2000 with VC++6.0, but it
always
give me some error information, the problem is the iostream like
"cout", so
could you tell me how you compile GA lib in windows?
Thanks a lot
yuna
----- Original Message -----
From: "RODRIGUEZ DANIEL" <drodriguez at andinatel.com>
To: <galib at mit.edu>
Sent: Wednesday, October 10, 2001 9:27 AM
Subject: VC++ 6.0 LINKING PROBLEM
Gentlemen:
I am using Microsoft Windows 95 and Visual C++ 6.0
I already have builded GA245.lib and runned randtest, ex1, ex2 and
tspdemo,
but,
Linking gademo gives me this error message:
"GA245.lib (GABin2DecGenome.obj) unresolved extend symbol _errno".
?Any idea?
Thanks
Daniel E. RODRIGUEZ
tss at ieee.org <tss at ieee.org>
_______________________________________________
galib mailing list
galib at mit.edu
http://lancet.mit.edu/mailman/listinfo/galib
More information about the galib
mailing list