LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIN problems

When trying to build the code for a CIN (using MS
VC++ under win98) an error occurs in trying to
find a make file 'ntwin32.mak'. Should this file
be installed automatically with labView or will I
have to install it from some other source?


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 2
(2,484 Views)
Do not use nmake (as described by NI) to compile the CIN code. Instead follow these instructions courtesy of Callara:

Create a makefile (using Notepad or something equivalent) with the following
lines:

name=name_of_c_file_without_the_extension
type=CIN
cinlibraries=Kernel32.lib
CINTOOLSDIR=path_to_cintools_directory (in MS-DOS format)
!include <$(CINTOOLSDIR)\ntlvsb.mak>


Save this file with the filename "name_of_c_file.mak" and save it in the
same directory as the C file.


Now, launch VC++.
Choose File -> Open (NOT Open Workspace)
Open the makefile that you just created.
You will get a dialog that says that the makefile was not created with VC++
(choose to proceed)
Now, another dialog that will ask you what kind of platform to use (choose
Win32)
Now, the makefile is lo
aded and the CIN is ready to be built. Choose Build.
0 Kudos
Message 2 of 2
(2,484 Views)