Ticket Name: Compiler/TDA2PXEVM: Unable to build PC side network tools Query Text: Part Number: TDA2PXEVM Other Parts Discussed in Thread: TDA2 Tool/software: TI C/C++ Compiler Hi, I'm trying to build the PC side network tools of the Vision SDK, following the steps in the network tools user guide. However, I get a missing file compilation error on conio.h, which does seem to be missing. Does this file need to be generated beforehand? I am building from a cygwin terminal, and I have tried both version 3.03 and 3.04 of the Vision SDK. Attached is the gmake output from cygwin: network build log.txt rlee@port-0618-01 /cygdrive/c/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/apps/tools/network_tools/build $gmake -s common: Making Directories, if not already created common: Building dependancies tfdtp_api.c:87:10: fatal error: conio.h: No such file or directory #include ^~~~~~~~~ compilation terminated. gmake[3]: *** [depend] Error 1 gmake[2]: *** [libs] Error 2 gmake[1]: *** [depend] Error 2 gmake: *** [exe] Error 2 Thanks, Richard Responses: Hello Richard, The networks tools were not tested on cygwin. We had always used Dos, git bash and Ubuntu terminal. Just to confirm if any issue, I built the tools on cygwin and i was able to build it. I only changed NSP_INCLUDE_PATH to set it to my NSP patch (d:/ti/nsp_gmacsw_4_15_00_00/packages). Below is configuration BUILD_OS=Windows_NT which gmake /cygdrive/d/ti/xdctools_3_25_02_70/gmake =========================== Which gmake are you using? Can you run "which gmake"? Are you changing BUILD_OS to Linux? For cygwin it should be Windows. Regards, Prasad Hello Richard, I think the issue you are facing is due to dependency list creation where compiler flags are not involved. I assume you are changing BUILD_OS to Linux. With that make below change in apps\tools\network_tools\build\COMMON_FOOTER.MK depend: $(CC) $(DEFINE) $(INCLUDE) $(FILES) -M > MAKEFILE.DEPEND depend: $(CC) $(CC_OPTS) $(DEFINE) $(INCLUDE) $(FILES) -M > MAKEFILE.DEPEND Hi Prasad, My NSP patch path is: C:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages The user guide doesn't seem to have instructions on how to install nsp? My BUILD_OS is WINDOWS_NT. "which gmake" returns /cygdrive/c/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/gmake. However, in my RULES.MK file, I have set MAKE to C:/ti/xdctools_3_50_7_20_core/gmake. Thanks, Richard Hello Richard, You don't need to install NSP. It is part of VSDK release. Please try below 1. Change BUILD_OS to Windows 2. Change NSP_INCLUDE_PATH to C:/PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages 3. Change apps\tools\network_tools\build\COMMON_FOOTER.MK depend: $(CC) $(DEFINE) $(INCLUDE) $(FILES) -M > MAKEFILE.DEPEND depend: $(CC) $(CC_OPTS) $(DEFINE) $(INCLUDE) $(FILES) -M > MAKEFILE.DEPEND If this doesn't work, try changing OS to Linux. If that too doesn't work please share fail logs of both options. Hi Prasad, Unfortunately that didn't work. Here are the Windows and Linux fail logs, as well as the RULES and COMMON_FOOTER makefiles: 3173.Windows Build Log.txt C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\tools\network_tools\build>gm ake gmake depend gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/app s/tools/network_tools/build' gmake libs TARGET=depend gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/app s/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/ network_tools/build/../common/src MODULE=common depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/app s/tools/network_tools/common/src' common: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools /build/../lib// The syntax of the command is incorrect. gmake[3]: [depend] Error 1 (ignored) mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools /build/../lib/obj/common/ The syntax of the command is incorrect. gmake[3]: [depend] Error 1 (ignored) mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools /build/../bin/ The syntax of the command is incorrect. gmake[3]: [depend] Error 1 (ignored) common: Building dependancies C:/cygwin64//bin/gcc -c -Wall -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sd k/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCE SSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packa ges -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/bu ild/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/t i_components/networking/nsp_gmacsw_4_15_00_00/packages network_api.c osa.c o sa_file.c tfdtp_api.c -M > MAKEFILE.DEPEND C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory gmake[3]: *** [depend] Error 1 gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps /tools/network_tools/common/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps /tools/network_tools/build' gmake[1]: *** [depend] Error 2 gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps /tools/network_tools/build' gmake: *** [exe] Error 2 1881.Linux Build Log.txt C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\tools\network_tools\build>gm ake gmake depend gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/app s/tools/network_tools/build' gmake libs TARGET=depend gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/app s/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/ network_tools/build/../common/src MODULE=common depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/app s/tools/network_tools/common/src' common: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools /build/../lib// The syntax of the command is incorrect. gmake[3]: [depend] Error 1 (ignored) mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools /build/../lib/obj/common/ The syntax of the command is incorrect. gmake[3]: [depend] Error 1 (ignored) mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools /build/../bin/ The syntax of the command is incorrect. gmake[3]: [depend] Error 1 (ignored) common: Building dependancies C:/cygwin64//bin/gcc -c -Wall -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sd k/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCE SSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packa ges -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/bu ild/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/t i_components/networking/nsp_gmacsw_4_15_00_00/packages network_api.c osa.c o sa_file.c tfdtp_api.c -M > MAKEFILE.DEPEND C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory C:/cygwin64/lib/gcc/x86_64-pc-cygwin/7.3.0/cc1.exe: error while loading shared l ibraries: ?: cannot open shared object file: No such file or directory gmake[3]: *** [depend] Error 1 gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps /tools/network_tools/common/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps /tools/network_tools/build' gmake[1]: *** [depend] Error 2 gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps /tools/network_tools/build' gmake: *** [exe] Error 2 8688.RULES.MK.txt BASE_DIR = $(abspath .) CONFIG= BUILD_OS=Linux ifeq ($(BUILD_OS),Windows_NT) MAKE = gmake CGTOOLS_PATH=C:/cygwin64/ NSP_INCLUDE_PATH=C:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages endif ifeq ($(BUILD_OS),Linux) MAKE = gmake CGTOOLS_PATH=C:/cygwin64/ NSP_INCLUDE_PATH=C:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages endif export CONFIG export BASE_DIR export MAKE export CGTOOLS_PATH export NSP_INCLUDE_PATH export BUILD_OS COMMON_FOOTER.MK.txt # (c) Texas Instruments ifndef $(COMMON_FOOTER_MK) COMMON_FOOTER_MK = 1 OBJS=$(subst .c,.o, $(FILES) ) OBJ_DIR=$(OBJ_BASE_DIR)/$(MODULE)/$(CONFIG) vpath %.o $(OBJ_DIR) LIB = $(MODULE).a ifeq ($(BUILD_OS),Linux) EXE_EXT = out else EXE_EXT = exe endif EXE = $(EXE_BASE_DIR)/$(CONFIG)/$(MODULE).$(EXE_EXT) .c.o: @echo $(MODULE): Compiling $< $(CC) $(CC_OPTS) $(OPTI_OPTS) $(DEFINE) $(INCLUDE) -o$(OBJ_DIR)/$@ $< lib : $(LIB_DIR)/$(LIB) $(LIB_DIR)/$(LIB) : $(OBJS) @echo $(MODULE): Creating archive $(LIB) $(AR) $(AR_OPTS) $(LIB_DIR)/$(LIB) $(OBJ_DIR)/*.o obj: $(OBJS) clean: @echo $(MODULE): Deleting temporary files -rm -f $(LIB_DIR)/$(LIB) -rm -f $(OBJ_DIR)/*.* depend: @echo $(MODULE): Making Directories, if not already created -mkdir -p $(LIB_DIR) -mkdir -p $(OBJ_DIR) -mkdir -p $(EXE_BASE_DIR) @echo $(MODULE): Building dependancies $(CC) $(CC_OPTS) $(DEFINE) $(INCLUDE) $(FILES) -M > MAKEFILE.DEPEND exe: @echo $(MODULE): Linking $(LD) -o$(EXE) $(LIBS) $(LD_OPTS) @echo Final executable $(EXE) !!! install: -include MAKEFILE.DEPEND endif # ifndef $(COMMON_FOOTER_MK) Thanks, Richard Hi Prasad, I accidentally built from CMD instead of Cygwin, sorry about that. Here are the build logs from Cygwin: 2476.Windows Build Log.txt $ gmake gmake depend gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake libs TARGET=depend gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/src MODULE=common depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' common: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib// mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/common/ mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../bin/ common: Building dependancies C:/cygwin64//bin/gcc -c -Wall -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_api.c osa.c osa_file.c tfdtp_api.c -M > MAKEFILE.DEPEND tfdtp_api.c:87:10: fatal error: conio.h: No such file or directory #include ^~~~~~~~~ compilation terminated. gmake[3]: *** [depend] Error 1 gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake[1]: *** [depend] Error 2 gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake: *** [exe] Error 2 5556.Linux Build Log.txt $ gmake gmake depend gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake libs TARGET=depend gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/src MODULE=common depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' common: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib// mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/common/ mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../bin/ common: Building dependancies C:/cygwin64//bin/gcc -c -Wall -Dlinux -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_api.c osa.c osa_file.c tfdtp_api.c -M > MAKEFILE.DEPEND gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_ctrl/src MODULE=network_ctrl depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_ctrl/src' network_ctrl: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib// mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_ctrl/ mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../bin/ network_ctrl: Building dependancies C:/cygwin64//bin/gcc -c -Wall -Dlinux -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_ctrl_handle_echo.c network_ctrl_handle_iss_raw_save.c network_ctrl_handle_mem_rd.c network_ctrl_handle_mem_save.c network_ctrl_handle_mmc_wr.c network_ctrl_handle_object_detect_set_dynamic_params.c network_ctrl_handle_qspi_wr.c network_ctrl_handle_stereo_calib_image_save.c network_ctrl_handle_stereo_set_dynamic_params.c network_ctrl_handle_stereo_set_params.c network_ctrl_handle_sys_reset.c network_ctrl_main.c -M > MAKEFILE.DEPEND gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_ctrl/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_tx/src MODULE=network_tx depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_tx/src' network_tx: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib// mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_tx/ mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../bin/ network_tx: Building dependancies C:/cygwin64//bin/gcc -c -Wall -Dlinux -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_tx_main.c -M > MAKEFILE.DEPEND gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_tx/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_rx/src MODULE=network_rx depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_rx/src' network_rx: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib// mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_rx/ mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../bin/ network_rx: Building dependancies C:/cygwin64//bin/gcc -c -Wall -Dlinux -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_rx_main.c -M > MAKEFILE.DEPEND gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_rx/src' gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake libs gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/src MODULE=common gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' gmake[2]: *** No rule to make target `/usr/include/stdlib.h', needed by `network_api.o'. Stop. gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake: *** [exe] Error 2 Thanks, Richard Hello Richard, You should be able to build from Windows command prompt by setting BUILD_OS to Windows. Not sure why it fails for you. You should not see error "tfdtp_api.c:87:10: fatal error: conio.h: No such file or directory" on windows. Also, I assume you are taking a change in depend rule I suggested in earlier post. When trying with Windows, are you using codeblocks tools? can you please try that? Please make sure you do clean before starting build. I see you using command "gmake", have you tried "gmake all"? Hi Prasad, I have made the change in the depend rule. I tried using the codeblocks compiler and I did "gmake clean" and "gmake all" from cygwin, but I get a syntax error: Codeblocks Build Log.txt $ gmake all gmake clean gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_ctrl/src/MAKEFILE.DEPEND rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_rx/src/MAKEFILE.DEPEND rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_tx/src/MAKEFILE.DEPEND rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_cons/src/MAKEFILE.DEPEND rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/src/MAKEFILE.DEPEND gmake libs TARGET=clean gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/src MODULE=common clean gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' common: Deleting temporary files rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib///common.a rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/common//*.* gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_ctrl/src MODULE=network_ctrl clean gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_ctrl/src' network_ctrl: Deleting temporary files rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib///network_ctrl.a rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_ctrl//*.* gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_ctrl/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_tx/src MODULE=network_tx clean gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_tx/src' network_tx: Deleting temporary files rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib///network_tx.a rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_tx//*.* gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_tx/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_rx/src MODULE=network_rx clean gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_rx/src' network_rx: Deleting temporary files rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib///network_rx.a rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_rx//*.* gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_rx/src' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../network_cons/src MODULE=network_cons clean gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_cons/src' network_cons: Deleting temporary files rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib///network_cons.a rm -f C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/network_cons//*.* gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/network_cons/src' gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake exe gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake depend gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake libs TARGET=depend gmake[3]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake -fMAKEFILE.MK -CC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/src MODULE=common depend gmake[4]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' common: Making Directories, if not already created mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib// mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../lib/obj/common/ mkdir -p C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../bin/ common: Building dependancies C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc -c -Wall -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_api.c osa.c osa_file.c tfdtp_api.c -M > MAKEFILE.DEPEND C:/cygwin64/tmp/make141756-1.sh: line 1: syntax error near unexpected token `(' C:/cygwin64/tmp/make141756-1.sh: line 1: `C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc -c -Wall -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages -IC:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build/../common/inc -I../inc -I../priv -I. -IC:/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages network_api.c osa.c osa_file.c tfdtp_api.c -M > MAKEFILE.DEPEND' gmake[4]: *** [depend] Error 2 gmake[4]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/common/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake[2]: *** [depend] Error 2 gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake[1]: *** [exe] Error 2 gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/tools/network_tools/build' gmake: *** [all] Error 2 Thanks, Richard What is codeblocks version? Can you please try 16.2 or previous? I remember one user facing issues with 17.12. Hi Prasad, I tried version 16.1 instead of 17.12, but I got the same error. To take a step back, is there some other way to transmit sensor data from the TDA2 system to the host computer in real time? Such as through the USB, JTAG, etc. Thanks, Richard Hello Richard, You can write through PCIE to external hard disc but that support is limited in VSDK BIOS. File writes is other option but is limited by write speed and amount of data. Networking seems more suitable for large data. If you are OK you can zip your network tools folder to me and I can build for you. If not fine on putting on public e2e please mail me zip. Also if needed we can have WebEx session for building issue. Hi Prasad, Attached is my network tools folder: network_tools.zip Thanks, Richard Hello Richard, Please find attached binaries generated. I was able to build your repo with codeblocks-17.12mingw-nosetup (sourceforge.net/.../download). I made only below change (note quotes were missing in your case) CGTOOLS_PATH="c:/Program Files (x86)/codeblocks-17.12mingw-nosetup/MinGW" My path - PATH=C:\Program Files (x86)\codeblocks-17.12mingw-nosetup\MinGW\bin;d:\ti\ccsv6\utils\bin;D:\ti\ccsv6\utils\cygwin Not sure why it doesnt build on your set up. Please try downloading codeblocks mingw version /cfs-file/__key/communityserver-discussions-components-files/791/2671.bin.zip Also in cygwin case, you dont need to given windows patch. Something like below is needed. You had changed it to d:\cygwin64 CGTOOLS_PATH=/usr/ NSP_INCLUDE_PATH=/cygdrive/c/PROCESSOR_SDK_VISION_03_04_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages Hi Prasad, Unfortunately, I was still unable to build the binaries. However, I will continue development with the binaries that you have kindly built. Thanks, Richard Richard, Dont know why. Maybe some issue with your PATH. Anyway when I compared your network tools with VSDK default I didnt see any changes, just wondering why you couldnt use TI provided binaries. Hi Richard, I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out)