cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Build problem with codeblocks
Build problem with codeblocks
Aug 12, 2014 at 10:56am UTC
smutkovski
(1)
i have a problem with building, log output:
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/../../../libmingw32.a(main.o):main.c:(.text.startup+0xa7): undefined reference to `WinMain@16'
main.cpp:
#include <GL/glew.h>
#include "display.h"
#include <iostream>
int main(int argc, char** argv)
{
Display m_display(800,600,"Hello");
return 0;
}
Any idea where is problem?
Topic archived. No new replies allowed.