Code::Blocks Forums

User forums => Help => Topic started by: akjake616 on January 25, 2014, 06:32:12 am

Title: using code blocks in ubuntu~ "undefined reference to"
Post by: akjake616 on January 25, 2014, 06:32:12 am
Some files made by ubuntu's CB cannot be compiled by windows CB, vice versa. it always shows "undefined reference to". Can anyone tell me the reason? ???
Since I'm writing a project with my friend, he's using code blocks under windows 7, and i'm using code blocks under ubuntu. However, his files from win7 can't be compiled by my CB and either the project(.cbp file) created by my CB cannot be compiled by his CB in windows@@
Title: Re: AW: using code blocks in ubuntu~ "undefined reference to"
Post by: MortenMacFly on January 25, 2014, 07:10:15 am
Google for "undefined reference" to understand what it means. You have to ensure that you link against the right libs under both platforms. This is not a C::B issue.