Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

qnx driver for 6024E

Solved!
Go to solution

Hello, I' trying to work with a PCI 6024E board in a QNX OS.

For this reason i downloaded the QNX drivres and the  Eseries examples.

 

I have  installed the momentics in a Kubuntu OS and from there i programm the code for the QNX target.

I created a new QNX project and I imported all the files from the Eseries examples folder and from the QNX Neutrino 6 driver folder. 

My firsti question is which makefile should i keep, you see if keep the one created automaticaly  i do not compile or use the imported files.

If i use the one of the examples or the one of the QNX drivers i have several mistakes because it can not find sevaral *.h files. The problem is that these headers do exist and they are in the main include path of the QNX target, but it seems that the makefile doesn't look there.

 

I do not know if what i done is ok or not. I do not have too many experience in programming in eclipse annd neither in QNX.

 

Any kind of help will be welcome 

0 Kudos
Message 1 of 4
(8,764 Views)
The makefiles that we include in the E Series examples expect to be read and processed by the make utility (usually GNU make) from the command prompt. Since you're using the QNX Momentics IDE, you will need to properly configure your project to build the examples.

It sounds like you've just tried using the command-prompt makefiles for the examples inside Momentics. My suggestion for you is to use one of those makefiles as a guide for configuring your Momentics project. You'll need to find and set the Momentics equivalent for each aspect of the makefile statements. For example, in addition to listing the targets and source files, the QNXNeutrino6.mak file explicitly sets the preprocessor variables 'kLittleEndian' to 1 and 'kGNU' to 1. You'll need to understand how to configure these and other statements found in the makefiles for your Momentics project and then set them accordingly in order for you to build without errors.
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 2 of 4
(8,749 Views)

Thanks, i'm going to try to make the makefile for the momentics.

 

0 Kudos
Message 3 of 4
(8,737 Views)
Solution
Accepted by topic author kkoutsou

Hey,

finaly it works

I changed the makefile for use in momentics

and i defined all the necessary parameters.

 

 

0 Kudos
Message 4 of 4
(8,698 Views)