Failure to import existing C project in CDT [message #1694958] |
Sun, 10 May 2015 21:22 |
baum wang Messages: 1 Registered: May 2015 |
Junior Member |
|
|
Hi there,
I want to import an existing C project in CDT, but it failed. The process I made is as following.
1. Create a "Hello World ANSI C Project", which is named as "test1". Choose MinGW GCC in toolchains.
2. Build and run "test1" project. It can output "!!!Hello World!!!".
3. Now I want to learn how to import an existing C project. I delete "test1" project in Project Explorer and uncheck the option "delete project contents on disk". So "test1" is not in CDT now, but still in my computer.
4. This step is to import "test1" in CDT. In Project Explorer, I click "import", choose "Existing Code as Makefile Project", browse to where "test1" is located, choose "MinGW GCC" in Toolchain for Indexer Settings, and click "Finish".
Now I can see "test1" is in Project Explorer. But when I build it, an error window pops out saying "Build Project has encountered a problem". I guess the problem might be about the wrong "Build location". I tried to change the "Build directory", but I couldn't. Does anyone know what the problem is?
I included the snapshot of CDT in this post.
-
Attachment: pic1.jpg
(Size: 396.02KB, Downloaded 127 times) -
Attachment: pic2.jpg
(Size: 499.74KB, Downloaded 109 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.02959 seconds