cdunn03
asked on
Getting alloca to work in DLL
Hi,
I am using Visual C++ 6 to try to compile a C++ package called OpenNURBs into a DLL which can be opened by Matlab.
I am using the Matlab Add-on for Visual Studio, which lets you select "Matlab Project" as a new project. When compiling I get the error message:
"Error C2065: 'alloca' : undeclared identifier"
I figure I'm missing the C Run Time libraries. I've added msvcrt.lib to the Link settings for the project, but still no dice.
Any ideas?
I am using Visual C++ 6 to try to compile a C++ package called OpenNURBs into a DLL which can be opened by Matlab.
I am using the Matlab Add-on for Visual Studio, which lets you select "Matlab Project" as a new project. When compiling I get the error message:
"Error C2065: 'alloca' : undeclared identifier"
I figure I'm missing the C Run Time libraries. I've added msvcrt.lib to the Link settings for the project, but still no dice.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.