User forums > Help
Code::Blocks gives errors on code that compiles on another machine
(1/1)
verxintRising:
I started using Code::Blocks a while ago and it worked great, until I tried file linking. For some reason, it keeps giving me "multiple definitions" errors for all of my functions that aren't in the same .cpp file as int main(). I went through my code several times, and not seeing anything wrong, I sent it to my friend to see if he could help. Turns out the exact same code will compile and run on his machine. I tried uninstalling and reinstalling Code::Blocks, as well as installing later version of MiniGW. So far, nothing has worked. Is there anything else I can do? Can I at least get pointed in the right direction for the problem.
Also, the machine I'm using is running Windows XP, if that's of any concern.
Anyways, thanks.
oBFusCATed:
First, C::B is an IDE, not a compiler!
The thing you could do is: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
and understand what every command emitted by C::B is doing.
MortenMacFly:
Topic not related to Code::Blocks thus violating our forum rules.
Topic locked.
Navigation
[0] Message Index
Go to full version