qtcandemo

所属分类:其他
开发工具:C/C++
文件大小:36KB
下载次数:7
上传日期:2020-03-30 22:23:56
上 传 者baorong
说明:  德尔福车载雷达数据采集、解析处理预研代码
(Delphi radar data acquisition and analysis processing code)

文件列表:
qtcandemo\debug (0, 2017-08-13)
qtcandemo\demo (0, 2019-02-02)
qtcandemo\demo\canlib32.a (97032, 2017-05-06)
qtcandemo\demo\canlib32.def (3088, 2017-05-06)
qtcandemo\demo\canreader.cpp (1501, 2017-05-06)
qtcandemo\demo\canreader.h (545, 2017-05-06)
qtcandemo\demo\demo.pro (535, 2017-05-06)
qtcandemo\demo\demo.pro.user (24248, 2017-08-24)
qtcandemo\demo\demo.pro.user.ae7cbd1 (24238, 2017-08-13)
qtcandemo\demo\graphics.qrc (169, 2017-05-06)
qtcandemo\demo\main.cpp (208, 2017-05-06)
qtcandemo\demo\mainwindow.cpp (7788, 2017-08-13)
qtcandemo\demo\mainwindow.h (724, 2017-05-06)
qtcandemo\demo\mainwindow.ui (20020, 2017-08-13)
qtcandemo\demo\play64.png (1253, 2017-05-06)
qtcandemo\demo\send64.png (1685, 2017-05-06)
qtcandemo\demo\stop64.png (1151, 2017-05-06)
qtcandemo\Makefile (26109, 2017-08-02)
qtcandemo\Makefile.Debug (44530, 2017-08-02)
qtcandemo\Makefile.Release (44670, 2017-08-02)
qtcandemo\read.txt (1656, 2017-08-01)
qtcandemo\release (0, 2017-08-02)

GCC and Qt Creator CANLIB demo application ------------------------------------------ The program is written in C++ and uses the Qt cross-platform UI framework. It has been tested with GCC under Linux and Windows (MinGW). The program is just intended as an example of how to use CANLIB. It's not performance optimized in any way. It may, or may not, be useful for you. Windows build instructions -------------------------- Set INCLUDEPATH in demo.pro to where you have canlib.h, canstat.h, canevt.h, obsolete.h and predef.h. When linking, an import library called canlib32.a is used. This library is included as an example and is not updated regularly by Kvaser. If you suspect that the import library is not up-to-date (i.e. missing functionality), you need to re-build it: 1. Create a canlib32.def file from the exports in canlib32.lib: dumpbin.exe /exports canlib32.lib > canlib32.def 2. Edit the new canlib32.def so that it looks like this: LIBRARY canlib32.dll EXPORTS DllGetVersion@4 DllMain@12 canAccept@12 canBusOff@4 canBusOn@4 canClose@4 ... 3. Use dlltool.exe to create the import library: \mingw32\bin\dlltool.exe --input-def canlib32.def --dllname canlib32.dll --output-lib canlib32.a -k 4. Replace the old canlib32.a with the new canlib32.a 5. Rebuild the project

近期下载者

相关文件


收藏者