Boost in CodeBlocks



  • Hallo,

    ich muss jetzt doch nachfragen, wie ich die Boost-Bibliotheken in CodeBlocks nutzen kann.

    Hat schon lange genug gebraucht, bis ich die Installation scheinbar (?) hin bekommen habe.

    Bisher habe ich

    3.) navigate to the main directory containing "bootstrap.bat" using cmd.
    4.) from the command line enter: bootstrap.bat mingw
    5.) from the command line enter: bjam.exe --toolset=gcc install

    aus http://www.cplusplus.com/forum/lounge/80031/

    und

    Run b2 install --prefix=PREFIX where PREFIX is the directory where you want Boost.Build to be installed
    Add PREFIX\bin to your PATH environment variable.

    aus 5.3.1 in http://www.boost.org/doc/libs/1_51_0/more/getting_started/windows.html

    gemacht.

    Es kommt beim Kompilieren aber immer noch bei den boost-Headern 'No such file or directory'.



  • Ich habe mit CodeBlocks noch nicht gearbeitet, würde aber mal ins Blaue hinein raten: Du hast dem Projekt das Boost-Basisverzeichnis nicht bekannt gegeben (Im Visual Studio steht dies in den Projekteigenschaften unter Zusätzliche Includeverzeichnisse, CodeBlocks hat sicherlich etwas entsprechendes).



  • Ich schätze, ich muss noch was in die Global compiler settings schreiben, aber ich weiß weder wo noch was.


Anmelden zum Antworten