|Problem Building Linking to Exe Files? [message #1109227]
||Sun, 15 September 2013 03:58
| Billy Hau
Registered: September 2013
I was trying to the CDT to work with MinGW, but I am having a lot of trouble. |
So basic info, I'm on a Windows 7 64 bit pc.
I install MinGW using their GUI installer, add MinGW the environment variable path, add the path to the nsys... and Eclipse was able to detect that. I create a HelloWorld project and it only build a .o file, even though the command say it's building a .exe also, but it's nowhere in the workspace folder. Even in the run configuration, it's set to launch a .o file, and of course, windows can't launch that. I use the search project button, there's no binaries file.
I tried to manually build the project through command line
gcc -c HelloWorld.cpp -o HelloWorld.exe
it build a exe file, but windows say that I need a 64 bit version...
I also tried creating a new Eclipse project with cygwin, it build but doesn't run. After I include the dll file in the exe folder, it's fine.
So I don't know what's wrong with MinGW...
Any help? Thanks!
Powered by FUDForum
. Page generated in 0.22327 seconds