Thread: Recovering Code::Blocks C++ linker settings

  1. #16
    Registered User FortranLevelC++'s Avatar
    Join Date
    May 2013
    Location
    United States
    Posts
    81
    Quote Originally Posted by stahta01 View Post
    FYI: T

    Edit: You likely did the bad idea of entering the linker settings under the Global Compiler settings instead of the Project settings.

    Edit2: FAQ-Compiling (general) - CodeBlocks

    Tim S.
    You were absolutely correct! When I initially entered the compiler and linker options, I used the global "Settings -> Compiler and Debugger" menu to enter these options, because I would often use these specific GSL libraries in many projects. But then I was surprised that this information remains hidden in the menus of individual projects. Apparently Code::Blocks is using the global settings without showing these in the menus of the individual projects.

    Many thanks for raising this question. I incorrectly thought that the global setting information should also be shown in the settings of the project also.

    Similarly, in the global menu's compiler settings I have enabled the C++0x but this was not shown in the settings of the individual project.

  2. #17
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by FortranLevelC++ View Post
    You were absolutely correct! When I initially entered the compiler and linker options, I used the global "Settings -> Compiler and Debugger" menu to enter these options, because I would often use these specific GSL libraries in many projects. But then I was surprised that this information remains hidden in the menus of individual projects. Apparently Code::Blocks is using the global settings without showing these in the menus of the individual projects.

    Many thanks for raising this question. I incorrectly thought that the global setting information should also be shown in the settings of the project also.

    Similarly, in the global menu's compiler settings I have enabled the C++0x but this was not shown in the settings of the individual project.
    You might consider making a wizard script:

    Wizard scripts - CodeBlocks

    I haven't created one myself, but I've had to edit a few to link the correct libraries for specific project types. Just be sure to back everything up!
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 07-05-2013, 01:15 AM
  2. Code Blocks vs Windows settings?
    By LeonK in forum C++ Programming
    Replies: 2
    Last Post: 06-20-2011, 06:16 AM
  3. MS code::blocks
    By wart101 in forum C++ Programming
    Replies: 11
    Last Post: 12-14-2006, 11:59 AM
  4. Replies: 5
    Last Post: 09-14-2006, 09:47 PM
  5. Dev and Code Blocks
    By swgh in forum Game Programming
    Replies: 3
    Last Post: 04-07-2006, 07:21 PM