Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql++ 1.7.9-r2 (welche library nutzen)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
lorschy
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 191

PostPosted: Thu Oct 02, 2003 8:44 pm    Post subject: mysql++ 1.7.9-r2 (welche library nutzen) Reply with quote

hy leute, sagt mal hat schonmal einer von euch mit mysql++-1.7.9-r2 rumgespielt?
ich habe mich genau an das tutorial bei mysql.com gehalten aber nun steh ich vor dem grossen problem das ich meine file nicht gelinked bekomm.

welche library brauch ich denn?
Code:
g++ -o test .test.ccp -lmysqlclien


das ging bisher immer aber mit den neuen codeschnipselnund der neuen include datei mysqlplus.hh geht bei mir garnix mehr.[/code]
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Thu Oct 02, 2003 10:22 pm    Post subject: Reply with quote

Bei mir klappts mit
Code:
g++ filename.cpp -o whatever -I/usr/include/mysql++ -I/usr/include/mysql -lsqlplus -lmysqlclient


...dafür habe ich aber ein anderes Problem...

cvk
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
Frost
n00b
n00b


Joined: 20 Jan 2003
Posts: 7
Location: Dresden, Germany

PostPosted: Mon Sep 13, 2004 8:54 pm    Post subject: Reply with quote

Ich habe ein ähnliches Problem. Ich bekomme bei compilieren folgende Fehlermeldung:

Code:
In file included from /usr/include/mysql++/coldata1.hh:8,
                 from /usr/include/mysql++/sqlplus.hh:12,
                 from bauen.h:10,
                 from bauen.cpp:1:
/usr/include/mysql++/type_info1.hh: In constructor `
   mysql_ti_sql_type_info::mysql_ti_sql_type_info()':
/usr/include/mysql++/type_info1.hh:29: error: uninitialized member '
   mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char'
/usr/include/mysql++/type_info1.hh:29: error: uninitialized member '
   mysql_ti_sql_type_info::_default' with 'const' type 'const bool'


bauen.h sowie bauen.cpp sind dabei meine Dateien.

Die zugehörige Befehlszeile ist:

Code:
g++ -o bauen -I/usr/include/mysql++ -I/usr/include/mysql -lsqlplus -lmysqlclient -lpthread bauen.cpp


Das beste an der Sache ist, dass es vor ca. 2 Monaten funktuioniert hat und ich problemlos compilieren konnte. Allerdings ruhte das Projekt aus Zeitgründen 2 Monate und nun geht es nicht mehr. In der Zwischenzeit habe ich ab und zu ein emerge -u world gemacht.

Irgendwelche Lösungsvorschläge?

Frost
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum