| View previous topic :: View next topic |
| Author |
Message |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Mon Aug 10, 2009 9:29 am Post subject: How to reinstall libstdc++ |
|
|
i would like to reinstall libstdc++ because i had a problem with compiling when i included alogrithm it said rand() is not a member of std:: when i wasn't even using the function but it was defined so i changed it to use another function based on the random function right below it. i believe this error was on line 4538.
that being said how can i reinstall libstdc++ so that i can see if it will correct itself after reinstallation
ps: this was in c++/4.3.3/bits.../stl_algo.h |
|
| Back to top |
|
 |
Mon Ouïe
Joined: 05 Jul 2009 Posts: 36
|
Posted: Mon Aug 10, 2009 7:12 pm Post subject: |
|
|
| Juste recompile gcc, but I don't think it'll solve your problem. Are you sure your code and your makefile are both corrects ? |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Mon Aug 10, 2009 8:43 pm Post subject: |
|
|
Are you sure you included
and NOT
| Code: | | #include <stdlib.h> |
_________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Mon Aug 10, 2009 11:27 pm Post subject: |
|
|
| i'm sure because it compiled before then i reinstalled ubuntu and just copied a pspsdk i had compiled a while ago and it didn't work so how can i recompile gcc |
|
| Back to top |
|
 |
Mon Ouïe
Joined: 05 Jul 2009 Posts: 36
|
Posted: Mon Aug 10, 2009 11:36 pm Post subject: |
|
|
| Well... Exactly as when you compiled it, probably with the psptoolchain script. |
|
| Back to top |
|
 |
|