User forums > Using Code::Blocks

Help Code::Blocks and MySQL

<< < (2/2)

oBFusCATed:

--- Quote from: stahta01 on January 12, 2012, 03:07:48 pm ---Read the FAQs
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#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


--- Quote from: stahta01 on January 11, 2012, 06:22:03 pm ---Ask an Code::Blocks related question.

--- End quote ---

http://catb.org/~esr/faqs/smart-questions.html

FYI: You do realize this site does NOT support general programming questions!  

Tim S.

--- End quote ---

herrtool:
Set your project to link to the library. That option is under build options - linker tab. The library is probably in the lib directory in the mySQL install path. Add the include directory too under search directories. Then work on compiling and linking a SIMPLE example. Then when you have problems (you will) ask a more specific question (probably somewhere else) and post y your compiler output.

Navigation

[0] Message Index

[*] Previous page

Go to full version