error C1001: An internal error has occurred in the compiler.

asked 2013-08-29 02:42:52 -0600

Nouman gravatar image

updated 2013-08-29 04:28:47 -0600

Hi..! I want to use "C++ code doing image-processing using openCV" in C#. For that I made a wrapper-class library in which I linked some header and body files of my C++ project.

I almost got success but when I build the class library for releasing Dll I got this error

error C1001: An internal error has occurred in the compiler

When I double-click on it it goes to open CV file "mat.hpp" in the wrapper-class library. I want to solve this error soon. I did a lot search but still have the same error.

Please help me. I shall be very thankful to you. Thanks.

edit retag flag offensive close merge delete

Comments

Actually I am wondering why you would like to rewrite a complete C# wrapper class for openCV functionality. There is a quite good existing wrapper called EmguCV. Isn't this one good enough to solve your computer vision problems?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-29 04:30:13 -0600 )edit

I used that EmguCV ist but i stuck at some of its functions then i try to make a wrapper library class in which i just make a "Wrapper.h" and "Wrapper.cpp" file.In both of files i include a link of my C++ project using open-CV like this #include "C:/...". make a ref class and declare a constructor and a pointer variable of the "Linked C++ header class" to initialize" in header file.Define the constructor in .cpp file then call the "Linked C++ header class function" in the constructor.everything goes fine but when i build the solution got only 1 error of "An internal error has occurred in the compiler" on double click it goes to the mat.hpp file of open CV which is used in linked C++ Project.

Nouman gravatar imageNouman ( 2013-08-29 04:54:57 -0600 )edit