Problem while running 'Hello_World' example

Hi, I’ve just started to work on Open AT 4.00.a02 and I have a problem while trying to run ‘Hello_World’ example.

I have gone through ‘GS_Getting_Started_With_Open_AT_3-02_v9.pdf’ without any problem.

I have had few problems when creating a projects, getting ‘bad environment setting’, but resolved by referring notes in this forum.

What I have done is:
(1)I have create a project called ‘Hello_World’ and it is successfully loaded on VC++.
(2)Set the project to ‘Remote Task Environment’ and Debug configuration from the build toolbar(written on the tutorial document).
(3)Run the project, pressing F5.
(4)I am getting following LINKING errors:

Linking…
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
LINK : error LNK2001: unresolved external symbol _opecCustomerTaskInit
hello_world.obj : error LNK2001: unresolved external symbol _adl_atSendResponse
hello_world.obj : error LNK2001: unresolved external symbol _adlint_osDebugTrace
hello_world.obj : error LNK2001: unresolved external symbol _adl_tmrSubscribe
rte/vc6/Debug/Hello_World_rte.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

Hello_World_rte.dll - 5 error(s), 1 warning(s)

I was trying to find the location of function, adl_atSendResponse, but I only could find just the declaration NOT function body.

Can anyone help me on this?

Hi,
From the errors it seems that the ADL library for Debug Mode is not linked to the Open-AT application. The functions adl_atSendResponse (), adl_tmrSubscribe () etc are defined in ADL library only. You can check the project properties in Visual Studio and check the “Link” tab to find out if ADL library is linked to your application.

Best Regards,
Open AT Fan.

Thanks for your reply Open AT Fan.

I haven’t modified the project setting since it has been created automatically by the project wizard.

Here are my link setup for the project. These info are from menu, Project/Settings.

-Settings for Hello_World_rte (Win32 Debug)

-Category: General
-Output filename : rte/vc6/Debug/Hello_World_rte.dll
-Object/library modules : blank
-Only ‘Generate debug info’ is enabled.

-Category: Debug
-‘Debug info’ and ‘Separate types’ are enabled.
-‘Microsoft format’ is selected.

-Category: Input
-Object/library modules : blank
-Ignore libraries : blank
-Force symbol references : _opecCustomerTaskInit
-Additional library path : $(WMATHOME_DOS)\TgtGen\ Library,
$(WMATHOME_DOS)\TgtGen\Adl\ Library,
$(WMATHOME_DOS)\TgtGen\Rte_Lib
-I have confirmed that both ‘arm_wmopenat_3.5.0.2.1.lib’
and ‘gcc_wmopenat_3.5.0.2.1.lib’ files are located in
$(WMATHOME_DOS)\TgtGen\ Library and $(WMATHOME_DOS)
\TgtGen\Adl\ Library.
-There is no $(WMATHOME_DOS)\TgtGen\Rte_Lib folder.

Hi,
Can you find a library named “rte_wmadl_xxxx.lib” in the folder “$(WMATHOME_DOS) \TgtGen\Adl\ Library”? This is because, the ADL library for debug mode usually resides in this directory only.

I am having a feeling that in Open-AT version 4.xx, the ADL library for Debug mode is not present. You can refer to the link

http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=129

which has a similar problem as stated by you for Open-AT version 4.xx.
You can ask your distributor to find out if some component is missing in Open-AT version 4.xx.

Best Regards,
Open AT Fan.

Hi OpenAT_Fan,

I can only find two lib files, arm_wmadl_3.3.2.0.1.lib and gcc_wmadl_3.3.2.0.1.lib in “$(WMATHOME_DOS) \TgtGen\Adl\ Library”.

I can’t find rte_wmadl_xxxx.lib file anywhere in my PC.

Is there any way to get this file?

Hi,
I don’t think that in Open-AT version 4.xx, RTE library (for debug mode) is present (as you have stated that you are not able to find it in your PC).
Hence, it would be better to ask the distributor if RTE library is shipped along with Open-AT version 4.xx.

Best Regards,
Open AT Fan.