i am trying to develop an application using Windows Forms from Visual C++ Express with an Irrlicht scene. I have read some posts of people successfully doing this
Here and here
They seem to have different problems (and solved them) but I can't even get Irrlicht to work with the managed application. Can anyone follow and help me?
my build log is as follows
Code: Select all
------ Build started: Project: irrAnim, Configuration: Debug Win32 ------
Compiling...
stdafx.cpp
Compiling...
irrAnim.cpp
d:\irrlicht\irrlicht-1.4beta\include\IReferenceCounted.h(112) : error C3862: 'irr::IReferenceCounted::drop': cannot compile an unmanaged function with /clr:pure or /clr:safe
Inline native assembly not supported in managed code
d:\irrlicht\irrlicht-1.4beta\include\IReferenceCounted.h(119) : error C3821: 'irr::IReferenceCounted::~IReferenceCounted': managed type or function cannot be used in an unmanaged function
Inline native assembly not supported in managed code
d:\irrlicht\irrlicht-1.4beta\include\IReferenceCounted.h(119) : error C3642: 'void *irr::IReferenceCounted::__delDtor(unsigned int)' : cannot call a function with __clrcall calling convention from native code
d:\irrlicht\irrlicht-1.4beta\include\IReferenceCounted.h(112) : error C3645: 'irr::IReferenceCounted::drop' : __clrcall cannot be used on functions compiled to native code
AssemblyInfo.cpp
Generating Code...
Build log was saved at "file://d:\Irrlicht\irrlicht-1.4beta\Projects\irrAnim\Debug\BuildLog.htm"
irrAnim - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Nova