LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Base Examples problem

Solved!
Go to solution

Has anybody compiled the Mac DAQmx Base examples ?

I get a lot of errors. See encl..

0 Kudos
Message 1 of 2
(2,257 Views)
Solution
Accepted by topic author Ben_01880

Hi Ben_01880,

 

This is a known issue with DAQmx Base and Mac OSX. It happens when OSX boots into 64bit kernel instead of the 32bit kernel that DAQmx Base requires. Here is a workaround from the DAQmx Base help file:

 

"Xcode 3.2 or later will default to 64-bit (x86_64) architecture when calling gcc on 32-bit OSX 10.6 if the system hardware is 64-bit. This will result in errors during compilation. To resolve these errors, force gcc to use 32-bit (i386) architecture in 32-bit OSX installations by appending '-arch i386' to the flags in your Makefile:

 

flags=-O2 -arch i386"

 

There is also an article on the Mac support website that shows how to force OSX to boot into the 32-bit kernel on a per-boot basis:

 

http://support.apple.com/kb/ht3773

 

Finally, there is a long NI discussion forum about this issue and how people were able to resolve it. I link you to it as it is a good resource:

 

http://forums.ni.com/t5/Multifunction-DAQ/NIDAQmxbase-Compatibility-with-Mac-OS-X-10-6/m-p/1433896#M...

 

I hope this helps, let us know if you are still having problems!

Micah M.
National Instruments
NIC AE Specialist - Test
Message 2 of 2
(2,234 Views)