Hi,
I downloaded the gui source code, but can't compile it. I tried to organize the files in a standard cpp solution (VS c++).
Did anyone succeded to work with it and can share the solution?
Thanks,
Itamar
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I downloaded the gui source code, but can't compile it. I tried to organize the files in a standard cpp solution (VS c++).
Did anyone succeded to work with it and can share the solution?
Thanks,
Itamar
Hello Itamar,
The FDC1004 GUI was developed using QT rather than Visual Studio. Also note that you need two additional libraries to compile the GUI: Qwt and BSL430. The Qwt library provides the graphing functions for the FDC1004 GUI and the BSL430 library provides the functions needed for upgrading the firmware from the GUI.
You'll find those libraries in the following websites:
After installing and compiling the above libraries, the pro file of the FDC1004 GUI needs to be adjusted. You'll find two lines in the pro file that start with "INCLUDEPATH" and "LIBS". Each line has directory paths to the two libraries header and lib files.
Please let me know if you need any further clarifications!
Best regards,
Blair
Hi Blair,
Thank you for the detailed answer.
I followed the steps, but wanted after building the qwt library I didn't find lib directory so I changed the .pro of the fdc1004 gui to the /src directory as the image below. Hence, I didn't succeed to compile it yet, is there a link to compiled library of qwt or what am I missing?
Thanks again,
Itamar
Hi Itamar,
Qwt may have compiled outside of the source directory. For example, my Qwt compiled to a directory next to the source directory called "build-qwt-Desktop_Qt_5_4_1_MinGW_32bit-Release". That folder contained the "lib" directory with the dll and lib files.
Also, I believe your INCLUDEPATH for Qwt is incorrect. At least with my Qwt source there isn't an include folder. I suspect you should have "C:/Qt/qwt-6.1.2/src".
Best regards,
Blair
Thakns, it indeed was built outside and I changed the path accordingly. The strange thing is that the gui project wasn't built since qwt_plot.h was not found although I changed the paths. it was not found in realtimeplot.h (from fdc 1004 gui project) so I copied qwt_plot.h to the same location and after that the error was that qwt_global.h is not found, please see below screen shot.
What do you think is missing?
Thanks,
Itamar
Hi Blair
I've looked in Google for this code and it seems that a delay need to be inserted in the code where qwt library is used. I am not sure where to touch but followed the steps above, the project is built but still can't be run...
What do you think?
Thanks,
Itamar
Hello Itamar,
Could you list all of the files in the directory of your executable? I will compare it to the files in my directory.
Best regards,
Blair
Hi Blair
just a rmeminder, did you had a chance to look at the files?
Thanks,
Itamar