"Module was built without symbols" Error occurred when tried to opening a sample project

I am new to visual studio, I am trying to run a sample CPP code from a company which connects to DCAM API application. I have checked the version of VS in .sln file and installed that version of VS.I tried running the code below

  // console/init_uninit
//

#include "../misc/console4.h"

#include "../misc/common.h"

#define USE_INITOPTION  0   // set DCAMAPI_INITOPTION when the value isn't 0.
#define USE_INITGUID    0   // set GUID parameter when the value isn't 0.

#if USE_INITGUID
#include "../misc/dcamapix.h"
#endif

int main( int argc, char* const argv[] )
{
    printf( "PROGRAM STARTn" );

    int ret = 0;
    DCAMERR err;

    // initialize DCAM-API
    DCAMAPI_INIT    apiinit;
    memset( &apiinit, 0, sizeof(apiinit) );
    apiinit.size    = sizeof(apiinit);

#if USE_INITOPTION
    // set option of initialization
    int32 initoption[] = {
                            DCAMAPI_INITOPTION_APIVER__LATEST,
                            DCAMAPI_INITOPTION_ENDMARK          // it is necessary to set as the last value.
                         };

    apiinit.initoption      = initoption;
    apiinit.initoptionbytes = sizeof(initoption);
#endif

#if USE_INITGUID
    // set GUID parameter
    DCAM_GUID   guid = DCAM_GUID_MYAPP;

    apiinit.guid    = &guid;
#endif
    
    err = dcamapi_init( &apiinit );
    if( failed(err) )
    {
        dcamcon_show_dcamerr( NULL, err, "dcamapi_init()" );
        ret = 1;
    }
    else
    {
        int32   nDevice = apiinit.iDeviceCount;
        printf( "dcamapi_init() found %d device(s).n", nDevice );

        int32 iDevice;
        for( iDevice = 0; iDevice < nDevice; iDevice++ )
        {
            dcamcon_show_dcamdev_info( (HDCAM)(intptr_t)iDevice );
        }
    }

    // finalize DCAM-API
    dcamapi_uninit();   // recommended call dcamapi_uninit() when dcamapi_init() is called even if it failed.

    printf( "PROGRAM ENDn" );
    return ret;
}

While Running the above code I am Getting the bellow output. But the application couldn’t run.

‘init_uninit.exe’ (Win32): Loaded ‘C:Usersbbbracamera softwareHamamatsu_DCAMSDK4_v20086083dcamsdk4samplescppinit_uninitx64Debuginit_uninit.exe’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32ntdll.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32kernel32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32KernelBase.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32vcruntime140d.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32dcamapi.dll’. Module was built without symbols.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32ucrtbased.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32dcamapi.dll’

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32dcamapi.dll’. Module was built without symbols.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32setupapi.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32msvcrt.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32cfgmgr32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32ucrtbase.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32rpcrt4.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32bcrypt.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32user32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32win32u.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32gdi32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32gdi32full.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32msvcp_win.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32advapi32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32sechost.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32shell32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32ole32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32combase.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32oleaut32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32psapi.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32shlwapi.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32version.dll’. Symbols loaded.

‘C:WindowsSystem32imm32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsSystem32DCAMAPIModulesDigitaldcamdig.dll’. Module was built without symbols.

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsSystem32DCAMAPIModulesDigitaldcamdig.dll’

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsSystem32DCAMAPIModulesDigitaldcamdig.dll’. Module was built without symbols.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32winmm.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsSystem32DCAMAPIModulesDigitalfg1394oh.dll’. Module was built without symbols.

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsSystem32DCAMAPIModulesDigitalfg1394oh.dll’

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsSystem32DCAMAPIModulesDigitalfg1394oh.dll’. Module was built
without symbols.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32hps1394.dll’. Module
was built without symbols.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32comdlg32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32SHCore.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32msimg32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.488_none_4238de57f6b64d28comctl32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32winspool.drv’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.488_none_4238de57f6b64d28comctl32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.488_none_4238de57f6b64d28comctl32.dll’

‘init_uninit.exe’ (Win32): Loaded

‘C:WindowsWinSxSamd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.746_none_faeda79b76159a72GdiPlus.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32oleacc.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32uxtheme.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32dwmapi.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32kernel.appcore.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32bcryptprimitives.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32clbcatq.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32devenum.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32ntmarta.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32devobj.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32wintrust.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32crypt32.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32msasn1.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Loaded ‘C:WindowsSystem32msdmo.dll’. Symbols loaded.

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32devenum.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32uxtheme.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32dwmapi.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32msimg32.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32SHCore.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32comdlg32.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32winspool.drv’

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.488_none_4238de57f6b64d28comctl32.dll’

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsWinSxSamd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.746_none_faeda79b76159a72GdiPlus.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32oleacc.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32hps1394.dll’

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsSystem32DCAMAPIModulesDigitalfg1394oh.dll’

‘init_uninit.exe’ (Win32): Unloaded ‘C:WindowsSystem32winmm.dll’

‘init_uninit.exe’ (Win32): Unloaded

‘C:WindowsSystem32DCAMAPIModulesDigitaldcamdig.dll’
The thread 0x3060 has exited with code 1 (0x1).
The thread 0x1ac has exited with code 1 (0x1).
The thread 0x1280 has exited with code 1 (0x1).
The program ‘[4456] init_uninit.exe’ has exited with code 1 (0x1).

Please suggest me where I went wrong.

Source: Windows Questions

LEAVE A COMMENT