User forums > Using Code::Blocks

Compiling library source files with Code::Blocks

(1/2) > >>

Static29:
hi im new to this forum

im also im new to compiling library source's myself, i usually just ust mingw binary installers, ya know? precompiled library

so how do i do this in codeblocks?

i tried project>add files, then adding all the .cpp's in the library's src folder

and dropping everything from include folder into codeblocks include folder, but that didn't work, i keep getting errors.

another thing i tried is going to compiler options, then going to directory and adding the src folder directory, that also didn't work.

TDragon:
You need to read the library's documentation and follow its instructions for building it from source. If it specifically supports being built from within Code::Blocks (i.e., it includes a .cbp or .workspace file), great! -- but most don't.

jaysan:
hello
i'm pretty new here and i'm having the same problem than Static29. i wanted to build the allegro library and the blender source files but i couldn't find the way to do it with CB.
is there no way to use the makefiles from thoses sources without using a CB project file?
the fact is i wanted to use CB for everything about building sources without ever using a shell command line window. is it really impossible or is there a way to do that?

Biplab:
Please read the following thread. It may answer your queries.


--- Quote ---http://forums.codeblocks.org/index.php/topic,6376.0.html
--- End quote ---

jaysan:
hello
thanks for the answer but i don't understand anything. i'm sorry. the fact is that everytime i start a new project with personnal files and using precompiled libraries it's always functionning perfectly and i only got error source problems but as long as i want to use others source file it's always a pain and finally i must admit that i never finish anything. i thought that open source was great but everything is made for specific compilers or tools and everytime i want to use my tools it doesn't work.
the cross platform world is really the worst difficult thing to master in computer science.

Navigation

[0] Message Index

[#] Next page

Go to full version