|
Problem with linker |
bhq009
Member #15,812
November 2014
|
Hello, I have problem with setting up Allegro on my computer. I am using Code::Blocks and this is error that appears: mingw32-g++.exe: error: unrecognized command line option '-static-libstdc++' My linker options are: What could I do wrong? I did everything like shown in the tutorial: |
Edgar Reynaldo
Major Reynaldo
May 2007
|
They start with two dashes -- --static-libstdc++ My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Bruce Pascoe
Member #15,931
April 2015
|
@Edgar:
|
beoran
Member #12,636
March 2011
|
I fixed it. |
Thomas Fjellstrom
Member #476
June 2000
|
Bruce, if you have an allegro.cc account, you have edit access to the wiki. -- |
bhq009
Member #15,812
November 2014
|
Well, now I have two errors: mingw32-g++.exe: error: unrecognized command line option '--static-libstdc++' I'm using MinGW compiler that was added to Code::Blocks, I haven't downloaded it separately. Can this be the problem? |
Bruce Pascoe
Member #15,931
April 2015
|
Thomas Fjellstrom said: Bruce, if you have an allegro.cc account, you have edit access to the wiki. Thanks, didn't realize. I originally suspected that might be the case, but the wiki didn't log me in automatically so then I figured maybe I was wrong. Just clicked the login button though and it signed me in automatically.
|
Thomas Fjellstrom
Member #476
June 2000
|
Bruce Pascoe said: the wiki didn't log me in automatically so then I figured maybe I was wrong. Just clicked the login button though and it signed me in automatically. Yeah, it doesn't query allegro.cc every page view to see if a user is a member or not. Just when you click the login link. After that, it remembers you're logged in till the cookie goes away (or the server side session entry is somehow lost). -- |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Edit- Don't edit it yet. It appears I am wrong, and it is a single dash in front of the options :
-static-libgcc bhq009 - which version of MinGW are you using? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
bhq009
Member #15,812
November 2014
|
I have downloaded MinGW 4.8 and now it works! It seems that compiler added to Code::Blocks was outdated. I think. Thank You for your help. |
|