OpenSees can not debug using vs2012

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
liukeqi
Posts: 1
Joined: Fri Apr 15, 2016 12:05 am

OpenSees can not debug using vs2012

Post by liukeqi » Thu Feb 16, 2017 8:50 pm

Dear fmk:
Could you please kindly answer two questions of mine?
Q1.I use window10 and vs2012 to compile OpenSees250(the platform toolset is v100(vs2010)), there is no error about the project and I can debug it successfully. But when I change the platform toolset to v110(vs2012),there is no error about the project but I can not debug it. I actually need use vs2012 to compile it, because I need add some code using C++11 characteristic in OpenSees. The error information is showed following. Could you please give me some suggestion to solve it ?
--------------------------------------
Debug Assertion Failed!

Program:
D:\OpenSees0118_ok\Win64\proj\openSees\.\..\..\bin\OpenSees.exe
File:f:\dd\vctools\crt_bld\self_64amd64\crt\src\dbgheap.c
Line:1399

Expression:pHead->nBlockUse == nBlockUse

For information on how your program can cause an assertion Failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------------------------
Q2. Whether we can compile OpenSees 250 by using the vs2012?How can we do? Could you tell me some detail about it ?

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: OpenSees can not debug using vs2012

Post by fmk » Thu Feb 16, 2017 9:22 pm

you need to look at the call stack to find which line in the OpenSees code is invoking the dbgheap function
http://stackoverflow.com/questions/1727 ... ion-failed

Post Reply