🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9197

Re: compilar ejemplo de mysql++

#9197
From: flykys
Date: Sun, 25 Aug 2002 21:40
26 lines
1807 bytes
jG-PPz wrote:
> NotFound escribi� el d�a Dom 25 Ago 2002 21:25 algo como:
> 
> 
>>jG-PPz escribi�:
>>
>>># g++ votaciones.cc -o votaciones -I/usr/local/include 
>>
> -I/usr/include/mysql
> 
>>>votaciones.cc:3:22: sqlplus.hh: No existe el fichero o el directorio
>>>sqlplus.hh esta en /usr/local/include
>>
>>�Como tienes el #include, con "" o con <>?

los includes con <>, y incluyo la iomanip.h y sqlplus.hh


a ver , te digo como lo compilo yo:

# g++ fuente.cpp -o objetivo -I/usr/include/mysql++ -I/usr/include/mysql 
-lsqlplus

  a ver si con esto si que te funciona ;)

flykys
Technical Details
Message-ID: <3d694ed7$1@news.cablecat.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-in-sterling.newsfeed.com!skynet.be!skynet.be!seanews2.seabone.net!garse!news.cablecat.com!docs19-110.menta.net
References: <ak62ih$o8p$1@localhost.localdomain> <3D690D84.2010503@menta.net> <akb50j$ed$1@localhost.localdomain> <3D692F19.1D6CDD6B@tengo.no> <akbc3l$8ll$1@localhost.localdomain>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,ab88c9b361d7cf5
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-08-25 14:45:44 PST
Date: Sun, 25 Aug 2002 23:40:21 +0200
From: flykys <jalcantara@menta.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722
X-Accept-Language: es-es, en-us, en
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion
Subject: Re: compilar ejemplo de mysql++
References: <ak62ih$o8p$1@localhost.localdomain> <3D690D84.2010503@menta.net> <akb50j$ed$1@localhost.localdomain> <3D692F19.1D6CDD6B@tengo.no> <akbc3l$8ll$1@localhost.localdomain>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: docs19-110.menta.net
Message-ID: <3d694ed7$1@news.cablecat.com>
X-Trace: 25 Aug 2002 23:40:39 +0100, docs19-110.menta.net
Lines: 27
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!news-in-sterling.newsfeed.com!skynet.be!skynet.be!seanews2.seabone.net!garse!news.cablecat.com!docs19-110.menta.net