Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cometta on July 12, 2007, 05:43:51 pm

Title: doesnt out put EXE after linking
Post by: cometta on July 12, 2007, 05:43:51 pm
see the below output, it support to output exe at work directory. but it doesnt. any idea what i missing?

-------------- Build: Debug in Demo_Terrain ---------------
Compiling: ..\src\Terrain.cpp
Linking executable: c:\work\CW_Terrain.exe
d000067.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre10Quaternion8IDENTITYE'
Info: resolving __ZN4Ogre7Vector34ZEROE by linking to __imp___ZN4Ogre7Vector34ZEROE (auto-import)
d000013.o:(.idata$5+0x0): first defined here
Info: resolving __ZN4Ogre7Vector36UNIT_YE by linking to __imp___ZN4Ogre7Vector36UNIT_YE (auto-import)
d000067.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre10Quaternion8IDENTITYE'
Info: resolving __ZN4Ogre7Vector315NEGATIVE_UNIT_YE by linking to __imp___ZN4Ogre7Vector315NEGATIVE_UNIT_YE (auto-import)
d000013.o:(.idata$6+0x0): first defined here
Info: resolving __ZN4Ogre10Quaternion8IDENTITYE by linking to __imp___ZN4Ogre10Quaternion8IDENTITYE (auto-import)
d000068.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre10StringUtil5BLANKE'
Info: resolving __ZN4Ogre10StringUtil5BLANKE by linking to __imp___ZN4Ogre10StringUtil5BLANKE (auto-import)
d000014.o:(.idata$5+0x0): first defined here
Info: resolving __ZN4Ogre4Math8fDeg2RadE by linking to __imp___ZN4Ogre4Math8fDeg2RadE (auto-import)
d000068.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre10StringUtil5BLANKE'
Info: resolving __ZN4Ogre7Vector36UNIT_ZE by linking to __imp___ZN4Ogre7Vector36UNIT_ZE (auto-import)
d000014.o:(.idata$6+0x0): first defined here
d000069.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre4Math8fDeg2RadE'
d000033.o:(.idata$5+0x0): first defined here
d000069.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre4Math8fDeg2RadE'
d000033.o:(.idata$6+0x0): first defined here
d000070.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre7Vector315NEGATIVE_UNIT_YE'
d000055.o:(.idata$5+0x0): first defined here
d000070.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre7Vector315NEGATIVE_UNIT_YE'
d000055.o:(.idata$6+0x0): first defined here
d000071.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre7Vector34ZEROE'
d000056.o:(.idata$5+0x0): first defined here
d000071.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre7Vector34ZEROE'
d000056.o:(.idata$6+0x0): first defined here
d000072.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre7Vector36UNIT_YE'
d000057.o:(.idata$5+0x0): first defined here
d000072.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre7Vector36UNIT_YE'
d000057.o:(.idata$6+0x0): first defined here
d000073.o:(.idata$5+0x0): multiple definition of `_imp___ZN4Ogre7Vector36UNIT_ZE'
d000058.o:(.idata$5+0x0): first defined here
d000073.o:(.idata$6+0x0): multiple definition of `_nm___ZN4Ogre7Vector36UNIT_ZE'
d000058.o:(.idata$6+0x0): first defined here
Process terminated with status 1 (0 minutes, 9 seconds)
0 errors, 0 warnings
 
Title: Re: doesnt out put EXE after linking
Post by: mandrav on July 12, 2007, 06:51:26 pm
What's wrong? C::B works quite well from what I see...
Title: Re: doesnt out put EXE after linking
Post by: Indrekis on October 16, 2007, 03:55:36 pm
I do see here (and in some other similar threads) some strange things. Linker report some "multiple definition" errors and exits. However, Code::Blocks does not see any errors: "0 errors, 0 warnings". It looks strange... Is it an intended behavior?