User forums > Using Code::Blocks
How develop libraries & classes in any directory and include it in main file?
R1S8K:
Hello,
I'm just starting my C++ debugging and programming, my main goal is to learn how to write classes and develop C++ libraries.
I know that codeblocks requires me to include the classes and libraries inside the project folder, but I want to link classes and libraries outside the project folder. How to do that?
===================================================
Edit1: I tried to include it with "Add files..." from the project tree, but didn't work.
... OK I wanted to include an image but didn't know how to ! Could anyone tell me how to include an image?
BlueHazzard:
--- Quote ---===================================================
Edit1: I tried to include it with "Add files..." from the project tree, but didn't work.
--- End quote ---
What "didn't work" mean? Error messages? Compiling problems?
please give more details about your error:
Also take this as help: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
--- Quote ---... OK I wanted to include an image but didn't know how to ! Could anyone tell me how to include an image?
--- End quote ---
This is a extreme broad question:
1) Do you want to add an image to wxSmit?
2) Do you want to add an to a console application?
3) What file format has the image?
4) Are you using a library to load the image?
R1S8K:
OK, now the attach image icons are available now :)
--- Quote ---This is a extreme broad question:
1) Do you want to add an image to wxSmit?
2) Do you want to add an to a console application?
3) What file format has the image?
4) Are you using a library to load the image?
--- End quote ---
Yes, I just wanted to include an image here in my last post. Here it's:
--- Quote ---What "didn't work" mean? Error messages? Compiling problems?
--- End quote ---
stahta01:
--- Quote from: BlueHazzard on May 22, 2019, 11:32:33 am ---
Also take this as help: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
--- End quote ---
stahta01:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(general)#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F
Navigation
[0] Message Index
[#] Next page
Go to full version