[Trilinos-Users] linking debug on Windows

Matthew Koch mkoch at txcorp.com
Wed Jun 16 14:39:17 MDT 2010


Actually, that link was helpful.  I am including crtdbg.h so that I can use the debug heap, but I 
don't need it in the project that includes trilinos.  Hopefully, I can find a way to separate the 
two in such a way that the build will work.

Thanks,
Matt

On 6/16/2010 12:56 PM, Bill Hoffman wrote:
> On 6/16/2010 1:15 PM, Matthew Koch wrote:
>> I've looked at the compiler options (you can copy them either from the buildlog file or in the
>> advanced tab under properties) and I'm pretty sure that what few differences there are (different
>> preprocessor definitions for the most part) are not causing the problem.  However, I tried
>> outputting the preprocessor .i files and it looks like free is actually being redefined as
>> _free_dbg, and if I add the #undef free in front of the method definition, the include complains
>> that it can't find _free_dbg.  So, I suspect that in debug there is a difference between how Intel
>> expects things to be named and how MSVC is naming them.
>>
>> I think there are some options for naming that I can experiment with next.
>>
>
> Not real helpful, but there is some info here:
> http://software.intel.com/en-us/forums/showthread.php?t=71837
>
> -Bill
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users



More information about the Trilinos-Users mailing list