It give me error
c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(112) : see declaration of 'strcpy'
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
I know its looking for main file so when I add the void main(){}
it builds but it flashes a console screen fast and that is it. I tried with different versions of vs and I get the same thing. I did attach include files sb6.h, and glfw.h and all the lib files. I also noticed the framework doesn't include 64 bit libraries . I am running windows 8 64 bit. Maybe that may be the issue. Please help thank you
I want to work the first example in the book .
I have the folowing code
include
include"sb6.h"
class my_app:public sb6::application { public: my_app(){} void render(double currTime) { static const GLfloat red[] = { 1.0, 0.0f, 0.0f, 1.0f }; glClear(GL_CLEAR_BUFFER);
}; DECLARE_MAIN(my_app);
It give me error c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(112) : see declaration of 'strcpy' 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
I know its looking for main file so when I add the void main(){} it builds but it flashes a console screen fast and that is it. I tried with different versions of vs and I get the same thing. I did attach include files sb6.h, and glfw.h and all the lib files. I also noticed the framework doesn't include 64 bit libraries . I am running windows 8 64 bit. Maybe that may be the issue. Please help thank you