Difference between revisions of "FAQ"

From Code::Blocks
(FAQ breakup.)
m (→‎Issues and Workarounds: try to fix link)
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
[[Category:Code::Blocks Documentation]]
 
[[Category:Code::Blocks Documentation]]
== General ==
+
<!-- Editors, note that the HTML anchors (<span id="..."></span>) are for external websites that have not updated their links; new questions added to the index can safely ignore this. -->
 +
== [[FAQ-General|General]] ==
  
==== Q: What is Code::Blocks? ====
+
* <span id="Q:_What_is_Code::Blocks.3F"></span>'''[[FAQ-General#Q: What is Code::Blocks?|What is Code::Blocks?]]'''
 +
* <span id="Q:_What_Code::Blocks_is_not.3F"></span>'''[[FAQ-General#Q: What Code::Blocks is not?|What Code::Blocks is not?]]'''
 +
* <span id="Q:_What_licence_is_Code::Blocks_released_under.3F"></span>'''[[FAQ-General#Q: What license is Code::Blocks released under?|What license is Code::Blocks released under?]]'''
 +
* <span id="Q:_When_will_the_next_stable_version_of_Code::Blocks_be_released.3F"></span>'''[[FAQ-General#Q: When will the next stable version of Code::Blocks be released?|When will the next stable version of Code::Blocks be released?]]'''
 +
* <span id="Q:_Is_it_possible_to_integrate_the_win32-help_as_in_dev-cpp.2C_to_get_help_on_the_items_under_the_caret.3F"></span>'''[[FAQ-General#Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret?|Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret?]]'''
  
'''A:''' Code::Blocks is an Integrated Development Environment, aka [[wikipedia:Integrated development environment|IDE]]. Thus, a framework for working with source code and using compilers and linkers (in the case of Code::Blocks, these can be several).
+
== [[FAQ-Compiling (general)|Compiling (general)]] ==
  
==== Q: What Code::Blocks is not? ====
+
* <span id="Q:_What_compiler_can_I_use_with_Code::Blocks.3F"></span>'''[[FAQ-Compiling (general)#Q: What compiler can I use with Code::Blocks?|What compiler can I use with Code::Blocks?]]'''
 
+
* <span id="Q:_My_project_should_be_compiled_with_a_custom_makefile._Is_it_possible_with_Code::Blocks.3F"></span>'''[[FAQ-Compiling (general)#Q: My project should be compiled with a custom makefile. Is it possible with Code::Blocks?|My project should be compiled with a custom makefile. Is it possible with Code::Blocks?]]'''
'''A:''' Code::Blocks is not a [[wikipedia:Compiler|compiler]], nor a [[wikipedia:Linker (computing)|linker]]. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided "as-is" and not developed/maintained by the Code::Blocks development team.
+
* <span id="Q:_I_have_downloaded_MS_VC.2B.2B_Toolkit_2003_for_a_compiler._How_do_I_tell_Code::Blocks_that_it_is_my_compiler.3F"></span>'''[[FAQ-Compiling (general)#Q: I have downloaded MS VC++ Toolkit 2003 for a compiler. How do I tell Code::Blocks that it is my compiler?|I have downloaded MS VC++ Toolkit 2003 for a compiler. How do I tell Code::Blocks that it is my compiler?]]'''
 
+
* <span id="Q:_Microsoft_calls_MSVCRT.DLL_a_.22Known_DLL..22_How_do_I_know_if_I_can.2Fshould_use_it.3F"></span>'''[[FAQ-Compiling (general)#Q: Microsoft calls MSVCRT.DLL a "Known DLL." How do I know if I can/should use it?|Microsoft calls MSVCRT.DLL a "Known DLL." How do I know if I can/should use it?]]'''
==== Q: Is it possible to integrate the win32-help as in dev-cpp, to get help on the items under the caret? ====
+
* <span id="Q:_How_can_I_use_a_DLL_without_DEF_or_LIB_files.3F"></span>'''[[FAQ-Compiling (general)#Q: How can I use a DLL without DEF or LIB files?|How can I use a DLL without DEF or LIB files?]]'''
 
+
* <span id="Q:_Where_are_the_libraries_for_the_OpenGL.2C_Ogre3D.2C_SDL.2C_QT.2C_wxWidgets_etc._projects.3F"></span>'''[[FAQ-Compiling (general)#Q: Where are the libraries for the OpenGL, Ogre3D, SDL, QT, wxWidgets etc. projects?|Where are the libraries for the OpenGL, Ogre3D, SDL, QT, wxWidgets etc. projects?]]'''
'''A:''' Yes, this is implemented, but you'll need the help plugin. So if you are using the installer, make sure you enable this plugin.
+
* <span id="Q:_Is_it_possible_to_use_Visual_C.2B.2B_6.0_with_Code::Blocks.3F"></span>'''[[FAQ-Compiling (general)#Q: Is it possible to use Visual C++ 6.0 with Code::Blocks?|Is it possible to use Visual C++ 6.0 with Code::Blocks?]]'''
 
+
* <span id="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"></span>'''[[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?|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?]]'''
==== Q: What licence is Code::Blocks released under? ====
+
* <span id="Q:_How_do_I_use_both_Debug_and_Release_builds_of_wx_libraries.3F"></span>'''[[FAQ-Compiling (general)#Q: How do I use both Debug and Release builds of wx libraries?|How do I use both Debug and Release builds of wx libraries?]]'''
 
+
* <span id="Q:_How_do_I_add_version_information_to_windows_executables_and_dll.27s.3F"></span>'''[[FAQ-Compiling (general)#Q: How do I add version information to windows executables and dll's?|How do I add version information to windows executables and dll's?]]'''
'''A:''' GNU General Public License 3 ([http://www.gnu.org/licenses/gpl-3.0.html GPL]) with an exception for third party plugins that can be of any license (including closed source) as long as they use only the SDK sources of Code::Blocks.
+
* <span id="Q:_Code::Blocks_does_not_force_relink_if_the_library_is_changed.3F"></span>'''[[FAQ-Compiling (general)#Q: Code::Blocks does not force relink if the library is changed?|Code::Blocks does not force relink if the library is changed?]]'''
 
+
* <span id="Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F"></span>'''[[FAQ-Compiling (general)#Q: How do I report a compilation problem on the forums?|How do I report a compilation problem on the forums?]]'''
As an example: If you use the Code::Blocks SDK to develop a plugin, this could be even commercial. When you start using/modifying source code of other parts (i.e. the Code::Blocks core or other GPL3 plugins) the modifications or relevant (affected) parts must be provided as source code, too. However, usually (probably 99.9% of the cases) you'll only need to use the SDK.
+
* <span id="Q:_All_of_the_Build_related_options_are_grayed_out.3F"></span>'''[[FAQ-Compiling (general)#Q: All of the Build related options are grayed out?|All of the Build related options are grayed out?]]'''
 
+
* <span id="Q:_I_get_a_blank_.28black.29_terminal_window_on_windows.3F"></span>'''[[FAQ-Compiling (general)#Q: I get a blank (black) terminal window on windows|I get a blank (black) terminal window on windows]]'''
== [[FAQ-Compiling (general)|Compiling (general)]] ==
 
  
* '''[[FAQ-Compiling (general)#Q: What compiler can I use with Code::Blocks?|What compiler can I use with Code::Blocks?]]'''
 
* '''[[FAQ-Compiling (general)#Q: My project should be compiled with a custom makefile. Is it possible with Code::Blocks?|My project should be compiled with a custom makefile. Is it possible with Code::Blocks?]]'''
 
* '''[[FAQ-Compiling (general)#Q: I have downloaded MS VC++ Toolkit 2003 for a compiler. How do I tell Code::Blocks that it is my compiler?|I have downloaded MS VC++ Toolkit 2003 for a compiler. How do I tell Code::Blocks that it is my compiler?]]'''
 
* '''[[FAQ-Compiling (general)#Q: Microsoft calls MSVCRT.DLL a "Known DLL." How do I know if I can/should use it?|Microsoft calls MSVCRT.DLL a "Known DLL." How do I know if I can/should use it?]]'''
 
* '''[[FAQ-Compiling (general)#Q: How can I use a DLL without DEF or LIB files?|How can I use a DLL without DEF or LIB files?]]'''
 
* '''[[FAQ-Compiling (general)#Q: Where are the libraries for the OpenGL, Ogre3D, SDL, QT, wxWidgets etc. projects?|Where are the libraries for the OpenGL, Ogre3D, SDL, QT, wxWidgets etc. projects?]]'''
 
* '''[[FAQ-Compiling (general)#Q: Is it possible to use Visual C++ 6.0 with Code::Blocks?|Is it possible to use Visual C++ 6.0 with Code::Blocks?]]'''
 
* '''[[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?|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?]]'''
 
* '''[[FAQ-Compiling (general)#Q: How do I use both Debug and Release builds of wx libraries?|How do I use both Debug and Release builds of wx libraries?]]'''
 
* '''[[FAQ-Compiling (general)#Q: How do I add version information to windows executables and dll's?|How do I add version information to windows executables and dll's?]]'''
 
* '''[[FAQ-Compiling (general)#Q: Code::Blocks does not force relink if the library is changed?|Code::Blocks does not force relink if the library is changed?]]'''
 
* '''[[FAQ-Compiling (general)#Q: How do I report a compilation problem on the forums?|How do I report a compilation problem on the forums?]]'''
 
* '''[[FAQ-Compiling (general)#Q: All of the Build related options are grayed out?|All of the Build related options are grayed out?]]'''
 
  
 
== [[FAQ-Compiling (errors)|Compiling (errors)]] ==
 
== [[FAQ-Compiling (errors)|Compiling (errors)]] ==
  
* '''[[FAQ-Compiling (errors)#Q: I imported a MSVCToolkit project/workspace, but Code::Blocks insists on trying to use GCC. What's wrong?|I imported a MSVCToolkit project/workspace, but Code::Blocks insists on trying to use GCC. What's wrong?]]'''
+
* <span id="Q:_How_do_I_troubleshoot_a_compiler_problem.3F"></span>'''[[FAQ-Compiling (errors)#Q: How do I troubleshoot a compiler problem?|How do I troubleshoot a compiler problem?]]'''
* '''[[FAQ-Compiling (errors)#Q: When compiling a wxWidgets project, I get several "variable 'vtable for xxxx' can't be auto-imported". What's wrong?|When compiling a wxWidgets project, I get several "variable 'vtable for xxxx' can't be auto-imported". What's wrong?]]'''
+
* <span id="Q:_What_do_I_need_to_know_when_using_3rd_party_libs.3F"></span>'''[[FAQ-Compiling (errors)#Q: What do I need to know when using 3rd party libs?|What do I need to know when using 3rd party libs?]]'''
* '''[[FAQ-Compiling (errors)#Q: I can't compile a multithreaded app with VC Toolkit! Where are the libraries?|I can't compile a multithreaded app with VC Toolkit! Where are the libraries?]]'''
+
* '''[[FAQ-Compiling (errors)#Q: My simple C++ program throws up lots of errors - what is going on?|My simple C++ program throws up lots of errors - what is going on?]]'''
* '''[[FAQ-Compiling (errors)#Q: I get this error when compiling: Symbol "isascii" was not found in "codeblocks.dll"|I get this error when compiling: Symbol "isascii" was not found in "codeblocks.dll"]]'''
+
* <span id="Q:_I_imported_a_MSVCToolkit_project.2Fworkspace.2C_but_Code::Blocks_insists_on_trying_to_use_GCC._What.27s_wrong.3F"></span>'''[[FAQ-Compiling (errors)#Q: I imported a MSVCToolkit project/workspace, but Code::Blocks insists on trying to use GCC. What's wrong?|I imported a MSVCToolkit project/workspace, but Code::Blocks insists on trying to use GCC. What's wrong?]]'''
* '''[[FAQ-Compiling (errors)#Q: How do I troubleshoot an compiler problem?|How do I troubleshoot an compiler problem?]]'''
+
* <span id="Q:_When_compiling_a_wxWidgets_project.2C_I_get_several_.22variable_.27vtable_for_xxxx.27_can.27t_be_auto-imported.22._What.27s_wrong.3F"></span>'''[[FAQ-Compiling (errors)#Q: When compiling a wxWidgets project, I get several "variable 'vtable for xxxx' can't be auto-imported". What's wrong?|When compiling a wxWidgets project, I get several "variable 'vtable for xxxx' can't be auto-imported". What's wrong?]]'''
* '''[[FAQ-Compiling (errors)#Q: My build fails with multiple undefined reference errors?|My build fails with multiple undefined reference errors?]]'''
+
* <span id="Q:_I_can.27t_compile_a_multithreaded_app_with_VC_Toolkit.21_Where_are_the_libraries.3F"></span>'''[[FAQ-Compiling (errors)#Q: I can't compile a multithreaded app with VC Toolkit! Where are the libraries?|I can't compile a multithreaded app with VC Toolkit! Where are the libraries?]]'''
* '''[[FAQ-Compiling (errors)#Q: My build fails in the compile/link/run step with a Permission denied error?|My build fails in the compile/link/run step with a Permission denied error?]]'''
+
* <span id="Q:_I_get_this_error_when_compiling:_Symbol_.22isascii.22_was_not_found_in_.22codeblocks.dll.22"></span>'''[[FAQ-Compiling (errors)#Q: I get this error when compiling: Symbol "isascii" was not found in "codeblocks.dll"|I get this error when compiling: Symbol "isascii" was not found in "codeblocks.dll"]]'''
 +
* <span id="Q:_My_build_fails_with_multiple_undefined_reference_errors.3F"></span>'''[[FAQ-Compiling (errors)#Q: My build fails with multiple undefined reference errors?|My build fails with multiple ''undefined reference'' errors?]]'''
 +
* <span id="Q:_My_build_fails_in_the_compile.2Flink.2Frun_step_with_a_Permission_denied_error.3F"></span>'''[[FAQ-Compiling (errors)#Q: My build fails in the compile/link/run step with a Permission denied error?|My build fails in the compile/link/run step with a ''Permission denied'' error?]]'''
 +
* '''[[FAQ-Compiling (errors)#Q: My build fails to link due to multiple definition of xyz errors?|My build fails to link due to ''multiple definition of xyz'' errors?]]'''
 +
* <span id="Q: How can I change the language of the compiler (gcc) output to english?"></span>'''[[FAQ-Compiling_(errors)#Q:_How_can_I_change_the_language_of_the_compiler_.28gcc.29_output_to_english.3F|How can I change the language of the compiler (gcc) output to English?]]'''
  
 
== [[FAQ-Settings|Settings]] ==
 
== [[FAQ-Settings|Settings]] ==
  
* '''[[FAQ-Settings#Q: How do I get Code Completion to work?|How do I get Code Completion to work?]]'''
+
* <span id="#Q:_How_do_I_get_Code_Completion_to_work.3F"></span>'''[[FAQ-Settings#Q: How do I get Code Completion to work?|How do I get Code Completion to work?]]'''
* '''[[FAQ-Settings#Q: How do I make Code::Blocks portable?|How do I make Code::Blocks portable?]]'''
+
* <span id="#Q:_How_do_I_make_Code::Blocks_portable.3F"></span>'''[[FAQ-Settings#Q: How do I make Code::Blocks portable?|How do I make Code::Blocks portable?]]'''
* '''[[FAQ-Settings#Q: Code::Blocks option xyz is missing?|Code::Blocks option xyz is missing?]]'''
+
* <span id="#Q:_Code::Blocks_option_xyz_is_missing.3F"></span>'''[[FAQ-Settings#Q: Code::Blocks option xyz is missing?|Code::Blocks option ''xyz'' is missing?]]'''
 +
* '''[[FAQ-Settings#Q: How do I change the default location of the output terminal?|How do I change the default location of the output terminal?]]'''
  
 
== [[FAQ-Issues and Workarounds|Issues and Workarounds]] ==
 
== [[FAQ-Issues and Workarounds|Issues and Workarounds]] ==
  
* '''[[FAQ-Issues and Workarounds#Q: Sometime, in the text editor, space bar triggers Code Completion, how do I fix that?|Sometime, in the text editor, space bar triggers Code Completion, how do I fix that?]]'''
+
* <span id="Q:_Sometime.2C_in_the_text_editor.2C_space_bar_triggers_Code_Completion.2C_how_do_I_fix_that.3F"></span>'''[[FAQ-Issues and Workarounds#Q: Sometime, in the text editor, space bar triggers Code Completion, how do I fix that?|Sometime, in the text editor, space bar triggers Code Completion, how do I fix that?]]'''
* '''[[FAQ-Issues and Workarounds#Q: IDE is drawing the text from Right to Left?|IDE is drawing the text from Right to Left?]]'''
+
* <span id="Q:_IDE_is_drawing_the_text_from_Right_to_Left.3F"></span>'''[[FAQ-Issues and Workarounds#Q: IDE is drawing the text from Right to Left?|IDE is drawing the text from Right to Left?]]'''
* '''[[FAQ-Issues and Workarounds#Q: All the options in the debug menu are grayed out?|All the options in the debug menu are grayed out?]]'''
+
* <span id="Q:_All_the_options_in_the_debug_menu_are_grayed_out.3F"></span>'''[[FAQ-Issues and Workarounds#Q: All the options in the debug menu are grayed out?|All the options in the debug menu are grayed out?]]'''
* '''[[FAQ-Issues and Workarounds#Q: My project works everywhere except one computer?|My project works everywhere except one computer?]]'''
+
* <span id="Q:_My_project_works_everywhere_except_one_computer.3F"></span>'''[[FAQ-Issues and Workarounds#Q: My project works everywhere except one computer?|My project works everywhere except one computer?]]'''
* '''[[FAQ-Issues and Workarounds#Q: Syntax highlighting is broken; how do I fix it?|Syntax highlighting is broken; how do I fix it?]]'''
+
* <span id="Q:_Syntax_highlighting_is_broken.3B_how_do_I_fix_it.3F"></span>'''[[FAQ-Issues and Workarounds#Q: Syntax highlighting is broken; how do I fix it?|Syntax highlighting is broken; how do I fix it?]]'''
* '''[[FAQ-Issues and Workarounds#Q: I posted on the forums that Code::Blocks was not working, but no one could help me?|I posted on the forums that Code::Blocks was not working, but no one could help me?]]'''
+
* <span id="Q:_I_posted_on_the_forums_that_Code::Blocks_was_not_working.2C_but_no_one_could_help_me.3F"></span>'''[[FAQ-Issues and Workarounds#Q: I posted on the forums that Code::Blocks was not working, but no one could help me?|I posted on the forums that Code::Blocks was not working, but no one could help me?]]'''
* '''[[FAQ-Issues and Workarounds#Q: I cannot find any text in my Code::Blocks logs?|I cannot find any text in my Code::Blocks logs?]]'''
+
* <span id="Q:_I_cannot_find_any_text_in_my_Code::Blocks_logs.3F"></span>'''[[FAQ-Issues and Workarounds#Q: I cannot find any text in my Code::Blocks logs?|I cannot find any text in my Code::Blocks logs?]]'''
 +
* <span id="Q:_Scrolling_causes_gray_areas.2Fdistortions_to_obscure_my_code_in_the_editor.3F"></span>'''[[FAQ-Issues and Workarounds#Q: Scrolling causes gray areas/distortions to obscure my code in the editor?|Scrolling causes gray areas/distortions to obscure my code in the editor?]]'''
 +
* '''[[FAQ-Issues and Workarounds#Q: I cannot type a greater-than '>' sign?|I cannot type a greater-than '>' sign?]]'''
 +
* '''[[FAQ-Issues and Workarounds#Q:_Using_Code::Blocks_with_high_dpi_screens_and_windows|Using Code::Blocks with high dpi screens and windows]]'''

Revision as of 13:29, 9 February 2017

General

Compiling (general)


Compiling (errors)

Settings

Issues and Workarounds