none
Build OV3640 Error in wince6.0 RRS feed

  • Question

  • Hello,

    We used the S5PV210 board and need to add the ov3640 module into the NK.BIN. But we got some building errors when add the OV3640 class in the bsp project. The errors as follows:

    BUILD: [Thrd:Sequence:Type  ] Message
    BUILD: [01:0000006348:ERRORE] camera_hal.lib(module_interface.obj) : error LNK2019: unresolved external symbol "public: __cdecl OV3640::OV3640(void)" (??0OV3640@@QAA@XZ) referenced in function ModuleInit
    BUILD: [01:0000006349:ERRORE] C:\WINCE600\platform\SMDKV210\target\ARMV4I\retail\CAMDriver.dll : fatal error LNK1120: 1 unresolved externals

    The code which we modifyed is at the ModuleInit function in the file module_interface.cpp :

                                     

            switch(g_selectedModule)
            {
            /*
            case SYSLSI_S5K6AAFX:
                vCamModule[g_selectedModule] = new S5K6AAFX();        
                break;
            case SYSLSI_S5K4EAGX:
                vCamModule[g_selectedModule] = new S5K4EAGX();
                break;
            case SYSLSI_S5K3BA:
                vCamModule[g_selectedModule] = new S5K3BA();
                break;
            case NEC_CE143:
                vCamModule[g_selectedModule] = new CE143();
                break;
              */ 

    case SYSLSI_OV3640://here is the code we added, and the OV3640 is a class as TVP5150
    vCamModule[g_selectedModule] = new OV3640();
    break;


     case  SYSLSI_TVP5150:
    vCamModule[g_selectedModule] = new TVP5150();
    break;
    default:
    vCamModule[g_selectedModule]=NULL;
    Ret=FALSE;
            }


    gg

    Friday, February 1, 2013 7:27 AM

Answers

  • You have to add the OV3640 library name in the sources file of the camera driver SOURCELIBS section.
     
     
    Regards,
    Prabu [eMVP]
    • Marked as answer by Yanbin Yue Monday, March 4, 2013 2:16 AM
    Monday, February 4, 2013 4:24 PM

All replies

  • Does your BSP got the support for OV3640 sensor class?
     
    First check in your BSP folder whether you got any files with OV3640 sensor class support.If it is there then link that library to your camera driver by editing the �??sources�?? file.
     
    If your BSP doesn�??t support OV3640,then you have to define the whole class with the member functions implemented like TVP5150.Also there will be more functions to be implemented for the OV3640 Camera sensor case when compared to the decoder TVP5150.
     
    Regards,
    Prabu [eMVP]
    Friday, February 1, 2013 8:05 AM
  • This seems like a question for your BSP vendor, rather than the public at large. The basic answer is that you're missing some library that contains the indicated class definition. Maybe there is a SYSGEN variable that you're supposed to set to include that library or maybe you must modify your SOURCES file.

    Paul T.

    Friday, February 1, 2013 4:17 PM
  • There is the OV3640 module in the build directory. 


    gg

    Monday, February 4, 2013 8:00 AM
  • I think it's missing library, but I can't find the position which I could add the library path & name.

    gg

    Monday, February 4, 2013 8:03 AM
  • You have to add the OV3640 library name in the sources file of the camera driver SOURCELIBS section.
     
     
    Regards,
    Prabu [eMVP]
    • Marked as answer by Yanbin Yue Monday, March 4, 2013 2:16 AM
    Monday, February 4, 2013 4:24 PM