Has anyone tried to re-build the signal analyzer demo?
I tried as follows:
- Copy folder demos/signal-analyzer_1_00_00_04 to some local folder outside of the EZSDK to keep the EZSDK untouched
- Edit Rules.make in the second section (starting at '# Set the below paths as needed if not previously defined above'), adapting to the EZSDK's paths and more or less guessing the Qt specific paths
- Execute make all. This works and creates sigan_app.a.
- Execute make sigan_demo_app. This gives an error message; see below.
- Executing linux-devkit/environment-setup prior starting make doesn't help
- The only appropriate libraries I could find are those with an 'E' suffix, which probably refer to Qt embedded, which makes sense here. Modfying Makefile by appending 'E' to the missing libraries gives other missing libraries. Adding these libraries finally results in symbol 'main' being undefined.
-Trying to re-build the matrix GUI works and the generated executable also works fine on the target
- Building the hello world from the Qt wikipedia page also works fine, but requires linux-devkit/environment-setup to be executed first.
To me it seems I'm missing something very basic in my settings or there's something missing in the EZSDK. Maybe there should be links from libQtGuiE to libQtGui? If someone has successfully built this demo, I'd be interested in the settings (Rules.make, etc.) or the build log so I can see where it's going wrong. The only modification to the signal analyzer folder is in Rules.make (see attachment).
Here's the build log of the first attempt:
. /home/guenter/ti-ezsdk_c6a816x-evm_5_00_00_56/linux-devkit/environment-setup; make sigan_demo_app
Linking sigan_demo_app from sigan_main.o sigan_profile.o sigan_util.o sigan_app_config/linker.cmd..
/home/guenter/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -L/home/guenter/ti-ezsdk_c6a816x-evm_5_00_00_56/linux-devkit/arm-none-linux-gnueabi/usr/lib -lm -lpthread -ldl -lrt -pthread -L/home/guenter/ti-ezsdk_c6a816x-evm_5_00_00_56/linux-devkit/arm-none-linux-gnueabi/usr/lib -L/home/guenter/ti-ezsdk_c6a816x-evm_5_00_00_56/linux-devkit/arm-none-linux-gnueabi/usr/lib -L../../lib -lqwt -lQtGui -L/home/guenter/ti-ezsdk_c6a816x-evm_5_00_00_56/linux-devkit/arm-none-linux-gnueabi/usr/lib -lQtNetwork -lQtCore -o sigan_demo_app sigan_main.o sigan_profile.o sigan_util.o sigan_app_config/linker.cmd
/home/guenter/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [sigan_demo_app] Error 1
Guenter