CDP Forum Forum Index CDP Forum
NOTE: The forum is being replaced by support.icd.no
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linker error: _DebugBreak@0 already defined in rtt32.lib

 
Post new topic   Reply to topic    CDP Forum Forum Index -> RTOS-32 programming
View previous topic :: View next topic  
Author Message
Svein



Joined: 14 Mar 2007
Posts: 94
Location: Ålesund, Norway

PostPosted: Mon 25 Jun 9:46:03 2007    Post subject: Linker error: _DebugBreak@0 already defined in rtt32.lib Reply with quote

The following error may occur on RTOS-32 V5.X

Linking...
kernel32.lib(KERNEL32.dll) : error LNK2005: _DebugBreak@0 already defined in rtt32.lib(Rttarget.obj)
kernel32.lib(KERNEL32.dll) : warning LNK4006: _DebugBreak@0 already defined in rtt32.lib(Rttarget.obj); second definition ignored
Creating library Release_RTOS/CDP.lib and object Release_RTOS/CDP.exp
Release_RTOS/CDP.exe : fatal error LNK1169: one or more multiply defined symbols found

Solution
Either set the following project setting for the CDP_Application project:
CDP_Application->General->Use of MFC = 99

or correct the lib order so that the rtt32.lib is listed last under
CDP_Application->Linker->Input
_________________
Svein Erling Linge, ICD
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CDP Forum Forum Index -> RTOS-32 programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group