Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libstdc++ problem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
XSS
n00b
n00b


Joined: 22 Mar 2003
Posts: 26

PostPosted: Fri Jun 06, 2003 1:32 pm    Post subject: libstdc++ problem. Reply with quote

Ja ni har säkerligen haft det eller hört talas om det och nu behöver jag hjälp med det, jag försöker att kompilera ett spel och det säger bara:

"checking for vector.h... no
configure: error: You need to have the libstdc++ headers installed"

Och enligt mina sökningar så finns det lösningar enligt dom själva på problemet, men jag har inte fått en enda att fungera överhuvudtaget, eftersom det finns så många svar på detta så undrar jag om det är någon som verkligen har löst det och inte säger säg kunna lösa det osv. det är väldigt irriterande om inte annat.

Tack för hjälpen.

PS. antar att min GCC version är relevant, den är 3.2.2
Back to top
View user's profile Send private message
b-llwyd
Guru
Guru


Joined: 24 Jul 2002
Posts: 302
Location: Uppsala, Sweden

PostPosted: Mon Jun 09, 2003 4:03 pm    Post subject: Reply with quote

Vad får du för svar om du kör
Code:
gcc-config --get-stdcxx-incdir

?
Back to top
View user's profile Send private message
XSS
n00b
n00b


Joined: 22 Mar 2003
Posts: 26

PostPosted: Wed Jun 11, 2003 7:41 am    Post subject: Reply with quote

Den säger:

/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3
Back to top
View user's profile Send private message
b-llwyd
Guru
Guru


Joined: 24 Jul 2002
Posts: 302
Location: Uppsala, Sweden

PostPosted: Wed Jun 11, 2003 12:26 pm    Post subject: Reply with quote

Menade du /lib/gcc-lib/i686... eller /usr/lib/gcc-lib/i686... ?

Jag har ingen /lib/gcc-lib/... och det har nog inte du heller. kan vara det som är fel.
Back to top
View user's profile Send private message
XSS
n00b
n00b


Joined: 22 Mar 2003
Posts: 26

PostPosted: Wed Jun 11, 2003 12:42 pm    Post subject: Reply with quote

Ehm, missade nog /usr hur nu det kunde gå till...aja, det var inte det som var fel iaf...
Back to top
View user's profile Send private message
()
l33t
l33t


Joined: 25 Nov 2002
Posts: 610

PostPosted: Thu Jun 12, 2003 8:49 pm    Post subject: Reply with quote

vector.h er egentlig foreldet, og man skal bruke filen vector i C++. Men så vidt jeg kan se er den ennå i systemet under /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/backward/, og gcc finner den fint her.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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