Cross-platform SDK and HTML5 tools for mobile app development
X
 
4 posts / 0 new
Last post
meadowood
meadowood's picture
Offline
Joined: 22 Nov 2011
Posts:
Link error?

I am a newbie to the world of MoSync and it has been quite impressive to say the least.

I am writing up some app and got the following errors during the linking stage:

Error: Unresolved symbol '__ZN8NativeUI6Widget25markWidgetHandleAsDeletedEv',
Error: Unresolved symbol '__ZNK8NativeUI6Widget15getWidgetHandleEv',
Error: Unresolved symbol '__ZN8NativeUI6Widget11setPropertyERKN6MAUtil11BasicStringIcEES5_',
Error: Unresolved symbol '__ZN8NativeUI6Widget14setPropertyIntERKN6MAUtil11BasicStringIcEEi',
Error: Unresolved symbol '__ZN8NativeUI6Widget16setPropertyFloatERKN6MAUtil11BasicStringIcEEf',
Error: Unresolved symbol '__ZN8NativeUI6Widget14getPropertyIntERKN6MAUtil11BasicStringIcEERi',
Error: Unresolved symbol '__ZN8NativeUI6Widget14getPropertyIntERKN6MAUtil11BasicStringIcEE',
Error: Unresolved symbol '__ZN8NativeUI6Widget17getPropertyStringERKN6MAUtil11BasicStringIcEERi',
Error: Unresolved symbol '__ZN8NativeUI6Widget17getPropertyStringERKN6MAUtil11BasicStringIcEE',
Error: Unresolved symbol '__ZN8NativeUI6Widget8addChildEPS0_',

I tried to see if I need to add some kind of libraries to my project but couldn't figure out. any advice would be appreciated!

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Cool. If you're not using

Cool. If you're not using the NativeUI template. then you need to add NativeUI.lib to the additional library list.

meadowood
meadowood's picture
Offline
Joined: 22 Nov 2011
Posts:
After specifying the include

After specifying the include and library path as in (http://www.mosync.com/comment/reply/7590) and then selecting Ignore Default, the problem is gone!

meadowood
meadowood's picture
Offline
Joined: 22 Nov 2011
Posts:
I found that I can add

I found that I can add mastd.lib and maui.lib in Build Settings window. But now I am getting different link errors:

c:/slave/buildScripts/temp_kmzl/source/libs/libsupc++/new_opvnt.cc:1: Error: Symbol '__Znam' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/libsupc++/new_opnt.cc:37: Error: Symbol '__Znwm' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/libsupc++/del_opvnt.cc:68: Error: Symbol '__ZdaPv' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/libsupc++/del_opnt.cc:36: Error: Symbol '__ZdlPv' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/maxtoa.c:40: Error: Symbol '_xtoa' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/maxtoa.c:78: Error: Symbol '_itoa' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/maxtoa.c:84: Error: Symbol '_ltoa' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/maxtoa.c:94: Error: Symbol '_ultoa' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/e_pow.c:102: Error: Symbol '_pow' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/intrinsics.c:283: Error: Symbol '___fixsfdi' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/intrinsics.c:40: Error: Symbol '___fixdfdi' is already defined,
c:/slave/buildScripts/temp_kmzl/source/libs/MAStd/intrinsics.c:44: Error: Symbol '___floatdidf' is already defined,

Login or register to post comments