Code Block error

I am writting a codes for my sequence project in code blocks. The project consists of three files main file, sequence.h, and sequence.cpp. As soon as i start building it, i get an error of "Unkown reference to". I know my code work because i tested it on Visual Studio. I did alot of research online but none of them worked. Can someone help me by showing step by step of what i have to do in code blocks in order to compile my codes?
Make sure all your files has been added to the same project.
And they are set as compilong ones: right-click on file in project explorer window, choose properties, build tab and make sure all is set.
All the files are on the same project and i went to the properties but didn't understand what do i have to set
Everything should be like that for cpp files: http://puu.sh/kjgmO/2cc4922889.png
Oh i got it. I have to link the header file and function file with bin and object, at the time of its creation and after that it works. Thanks for your help guys
Topic archived. No new replies allowed.