yesterday I made a project in NetBeans 8.0.2 and Cygwin 32 Bits, today when I tryed to compile in a 64 Cygwin compiler, I got an error saying "Undefined reference to WinMain". What can I do to compile it in this 64 Cygwin compiler?
#include <cstdlib>
#include <iostream>
#include "Agenda.h"
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
Agenda nueva;
nueva.menuAgenda();
return 0;
}
Don't mix 32bit netbean with 64bit cygwin one