Problem with video 15, Placing Classes in Seperate Files.

0 Paul Greenwood · October 15, 2014
I'm having a problem with video 15, Placing Classes in Seperate Files. When I try to do a build and runI get the following in my Build Messages tab: 

||=== Build: Debug in Hello World retry (compiler: GNU GCC Compiler) ===| 
c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\..\..\..\libmingw32.a(main.o):main.c:(.text.startup+0xa7)||undefined reference to `WinMain@16'| 
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===| 

The emoticon happened after I cut/paste here.  Please ignore.

Any ideas? I'm using Code::Blocks 13.12. 

Thanks for any help you can give! 

Paul Greenwood

Post a Reply


Oldest  Newest  Rating
0 Paul Greenwood · October 24, 2014
I appreciate your help but I cannot figure out what you mean.  I know you got this help from someone, probably a long time ago, but do you know where I can find the thing I'm supposed to check?

Paul Greenwood
0 Adam Beck · October 16, 2014
"For everyone that can't get it to work: Uncheck the thing that is above of the path thingy"

I remember this comment solved my problem when I was watching that video. It had something to do with unchecking "relative path" when you set up your files.
  • 1



Used in many types of software including music players, video games, and many large scale applications.

Bucky Roberts Administrator