User forums > Help

Codeblocks and allegro

(1/4) > >>

download123:
I'Ve a problem  :shock:
I want to use allegro with Codeblocks,
With the dev-pack plugin I installed the allegro plugin,
but now I don't know how i can use allegro,
there is no option to start a new allegro projekt.
And if I starte an empty projekt and
try to use allegro
I get some errors

#include <allegro.h>

int main() {
    allegro_int();
    allegro_message("Hellow World!");
    return 0;
}
END_OF_MAIN();error: allegro_int() undecleare...

sethjackson:
Have you linked in the allegro libs?

download123:
no  :?
... okay liballeg.a linkt.. it workes fine...

how can i save it as a projekt draf?

Michael:

--- Quote from: download123 on March 01, 2006, 05:43:21 pm ---no  :?
... okay liballeg.a linkt.. it workes fine...

how can i save it as a projekt draf?

--- End quote ---

Do you mean as a template? If yes, just Project-->Save project as user-template.

Best wishes,
Michael

MortenMacFly:

--- Quote from: download123 on March 01, 2006, 05:16:48 pm ---I'Ve a problem  :shock: [...]

--- End quote ---
Within the project settings of your (!) allegro project: Did you setup the compiler/linker settings to include the path to the "include"/"lib" folder the allegro DevPack should provide? You should find both folders right in the directory where you installed the allegro DevPack into.
Morten.

Navigation

[0] Message Index

[#] Next page

Go to full version