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.

DLP4500: DLP ALC SDK problem

Part Number: DLP4500

I changed the camera API according to my camera, and the 8th step of building theDLP ALC SDK is correct. I am faced with a problem in the 9th step 'Compiling the 3D Machine Vision Reference Designs from Source' of SDK confiuring. Having tried on Windows7 32bit/64bit, the problem cannot be solved. Could you please help me with this problem?Thanks a lot.

G:/DLPSDK/DLPSDK-builder/lib/libDLP_SDK.a(pg_flycap2_c.cpp.obj):pg_flycap2_c.cpp:(.text+0x4375): undefined reference to `_imp__spinImageGetWidth@8'
G:/DLPSDK/DLPSDK-builder/lib/libDLP_SDK.a(pg_flycap2_c.cpp.obj):pg_flycap2_c.cpp:(.text+0x438c): undefined reference to `_imp__spinImageGetHeight@8'
G:/DLPSDK/DLPSDK-builder/lib/libDLP_SDK.a(pg_flycap2_c.cpp.obj):pg_flycap2_c.cpp:(.text+0x43d4): undefined reference to `_imp__spinImageCreateEmpty@4'
G:/DLPSDK/DLPSDK-builder/lib/libDLP_SDK.a(pg_flycap2_c.cpp.obj):pg_flycap2_c.cpp:(.text+0x4418): undefined reference to `_imp__spinImageConvert@12'
G:/DLPSDK/DLPSDK-builder/lib/libDLP_SDK.a(pg_flycap2_c.cpp.obj):pg_flycap2_c.cpp:(.text+0x4494): undefined reference to `_imp__spinImageConvert@12'
G:/DLPSDK/DLPSDK-builder/lib/libDLP_SDK.a(pg_flycap2_c.cpp.obj):pg_flycap2_c.cpp:(.text+0x44f3): undefined reference to `_imp__spinImageDestroy@4'
collect2.exe: error: ld returned 1 exit status
CMakeFiles\DLP_LightCrafter_4500_3D_Scan_Application.dir\build.make:100: recipe for target 'bin/DLP_LightCrafter_4500_3D_Scan_Application.exe' failed
mingw32-make[2]: *** [bin/DLP_LightCrafter_4500_3D_Scan_Application.exe] Error 1
CMakeFiles\Makefile2:71: recipe for target 'CMakeFiles/DLP_LightCrafter_4500_3D_Scan_Application.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/DLP_LightCrafter_4500_3D_Scan_Application.dir/all] Error 2
Makefile:82: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

  • Hello Lu,

    Could you please let me know what camera API and what version you used? Please also confirm the version of the ALC SDK, OpenCV, and Qt that you are using.

    Thanks,
    Kyle
  • Hello Kyle,

    Thanks for your reply. The camera is BFS-U3-50S5M-C from PointGrey, but the SDK is SpinnakerSDK_FULL_1.19.0.22 instead of Flycaputre. The version of ALC SDK, OpenCV, and Qt are the same as the user guide document. It seems the "mingw32-make command" couldn't find the proper camera path, but there is no error in the 8th step with the same command and cmake configuration. So I am confused with the problem for a long time. 

  • Hello Kyle,

         The project is time sensitive, could you please help me with this problem? Thank you so much.

  • Hi Lu Chen,

    Kindly wait for some time, a TI Engineer will reply to your query soon. Thanks for your patience!

    Thanks & Regards,
    Hirak.
  • Hi Lu Chen,
    Since you are using different PointGrey camera model and library, i would first suggest modifying the sdk software first.
    First - You need to implement the changes in the pf_flycap2_c.cpp file that currently calling

    // Point Grey Research FlyCapture 2 Header files
    #include <C/FlyCapture2_C.h>
    #include <C/FlyCapture2Defs_C.h>

    All the FlyCapture 2 API calls must have matching functions in the new PointGrey libraries.

    Other option is to work with PointGrey support to ask them to Port the FlyCapture 2 APIs to new API library.

    Unfortunately TI side no plans to add support for other camera models or libraries. You need to work

    After making the changes you can do clean build and test software.

    Regards,
    Sanjeev
  • Hi Sanjeev,

         Thanks for your kindly help. I have changed the API functions but there is the same error. Even I tried with FlyCapture2_C.h and FlyCapture2Defs_C.h, the same problem occurred.

  • Hi Lu Chen,
    Are you able to compile the code as it is on your system? If not I would suggest to do it as first step. Please note the SDK was compiled on Windows 7 with specific Point Grey & Open CV libraries.
    Any deviation from this requires additional effort. Currently we don't have plans to support.
    Regards,
    Sanjeev