Thread: Setting Up NTL C++ library for Code::Blocks

  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    1

    Setting Up NTL C++ library for Code::Blocks

    Main Question
    I am new to C++. I have unzipped Victor Shoup's NTL C++ number theory library, but I am not sure what the best directory in which to store it, so that Code::Blocks recognizes the .h files (or whichever files it needs to recognize in order to use NTL library functions).

    How do I set up the NTL library so that Code::Blocks recognizes it?

    Background
    From searching the forums, I see that I can open Settings > "Compiler and debugger settings" to get a dialogue window that allows me to add paths to the unzipped folders "include" subfolder in the compiler and linker's search directories tab.

    I did this, then when I went to F9 some .cpp scripts in the unzipped folder's "test" subfolder (as suggested on Shoup's installation page), I received various errors that the compiler could not find the files referenced inthe #include line.

    I am running Windows XP--it is a dinosaur, I know.

    Any help would be greatly appreciated. Please let me know if I am leaving out important information. Also, please forgive my ignorance on these matters.

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    You'll almost certainly have better luck getting help with environment specific facilities at forums that specifically target that environment.

    We are a pretty diverse bunch here; most of us don't seem to use "CodeBlocks".

    Try reading the documentation for "CodeBlocks" or searching for more tutorials adding library paths and include paths to your setup.

    Soma

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help Installing New Library To Code::Blocks
    By cplusplusnoob in forum Game Programming
    Replies: 1
    Last Post: 03-23-2012, 01:30 PM
  2. Code::Blocks
    By bijan311 in forum C++ Programming
    Replies: 2
    Last Post: 01-26-2010, 05:36 PM
  3. Setting Include/Library paths Linux
    By beaver in forum C++ Programming
    Replies: 1
    Last Post: 06-08-2008, 03:29 AM
  4. code::blocks
    By wart101 in forum Tech Board
    Replies: 4
    Last Post: 01-15-2007, 07:38 AM

Tags for this Thread