Results 1 to 6 of 6

Thread: Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

  1. #1
    Mykola Guest

    Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

    Hi everyone, I wish for check a latest version of my program on a different machine and then I found some problem onto that. When I try to debug this program with the compilation process, then it will give several different types of error messages. I also try to use the other compiler but the same thing happen. The error code is to error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL'. This is happen in almost all the complier. Any help will be appreciating.

  2. #2
    Join Date
    May 2009
    Posts
    529

    Re: Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

    When I try to search the topic related to this issue, then I found one article. In that article they mention, configuration and also they mention that the link just works fine. Static library is useful for _ITERATOR_DEBUG_LEVEL set to 0. This is help to the .dll file that depends on it. This is also work for _ITERATOR_DEBUG_LEVEL set to 1. Then you need to turn it off. The references to this error indicate an effort to link release with debug. Then use it and solve problem.

  3. #3
    Join Date
    May 2009
    Posts
    539

    Re: Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

    You also need to try to add the default library to the program list. This is the libcpmt.lib default library and this will be present on the internet site. The official site will only provide the correct library of this program. In this compiler you need to download this and then add this on the compiler. Then use the option menu and then add this library on it. The add library option present on the option menu. This help to solve the problem.

  4. #4
    Join Date
    Apr 2009
    Posts
    488

    Re: Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

    You need to test the build types of the compiler. I also faced this problem and then check library search paths. This will be help for an input lib file. This file present on the same directory. This also contains the .lib for same name it's output. The debug and mylibrary.lib for release purpose. The configuration of this will be help to do this in the library. This library present on the additional path/to/lib/input/folder/$(Configuration) Library directories.

  5. #5
    Join Date
    May 2009
    Posts
    527

    Re: Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

    Hey, I think you are mixing object files built with dissimilar settings of this. Then you need to just try to do a full clean rebuild. Then test all project file settings and if something wrong on this then you need to make sure that the _ITERATOR_DEBUG_LEVEL macro is works correctly or not. If this will not work correctly, then you need to replace this. This will be help you to solve the problem. Then use this technique and it will be help to you for solve the problem.

  6. #6
    Join Date
    May 2009
    Posts
    637

    Re: Debugging compiled _ITERATOR_DEBUG_LEVEL and release doesn't

    Check that the other program is work correctly on this compiler or not. It might be possible that the problem exists in the complier and hence the problem arrives. Also you need to test the program are to be work correctly or not. This will be help you for understanding the basic reason behind this problem. Then use this basic technique and this will be help to you for solving such complicated problem. The support site also provides the correct solution.

Similar Threads

  1. Replies: 10
    Last Post: 21-12-2011, 06:09 AM
  2. Tropico 4 features Compiled list
    By Loveyboo in forum Video Games
    Replies: 6
    Last Post: 24-08-2011, 11:57 PM
  3. Compiled files do not run with Snow Leopard with i7
    By Bearer in forum Software Development
    Replies: 6
    Last Post: 25-09-2010, 12:22 PM
  4. Replies: 5
    Last Post: 12-12-2009, 07:40 PM
  5. cannot run c compiled programs
    By Unix'EM in forum Operating Systems
    Replies: 3
    Last Post: 22-08-2009, 12:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,082,069.94590 seconds with 17 queries