User forums > General (but related to Code::Blocks)
Undefined reference to
(1/1)
PatoAqp:
Hi,
I'm trying to compile a simple program using CodeBlocks 8.02, mainly 3 files: main.cpp, matriz.h and matriz.cpp. However, I keep getting an "undefined reference error". I ve been looking for a solution on Internet and any of them fixes the problem. So far, I tried this:
- Using WinMain instead of main().
- Main with parameters.
- Using END_OF_MAIN().
and many more....
Please HELP!!!
Thanks.
MortenMacFly:
--- Quote from: PatoAqp on June 12, 2009, 04:13:25 am ---I'm trying to compile a simple program using CodeBlocks 8.02, mainly 3 files: main.cpp, matriz.h and matriz.cpp.
--- End quote ---
This is not related to C::B. Pay attention that this thread does not get locked. Anyways - without any more information nobody will be able to help you. At least you should provide the project file. It seems your need to link against libraries that you are using. But how shall we tell if you do not provide any information other than file names?
Navigation
[0] Message Index
Go to full version