Error LNK2019: unresolved external symbol _** referenced in funct...

hi,

I am a newbie, trying migrate an application originally buid in MS Embedded VC++ 4 to MS VS 2005, however i came across with the error message

<Error 1 error LNK2019: unresolved external symbol _SetLEDs referenced in function "void __cdecl LEDinit(void *)" ( LEDinit@@YAXPAX@Z) Console.obj >

I have seach a lot on forums and tried several attempts after changing setting in project properties but still cant get it to work,

Is anyone there to help me out please,

thanksError LNK2019: unresolved external symbol _** referenced in funct...



Answer this question

Error LNK2019: unresolved external symbol _** referenced in funct...

  • Jarno Leikas

    Hi,

    Is the Canapi.dll is a win32.dll It seems it is not,since i failed to load it using LoadLibrary.



  • JW0000

    Hi Kumar,

    Have you got any clue, just wondering if you can suggest different things to try on.

    regards,

    syed imam


  • Ram v

    Hi,

    I haven't found this API in MSDN.if it is there , please post the link.

    And link the lib file for the function '_SetLEDs' may solve the problem.Generally the lib will file be written in the documentation for the above function.

    Thanx,

    Ch.T.Gopi Kumar.



  • RyM

    Hi kuamr,

    This is just to let you that I got the trouble resolved, basically i used auto upgrade wizard to convert Embedded VC++4.0 into

    MS Visual Studio 2005, it compiles and build successfully after auto project upgrade using viper SDKs.

    thanks anyway for your tips and time.

    regards

    syed


  • Yash Purohit

    No yaar,

    spent like hours on this.But of no use.One more query i need to clarify is,

    I am not able to reproduce the build environment like for which ARM processor ur building for pocket pc or smartphone.

    I have only these two SDKS installed. I have tried with with PocketPC thing.But invain.

    So ,if u can give for which ARM ur building ,i can try further.

    Thanx,

    Ch.T.Gopi Kumar.



  • eran

    Is it possible to make the code available for me, so that i can check

    If it is less in size, send it to my mail id 'gopi_ch@googley.com'.

    Thanx,

    Ch.T.Gopi Kumar.



  • Bradrover

    Hi Syed,

    Have gotrid of ur problem Once u r done, let me know how would u have solved it.

    Thanx,

    Ch.T.Gopi Kumar.



  • Neil East

    Hi , I

    I have just email you teh code as zipped attachment.

    Syed


  • versace582

    Hi Kumar,

    I have viper SDK supplied with this hardware, but I dont know how I can add/install it MS VS 2005, is it just by going into

    Tools> Option > VC++ Directories>> and then you add path (viper SDK folders have bin, include, lib folders) to lib, bin and include libraries there.

    I am a newbie and this error is making it more difficult, anyway if you let how to install/add viper SDK to MS 2005.

    thanks in advance

    good weekend

    syed


  • John Campbell-Higgens

    Hi Syed,

    May be it's the problem.You may have to install the Viper SDK for VS2005.(May be " PXA255 based VIPER Development Kit for Windows CE 5.0").

    For info about this check at : http://www.arcom.com/devkit-wince-viper.htm

    It seems it's not a free one. If u have it, install it on VS2005 and then try the sample.

    Thanx,

    Ch.T.Gopi Kumar.



  • Wilton Kwok

    Hi Kumar,

    The API is for dedicated CAN hardware (CAN card hardware use on ARM processor) for my application.

    I have linked the <canapi.lib> file to Linker Input and provide path at Additional Libraries Directories but still cant work for me.

    Is it helpful if I attach the lib and header files for you to suggest.

    Also the original application was in Embedded VC4.0++ and I migrate it to MS 2005 using VC++ MFC application template.

    please suggest,

    syed


  • deji101

    Hi,
    no, it was included in the sample exe for the Arm processor . actually the code is an example for (CAN card API on ARM processor) and I am trying to import that to VS 2005 so that can write my application further from there.
    it is important how so we read dll or so we read dll at all
    thanks
    syed

  • DoS

    Hi Syed,

    Generally setup files will be there for SDKs.We have to run it.That's how we install SDKs.That's what i can help.

    Happy week end..

    Ch.T.Gopi Kumar.



  • Mindcrime

    Hi Kumar,

    I found that original programme was buit in EMbedded VC 4++ using viper SDK platform, but i dont know if and how I can use the same SDK if i want to buit in VS2005.

    please advise,

    regards

    syed


  • Error LNK2019: unresolved external symbol _** referenced in funct...