problem including header vc++6.0

3 vues (au cours des 30 derniers jours)
sandeep singh
sandeep singh le 1 Juin 2011
[EDIT: 20110603 09:17 CDT - reformat - WDR]
when i compile my application using matlab function's dll in vc++6.0 ,i face a problem that is " Cannot open include file (header file)"; but i was add this header file in my project
Deleting intermediate files and output files for project 'sumproject - Win32 Debug'.
--------------------Configuration: sumproject - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
ivproject.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\ivproject\ivproject.cpp(6) : fatal error C1083: Cannot open include file: 'ivLib.h': No such file or directory
Error executing cl.exe.
ivproject.exe - 1 error(s), 0 warning(s)

Réponses (1)

Friedrich
Friedrich le 3 Juin 2011
It seems like you don’t started with an empty project. Because of this there are some settings which lead to this error, e.g. using precompiled headers. Please make a new EMPTY VS project. This should work like you would expect.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by