Creating a C++ Form Application Project with Autodesk API

Creating a C++ Form Application Project with Autodesk API

Anonymous
Not applicable
384 Views
0 Replies
Message 1 of 1

Creating a C++ Form Application Project with Autodesk API

Anonymous
Not applicable

I have a very annoying problem. Let me describe it:

I want to create a C++ Form Project to display the structure and properties of .fbx files. To achieve this, I want to use Autodesk API to access the fbx file objects easily. I know creating a C++ Form Application Project is easy and also, I know when following the configurations in Autodesk website, it is easy to use fbxsdk API but when it comes to connect them in one project I constanly get the error:

Debug Assertion Failed!
Program:C:\Users\MyName\Desktop\FbxViewer\Debug\FbxViewer.exe
File:f:\dd\vctools\crt_bld\self_x86\src\dbgheap.c
Line:1516
Expression:_CrtlsValidHeappointer(pUserData)

Note that I get this error without using any fbxsdk API functions but only adding

 #include "fbxsdk.h"

after the header declarations in a default Form Application Project.

By the way, after creating Form Application Project, I set Common Language RunTime Support (/clr), Character Set to Use Multi-Byte Character Set, I add fbxsdk include to Additional Include Directories, Runtime Library to Multi-threaded Debug DLL (/MDd), I add

C:\Program Files\Autodesk\FBX\FBX SDK\2016.1.1\lib\vs2010\x86\debug

to Additional Library Directories in Linker->General and I choose

C:\Program Files\Autodesk\FBX\FBX SDK\2016.1.1\lib\vs2010\x86\debug\libfbxsdk-md.lib 

as Additional Dependencies. When assertion window appears and then I click retry button I get:

FbxViewer.exe has triggered a breakpoint

Please, help me to handle this problem!

0 Likes
385 Views
0 Replies
Replies (0)