Post Go back to editing

Qt project with mcapi

Hi! I want to include MCAPI library in my Qt project. What should I do to make this?

I copied mcapi 2.0 headers into myproject/mcapi folder and append INCLUDEPATH += $$PWD/mcapi into .pro file. Also I appended DEPENDPATH += $$PWD/mcapi and unix:!macx: LIBS += -L$$PWD/mcapi/ -lmcapi. But I get error

mainwindow.o: In function `MainWindow::on_pushButton_2_clicked()':

../myproject/mainwindow.cpp:(.text+0x134): undefined reference to `mcapi_initialize(unsigned int, unsigned int, attributes_t const*, int const*, mcapi_info_t*, unsigned int*)'

collect2: ld returned 1 exit status

Parents
  • Hi, do you mind describing your final goal, your required function in more details (like do you also expect control data from Linux core A to CCES coreB? And what's the ADC data bandwidth do you require? ) so I'll try to see if I can share some idea?

    Could you do this by opening a new thread? So we can have a clearer track and benefit other readers as well.

Reply
  • Hi, do you mind describing your final goal, your required function in more details (like do you also expect control data from Linux core A to CCES coreB? And what's the ADC data bandwidth do you require? ) so I'll try to see if I can share some idea?

    Could you do this by opening a new thread? So we can have a clearer track and benefit other readers as well.

Children
No Data