[galib] Compiling GALib 2.4.6 with VC++.NET

Ing. Mónica R. Guajardo monica.guajardo at itesm.mx
Mon Feb 7 10:56:15 EST 2005


 Thanks..

I did so, but now the following message appears
e:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cerrno(18):
error C2773: #import and #using available only in C++ compiler

Do I have to disable something else?  Or enable ?

Mónica



-----Original Message-----
From: Willem [mailto:willem.duminy at gmail.com] 
Sent: Lunes, 07 de Febrero de 2005 04:26 a.m.
To: Ing. Mónica R. Guajardo
Cc: galib at mit.edu
Subject: Re: [galib] Compiling GALib 2.4.6 with VC++.NET

Hello,
One way to solve this one is simply to switch off precompiled headers:
 - Go to menu item Project | Properties.
 - Change configuration to "All configurations"
 - Click on C/C++, then on Precompiled headers.
 - Select "Not Using Precompiled Headers" as the value for the first item on
the right.
Regards,
Willem


On Sun, 6 Feb 2005 22:42:31 -0600, Ing. Mónica R. Guajardo
<monica.guajardo at itesm.mx> wrote:
> 
> 
> Hi to all, 
> 
> I found the GALib very useful, and now I am trying to install the latest
> version of the GALib on Visual Studio C++.Net 2003. I have an error
message
> and can´t get the version to compile. I show the steps I followed:
> 
> 1.  I downloaded the ga.zip file and created a ga folder on my hard disk. 
> 2.  I created a project named ga.lib and added the "source" and "header"
> files from the ga.zip. 
> 3.  I specified the following: 
>         a.      In gaconfig.h  I added the line #define NO_STREAMS 
>         b.         In the project properties dialog, c++/advanced/ calling
> convention selected the _cdecl (/Gd) 
>         c.      In the project properties dialog, linker/input   and set
the
> Additional dependencies as: 
>                 ga.lib 
>                 msvcprtd.lib 
>                 msvcrtd.lib 
>                 LIBCMT.lib 
>         d.      In the project properties dialog, linker/Input   and set
the
> Ingore Specific Library as: 
>                 msvcprtd.lib 
>                 msvcrtd.lib 
>                 LIBCMT.lib 
>         e.      In the project properties dialog, linker/General /
> additional Library Directores place the file directory of the galib files
I
> decompressed.
> 
> 4. When "building" my project, the following error message appears: 
> 
> e:\Master\Myproy\GALib\galib246\ga\GATreeGenome.C(350): fatal error C1010:
> unexpected end of file while looking for precompiled header directive
> 
> Does anyone has any clue?  
> 
> Thanks for your help and comprenhension. 
> 
> Monica 
> 
> Ing. Mónica Raquel Guajardo 
> Tech of Monterrey
> Email:  monica.guajardo at itesm.mx 
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://mailman.mit.edu/mailman/listinfo/galib
> 
> 
>



More information about the galib mailing list