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.

[MIDAS 2.0]: MIDAS build failure

Other Parts Discussed in Thread: MIDAS

HI all,

I am trying to setup MIDAS build environment in my machine. I am following the procedures in the link http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo

I have completed all the steps except "Build MIDAS" section. MIDAS build failed.

The following are the errors.

/opt/qt/bin/uic mainwindow.ui -o ui_mainwindow.h
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I../../workdir/filesys/opt/qt/include/QtNetwork -I../../workdir/filesys/opt/qt/include/QtGui -I../../workdir/filesys/opt/qt/include -I. -I. -I../../workdir/filesys/include -o main.o main.cpp

mainwindow.h:58:25: error: UsFramework.h: No such file or directory
mainwindow.h:59:23: error: UsProcess.h: No such file or directory
mainwindow.h:60:23: error: UsControl.h: No such file or directory
mainwindow.h:61:23: error: UsAcquire.h: No such file or directory
mainwindow.h:62:23: error: UsDisplay.h: No such file or directory
mainwindow.h:63:17: error: scu.h: No such file or directory
mainwindow.h:64:17: error: dpu.h: No such file or directory
mainwindow.h:65:17: error: bpu.h: No such file or directory
In file included from main.cpp:54:
mainwindow.h:81: error: ISO C++ forbids declaration of 'scuConfig_t' with no type
mainwindow.h:81: error: expected ';' before '*' token
mainwindow.h:82: error: ISO C++ forbids declaration of 'scuConfig_t' with no type
mainwindow.h:82: error: expected ';' before '*' token
mainwindow.h:83: error: ISO C++ forbids declaration of 'bpuConfig_t' with no type
mainwindow.h:83: error: expected ';' before '*' token
mainwindow.h:84: error: ISO C++ forbids declaration of 'dpuConfig_t' with no type
mainwindow.h:84: error: expected ';' before '*' token
mainwindow.h:86: error: 'UsFramework_Handle' does not name a type
mainwindow.h:87: error: 'UsProcess_Handle' does not name a type
mainwindow.h:88: error: 'UsAcquire_Handle' does not name a type
mainwindow.h:89: error: 'UsDisplay_Handle' does not name a type
mainwindow.h:90: error: 'UsControl_Handle' does not name a type
mainwindow.h:92: error: 'BPU_COMPRESS_TBL_SIZE' was not declared in this scope
mainwindow.h:93: error: 'SCU_TISSUE_COLOR_MAPPING_TBL_SIZE' was not declared in this scope
mainwindow.h:94: error: 'SCU_FLOW_COLOR_MAPPING_TBL_SIZE' was not declared in this scope
mainwindow.h:95: error: 'SCU_ARBITRATION_TBL_SIZE' was not declared in this scope
mainwindow.h:105: error: 'bpuConfig_t' has not been declared
mainwindow.h:106: error: 'dpuConfig_t' has not been declared
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/tegralpb/midas/ultrasound'
make: *** [midas] Error 2

I tried to debug the issue. But I couldn't solve it yet. Please share your thoughts on this issue.

Thanks in advance,

Honey S

  • Hi, Sukesan.

    I'm chul.

    I'm also trying to setup MIDAS v2.0 build and I get a same error message as you.

    How do you solve this problem?

    I would like to know how to solve it.

    help me. please.

    make[1]: Leaving directory `/home/won/midas/ultrasound'
    make[1]: Entering directory `/home/won/midas/ultrasound'
    /opt/qt/bin/uic mainwindow.ui -o ui_mainwindow.h
    arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -Dxdc_target_types__
    =gnu/targets/arm/std.h -Dxdc_target_name__=GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I
    ../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I../../workdir/filesys/opt/qt/include/QtNetwork -I
    ../../workdir/filesys/opt/qt/include/QtGui -I../../workdir/filesys/opt/qt/include -I. -I. -I../../workdir/filesys/include -o main.o main.cpp
    In file included from main.cpp:54:
    mainwindow.h:58:25: error: UsFramework.h: No such file or directory
    mainwindow.h:59:23: error: UsProcess.h: No such file or directory
    mainwindow.h:60:23: error: UsControl.h: No such file or directory
    mainwindow.h:61:23: error: UsAcquire.h: No such file or directory
    mainwindow.h:62:23: error: UsDisplay.h: No such file or directory
    mainwindow.h:63:17: error: scu.h: No such file or directory
    mainwindow.h:64:17: error: dpu.h: No such file or directory
    mainwindow.h:65:17: error: bpu.h: No such file or directory
    In file included from main.cpp:54:
    mainwindow.h:81: error: ISO C++ forbids declaration of 'scuConfig_t' with no type
    mainwindow.h:81: error: expected ';' before '*' token
    mainwindow.h:82: error: ISO C++ forbids declaration of 'scuConfig_t' with no type
    mainwindow.h:82: error: expected ';' before '*' token
    mainwindow.h:83: error: ISO C++ forbids declaration of 'bpuConfig_t' with no type
    mainwindow.h:83: error: expected ';' before '*' token
    mainwindow.h:84: error: ISO C++ forbids declaration of 'dpuConfig_t' with no type
    mainwindow.h:84: error: expected ';' before '*' token
    mainwindow.h:86: error: 'UsFramework_Handle' does not name a type
    mainwindow.h:87: error: 'UsProcess_Handle' does not name a type
    mainwindow.h:88: error: 'UsAcquire_Handle' does not name a type
    mainwindow.h:89: error: 'UsDisplay_Handle' does not name a type
    mainwindow.h:90: error: 'UsControl_Handle' does not name a type
    mainwindow.h:92: error: 'BPU_COMPRESS_TBL_SIZE' was not declared in this scope
    mainwindow.h:93: error: 'SCU_TISSUE_COLOR_MAPPING_TBL_SIZE' was not declared in this scope
    mainwindow.h:94: error: 'SCU_FLOW_COLOR_MAPPING_TBL_SIZE' was not declared in this scope
    mainwindow.h:95: error: 'SCU_ARBITRATION_TBL_SIZE' was not declared in this scope
    mainwindow.h:105: error: 'bpuConfig_t' has not been declared
    mainwindow.h:106: error: 'dpuConfig_t' has not been declared
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/home/won/midas/ultrasound'
    make: *** [midas] Error 2
    won@ubuntu:~/midas$

  • Hi chul,

    I think I have solved this problem by doing the following steps:-

    1. The installation path of TI dvsdk and TI midas should be under same parent folder. 

    eg:- If DVSDK is under say:- /home/honey/dvsdk_3_xx_xx_xx, midas source code should be under /home/honey/midas

    2. Make sure embedded qt is installed properly. That is:- When qt libraries are installed, make sure /opt/qt has read/write permissions. Rebuild embedded qt.

    Modify the paths accordingly in Rules.make and Paths.mak. Rebuild MIDAS again.

    Hope this helps.

    Cheers,

    Honey

  • Honey Sukesan.

    Thank you for your advice.

    1. I move the folder dvsdk_3_00_02_44 form /home/won/dvsdk/dvsdk_3_00_02_44 to /home/won/dvsdk_3_dvsdk_3_00_02_44.

    TI dvsdk and TI midas get same parent folder.   (midas is /home/won/midas).

    2. Modify the paths accordingly in Rules.make (dvsdk_3_00_02_44) and Paths.mak(midas).

    and  C64P.rootDir = "/home/won/dvsdk_3_00_02_44/cg6x_6_0_16"; .

    3. Rebuild embedded qt

    host $ cd ~/qt-everywhere-opensource-src-4.6.2 host $ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \ -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc \ -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib host $ make host $ make install INSTALL_ROOT=/home/won/workdir/filesys

    4. Rebuild MIDAS again.

    host $ cd ~/midas

    host $ make clean

    host $ make midas

    5. I think your advice is good.

    But I get a 1 error another.

    The error message is blow.


    arm-none-linux-gnueabi-gcc -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -Dxdc_target_types__
    =gnu/targets/arm/std.h -Dxdc_target_name__=GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I
    ../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I../../workdir/filesys/opt/qt/include/QtNetwork -I
    ../../workdir/filesys/opt/qt/include/QtGui -I../../workdir/filesys/opt/qt/include -Iapps/mud -I../../dvsdk_3_00_02_44/dmai_2_00_01_04/packages -I../../dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/packages -I
    ../../dvsdk_3_00_02_44/codec_engine_2_24/packages -I../../dvsdk_3_00_02_44/framework_components_2_24/packages -I../../dvsdk_3_00_02_44/dsplink_1_61_03/packages -I../../dvsdk_3_00_02_44/xdais_6_24/packages -I
    ../../dvsdk_3_00_02_44/linuxutils_2_24_02/packages -I../../dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages -I../../dvsdk_3_00_02_44/bios_5_33_06/packages -I../../dvsdk_3_00_02_44/biosutils_1_01_00/packages -I
    ../../dvsdk_3_00_02_44/edma3_lld_01_10_00_01/packages -I../../dvsdk_3_00_02_44/local_power_manager_1_24/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages/ti -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais -I
    ../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais/dm -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/xdc -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages -Ialgos -Iapps -Iapps/mud -Ialgos/scu -Ialgos/dpu -Ialgos/bpu -Itypes -I. -I. -I
    ../../workdir/filesys/include -o debugutils.o apps/mud/debugutils.c

    arm-none-linux-gnueabi-gcc -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -Dxdc_target_types__
    =gnu/targets/arm/std.h -Dxdc_target_name__=GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I
    ../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I../../workdir/filesys/opt/qt/include/QtNetwork -I
    ../../workdir/filesys/opt/qt/include/QtGui -I./../workdir/filesys/opt/qt/include -Iapps/mud -I../../dvsdk_3_00_02_44/dmai_2_00_01_04/packages -I../../dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/packages -I
    ../../dvsdk_3_00_02_44/codec_engine_2_24/packages -I../../dvsdk_3_00_02_44/framework_components_2_24/packages -I../../dvsdk_3_00_02_44/dsplink_1_61_03/packages -I../../dvsdk_3_00_02_44/xdais_6_24/packages -I
    ../../dvsdk_3_00_02_44/linuxutils_2_24_02/packages -I../../dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages -I../../dvsdk_3_00_02_44/bios_5_33_06/packages -I../../dvsdk_3_00_02_44/biosutils_1_01_00/packages -I
    ../../dvsdk_3_00_02_44/edma3_lld_01_10_00_01/packages -I../../dvsdk_3_00_02_44/local_power_manager_1_24/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages/ti -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais -I
    ../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais/dm -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/xdc -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages -Ialgos -Iapps -Iapps/mud -Ialgos/scu -Ialgos/dpu -Ialgos/bpu -Itypes -I. -I. -I
    ../../workdir/filesys/include -o UsControl.o apps/mud/UsControl.c
    /opt/qt/bin/moc -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I
    ../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I../../workdir/filesys/opt/qt/include/QtNetwork -I../../workdir/filesys/opt/qt/include/QtGui -I
    ../../workdir/filesys/opt/qt/include -Iapps/mud -I../../dvsdk_3_00_02_44/dmai_2_00_01_04/packages -I../../dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages -I
    ../../dvsdk_3_00_02_44/framework_components_2_24/packages -I../../dvsdk_3_00_02_44/dsplink_1_61_03/packages -I../../dvsdk_3_00_02_44/xdais_6_24/packages -I../../dvsdk_3_00_02_44/linuxutils_2_24_02/packages -I
    ../../dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages -I../../dvsdk_3_00_02_44/bios_5_33_06/packages -I../../dvsdk_3_00_02_44/biosutils_1_01_00/packages -I../../dvsdk_3_00_02_44/edma3_lld_01_10_00_01/packages -I
    ../../dvsdk_3_00_02_44/local_power_manager_1_24/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages/ti -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais/dm -I
    ../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/xdc -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages -Ialgos -Iapps -Iapps/mud -Ialgos/scu -Ialgos/dpu -Ialgos/bpu -Itypes -I. -I. -I../../workdir/filesys/include mainwindow.h -o moc_mainwindow.cpp

    arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__
    =GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I
    ../../workdir/filesys/opt/qt/include/QtNetwork -I../../workdir/filesys/opt/qt/include/QtGui -I../../workdir/filesys/opt/qt/include -Iapps/mud -I../../dvsdk_3_00_02_44/dmai_2_00_01_04/packages -I../../dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/packages -I
    ../../dvsdk_3_00_02_44/codec_engine_2_24/packages -I../../dvsdk_3_00_02_44/framework_components_2_24/packages -I../../dvsdk_3_00_02_44/dsplink_1_61_03/packages -I../../dvsdk_3_00_02_44/xdais_6_24/packages -I../../dvsdk_3_00_02_44/linuxutils_2_24_02/packages -I
    ../../dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages -I../../dvsdk_3_00_02_44/bios_5_33_06/packages -I../../dvsdk_3_00_02_44/biosutils_1_01_00/packages -I../../dvsdk_3_00_02_44/edma3_lld_01_10_00_01/packages -I
    ../../dvsdk_3_00_02_44/local_power_manager_1_24/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages/ti -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais/dm -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/xdc -I
    ../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages -Ialgos -Iapps -Iapps/mud -Ialgos/scu -Ialgos/dpu -Ialgos/bpu -Itypes -I. -I. -I../../workdir/filesys/include -o moc_mainwindow.o moc_mainwindow.cpp

    /opt/qt/bin/rcc -name ultrasound ultrasound.qrc -o qrc_ultrasound.cpp
    arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=GCArmv5T -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I
    ../../qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-omap3-g++ -I. -I../../workdir/filesys/opt/qt/include/QtCore -I../../workdir/filesys/opt/qt/include/QtNetwork -I../../workdir/filesys/opt/qt/include/QtGui -I../../workdir/filesys/opt/qt/include -Iapps/mud -I../../dvsdk_3_00_02_44/dmai_2_00_01_04/packages -I
    ../../dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages -I../../dvsdk_3_00_02_44/framework_components_2_24/packages -I../../dvsdk_3_00_02_44/dsplink_1_61_03/packages -I../../dvsdk_3_00_02_44/xdais_6_24/packages -I
    ../../dvsdk_3_00_02_44/linuxutils_2_24_02/packages -I../../dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages -I../../dvsdk_3_00_02_44/bios_5_33_06/packages -I../../dvsdk_3_00_02_44/biosutils_1_01_00/packages -I../../dvsdk_3_00_02_44/edma3_lld_01_10_00_01/packages -I
    ../../dvsdk_3_00_02_44/local_power_manager_1_24/packages -I../../dvsdk_3_00_02_44/codec_engine_2_24/packages/ti -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais -I../../dvsdk_3_00_02_44/xdais_6_24/packages/ti/xdais/dm -I../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/xdc -I
    ../../dvsdk_3_00_02_44/xdctools_3_15_01_59/packages -Ialgos -Iapps -Iapps/mud -Ialgos/scu -Ialgos/dpu -Ialgos/bpu -Itypes -I. -I. -I../../workdir/filesys/include -o qrc_ultrasound.o qrc_ultrasound.cpp

    arm-none-linux-gnueabi-g++ -Wl,-O1 -Wl,-rpath,/opt/qt/lib -o ../../workdir/filesys/opt/midas/ultrasound main.o mainwindow.o UsProcess.o UsFramework.o UsDisplay.o UsAcquire.o debugutils.o UsControl.o moc_mainwindow.o qrc_ultrasound.o
    -L/home/won/workdir/filesys/lib -L/opt/qt/lib apps/mud/mud/package/cfg/mud_xv5T.ov5T /home/won/dvsdk_3_00_02_44/dmai_2_00_01_04/packages/ti/sdo/dmai/lib/dmai_linux_omap3530.a470MV /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/image1/lib/release/imgdec1.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/image1/lib/release/imgenc1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/image/lib/release/image.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/video2/lib/release/viddec2.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/video1/lib/release/viddec1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/video1/lib/release/videnc1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/video/lib/release/video.av5T 
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/audio1/lib/release/auddec1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/audio1/lib/release/audenc1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/audio/lib/release/audio.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/speech1/lib/release/sphdec1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/speech1/lib/release/sphenc1.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/speech/lib/release/speech.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/universal/lib/release/universal.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/lib/release/ce.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/alg/lib/release/Algorithm_noOS.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/alg/lib/release/alg.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/ipc/dsplink/lib/release/ipc_dsplink_3530.av5T /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/osal/linux/lib/release/osal_linux_470.av5T
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/acpy3/lib/release/acpy3.a470MV /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/dman3/lib/release/dman3Cfg.a470MV /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/rmm.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/smgr.a470MV /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/rmmp.a470MV /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/smgrmp.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/shm.a470MV /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/memutils/lib/release/memutils.a470MV /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/node/lib/release/node.av5T
    /home/won/dvsdk_3_00_02_44/local_power_manager_1_24/packages/ti/bios/power/lib/release/lpm_linux.av5T /home/won/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/utils/xdm/lib/release/XdmUtils.av5T
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/utils/trace/lib/release/gt.a470MV /home/won/dvsdk_3_00_02_44/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV /home/won/dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/gnu/targets/arm/rtsv5T/lib/gnu.targets.arm.rtsv5T.av5T -lQtGui -L/opt/qt/lib -L/home/won/workdir/filesys/lib -lQtNetwork -lQtCore -lpthread -lts
    make[1]: Leaving directory `/home/won/midas/ultrasound'
    cp ./ultrasound/servers/mud/mud.x64P /home/won/workdir/filesys/opt/midas
    cp ./ultrasound/ultrasound /home/won/workdir/filesys/opt/midas/ultrasound
    cp: cannot stat `./ultrasound/ultrasound': No such file or directory
    make: *** [midas] Error 1
    won@ubuntu:~/midas$

    How can I make ultrasound file?

    
    
  • Thank you for your advice.

    I try your advice as blow.

    1. TI dvsdk and TI midas should be under same parent folder.

         host $ mv /home/won/dvsdk/dvsdk_3_00_02_44 /home/won/

    So, TI dvsdk move.

    /home/won/dvdsk_3_00_02_44        

     /home/won/midas

    2.  I try step2 and modify dvsdk_3_00_02_44/Rules.make & midas/Paths.mak.

    and Rebuild MIDAS again.

      host $ make clean

      host $ make midas

    I pass over the first error.

    But I get a new error message blow.

     /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/alg/lib/release/Algorithm_noOS.av5T 
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/alg/lib/release/alg.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/ipc/dsplink/lib/release/ipc_dsplink_3530.av5T
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/osal/linux/lib/release/osal_linux_470.av5T
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/acpy3/lib/release/acpy3.a470MV 
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/dman3/lib/release/dman3Cfg.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/rmm.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/smgr.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/rmmp.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/smgrmp.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/utils/lib/release/shm.a470MV
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/fc/memutils/lib/release/memutils.a470MV
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/node/lib/release/node.av5T
    /home/won/dvsdk_3_00_02_44/local_power_manager_1_24/packages/ti/bios/power/lib/release/lpm_linux.av5T
    /home/won/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib
    /home/won/dvsdk_3_00_02_44/codec_engine_2_24/packages/ti/sdo/ce/utils/xdm/lib/release/XdmUtils.av5T
    /home/won/dvsdk_3_00_02_44/framework_components_2_24/packages/ti/sdo/utils/trace/lib/release/gt.a470MV
    /home/won/dvsdk_3_00_02_44/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV
    /home/won/dvsdk_3_00_02_44/xdctools_3_15_01_59/packages/gnu/targets/arm/rtsv5T/lib/gnu.targets.arm.rtsv5T.av5T -lQtGui -L/opt/qt/lib -L
    /home/won/workdir/filesys/lib -lQtNetwork -lQtCore -lpthread -lts
    make[1]: Leaving directory `/home/won/midas/ultrasound'
    cp ./ultrasound/servers/mud/mud.x64P /home/won/workdir/filesys/opt/midas
    cp ./ultrasound/ultrasound /home/won/workdir/filesys/opt/midas/ultrasound
    cp: cannot stat `./ultrasound/ultrasound': No such file or directory
    make: *** [midas] Error 1
    won@ubuntu:~/midas$ ls

    I look makefile up in midas folder.

    Makefile is blow.

    include Paths.mak

    all:
    @cd ./ultrasound/servers/mud; make
    @cd ./ultrasound/apps/mud; make
    @cd ./ultrasound; qmake; make

    install:
    cp ./ultrasound/servers/mud/mud.x64P $(EXEC_INSTALL_DIR)

    clean:
    @cd ./ultrasound/servers/mud; make clean
    @cd ./ultrasound/apps/mud; make clean
    @cd ./ultrasound; make clean

    midas:
    @cd ./ultrasound/servers/mud; make clean; make
    @cd ./ultrasound/apps/mud; make clean; make
    @cd ./ultrasound; qmake; make clean; make
    cp ./ultrasound/servers/mud/mud.x64P $(EXEC_INSTALL_DIR)
    cp ./ultrasound/ultrasound $(EXEC_INSTALL_DIR)/ultrasound <-- This command creates an error.                             

    How can I solve this problem?

    Please, Help me.

  • Hi Chul,

    Thank you for the update. Glad that you could solve the earlier errors.
    I have come across the mentioned error too while I build MIDAS 2.0.

    To solve the error, you just need to comment the line
    cp ./ultrasound/ultrasound $(EXEC_INSTALL_DIR)/ultrasound in the Makefile
    To comment the line, just start the line with @

    The reason for commenting the above line is: The executable ultrasound is already created in the EXEC_INSTALL_DIR.
    Please refer the Makefile in the path ~/midas/ultrasound. It is specified there that:
    DESTDIR       = ../../workdir/filesys/opt/midas/
    TARGET        = ../../workdir/filesys/opt/midas/ultrasound

    So by this statement itself, the executable 'ultrasound' is created in the EXEC_INSTALL_DIR. So no need for the additional cp statement in the ~/midas/Makefile


    Thanks,
    Honey S