Hello World Compile Errors Open AT 3.02

When I try and run the sample Hello World program, I get the following linker errors:

LINK : error LNK2001: unresolved external symbol _opecCustomerTaskInit
hello_world.obj : error LNK2001: unresolved external symbol _wm_osDebugTrace
hello_world.obj : error LNK2001: unresolved external symbol _wm_osGetTask
hello_world.obj : error LNK2001: unresolved external symbol _wm_osStartTimer
hello_world.obj : error LNK2001: unresolved external symbol _wm_atSendUnsolicitedExternalApp
rte/vc6/Release/Hello_World_rte.dll : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

Any help would be appreciated.

Hi,
From your errors, it seems that you are using the Basic Mode of Open-AT application development.

From the errors, it can be found that the Open-AT environment is not able to resolve the APIs and function calls. To solve this, please check that you have correctly specified the Open-AT library to link with your application.

To solve the problem, please go to the project settings->link and give “rte_wmopenat_302.b03.lib” in the Object/library modules. Please note that this library file contains the definitions for the APIs that are called in the Hello World sample application. This library file is present in “C:\OpenAT\V302\TgtGen\Library” directory. Please check if this file is present in this library.
Also specify the above path in the Options->Directories->Library path to provide the path for this library.

Best Regards,
Open AT Fan.