How to force Eclipse to ask for default workspace?
It works for me if I tick the box Prompt for workspace on startup, which you can find in Window → Preferences → General → Startup and Shutdown → Workspaces.
It works for me if I tick the box Prompt for workspace on startup, which you can find in Window → Preferences → General → Startup and Shutdown → Workspaces.
I found these answers (including the accepted one) somewhat cryptic. For me, I had to add the path where stdio.h is located (as @ardnew said). In Eclipse, you open the Properties of your project, expand “C/C++ General” and select “Paths and Symbols”. Make sure you have added the include dir for each language you are … Read more
This error occurs when the linker can’t find WinMain function, so it is probably missing. In your case, you are probably missing main too. Consider the following Windows API-level program: #define NOMINMAX #include <windows.h> int main() { MessageBox( 0, “Blah blah…”, “My Windows app!”, MB_SETFOREGROUND ); } Now let’s build it using GNU toolchain (i.e. … Read more
I found this article in the Eclipse forum, just followed those steps and it works for me. I am using Eclipse Indigo 20110615-0604 on Windows with a Cygwin setup. Make a new C++ project Default options for everything Once created, right-click the project and go to “Properties” C/C++ Build -> Settings -> Tool Settings -> … Read more