Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Makefile

JohnNichols
Valued Contributor III
542 Views
Dear Steve:

It is many years since I used makefiles, well actually I was never successful.


I have a new device that has a sample testfile written in C++ as a console application. It has a makesource file as shown in sources.

Of course I want to take the program and turn it into a Fortran program running in Windows, but using the C++ code as is for the moment.

CAn I make a console application in VS with the C++ program?

Regards

I realize it is off topic, but the end is to make the USB device readible in Fortran and not C++

JMN
0 Kudos
2 Replies
Steven_L_Intel1
Employee
542 Views
If you have Visual C++ and the referenced libraries, it should be simple. Since you didn't show the C++ code I can't tell for sure if it is intended to be a console application. I do note that the makefile references a usbd.lib which is not standard with the Windows SDK. It looks as if it is part of the Windows CE SDK, which may prevent its being usable on regular Windows.
0 Kudos
JohnNichols
Valued Contributor III
542 Views
Dear Steve:

USBd.lib is part of the WINDDK Programs and it will compile on a 32 bit system. I think.

I enclose the source, it is a console application, I will try it out.

I am trying to read from a USB port and get raw data rather than go through the manufacturer's slow interface.

Thanks

JMN
0 Kudos
Reply