Discussion:
corrupt visual c++ makefile for CIN/Labview
(too old to reply)
mrod
2008-06-20 21:40:07 UTC
Permalink
Hi.I'm trying to run a simple Visual C++ file in LabVIEW by using CIN.  However, I'm having trouble compiling the source code in Windows.I followed the online help and created a Makefile (buffer.mak):name=buffertype=CINcinlibraries=Kernel32.libCINTOOLSDIR=c:\Progra~1\Nation~1\LabVIE~1\cintools\!include <$(CINTOOLSDIR)\ntlvsb.mak>I saved this file in the same folder as my .c file, and then when I tried to open the .mak file into Visual c++ I recieved the following prompt:The project 'buffer.mak' must be converted to the current Visual C++ project format.  After it has been converted, you will not be able to edit this project in previous versions of Visual Studio.  Convert and open this project?I selected Yes, and then recieved the error:Cannot load the project due to a corrupt project fileI'm at a loss of what to do, seeing as I can't load the .lsb file into LabVIEW without a working Makefile.Any amount of help would be greatly appreciated. Thanks.
Dennis Knutson
2008-06-23 14:10:09 UTC
Permalink
Since you are not using the DDK, you should post your question in the <a href="http://forums.ni.com/ni/board?board.id=170" target="_blank">LabVIEW</a> board. Also, why are trying to create a CIN? It's much simpler to create a DLL and use the Call Library Function Node. A CIN is somewhat obsolete.
Karunya_R
2008-06-24 16:10:13 UTC
Permalink
Here is some information to help you with calling external code in LabVIEW <a href="http://zone.ni.com/devzone/cda/tut/p/id/3435" target="_blank">How to build a CIN code resource?</a> <a href="http://zone.ni.com/reference/en-XX/help/371361D-01/lvexcodeconcepts/using_ext_code_lv/" target="_blank">Using External Code in LabVIEW</a>
Loading...