User forums > Help
installing new directory
(1/1)
bigbrodcaster:
Hi, I am currently trying to figure out how to program for a robot I built, but in order to do that I need to have a directory called "WPILib.h" installed so code blocks recognizes the functions.
PS: I have the file with the directory on it, all I need is a way to put it on codeblocks
stahta01:
Please read the FAQs. It might have the answer to your question.
http://wiki.codeblocks.org/index.php?title=FAQ
My guess at the closest matching FAQ
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
Please, try to rephrase your question; because I have no clear idea what your are asking.
Tim S.
bigbrodcaster:
in the beggining of a program there is always "#include (insert directory of choice)". I want my directory of choice to be "WPILib.h". But when I tried to compile it I was told no such directory existed.
PS: If you could also help out explaining what the FAQ was trying to have me do because there are multiple sub folders my downloaded directory.
Radek:
What is wrong exactly?
(1) If you cannot find headers or other include files then add the directory to Build Options -> Search Directories
(2) If you cannot find libraries or object files then add the directory to Build Options -> Linker Settings
Once all files will be found, you can create a user project with the needed directories preset. Later oo, you won't need to specify the directories again.
Navigation
[0] Message Index
Go to full version