|
|
|
|
|
Re: Import and build a Makefile project [message #1754806 is a reply to message #1754805] |
Wed, 22 February 2017 15:39 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Quote:What should "COMMAND" actually be and where to set it?
Since GCC Builtins Settings was selected it will be something appropriate to gcc.
You can override it (by replacing the $(COMMAND)) but whatever is used has to provide output similar to gcc's.
Quote:But in the corresponding .c file where bitmask_t is used, I get the massage:
"Type 'bitmask_t' could not be resolved".
I don't know why. You can try to track it down by examining a parser log.
Project --> C/C++ Index --> Create Parser Log File.
Do this on the corresponding .c file.
Quote:and by the way I already updated to gcc6.3 .
Your original post said "gcc-4.8.1" and I didn't see anything to the contrary.
[Updated on: Wed, 22 February 2017 15:44] Report message to a moderator
|
|
|
|
|
Re: Import and build a Makefile project [message #1754812 is a reply to message #1754810] |
Wed, 22 February 2017 16:11 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
In the dialog for Importing a makefile project the bottom pane is used to select the tool chain for the Indexer.
Did you select one?
I've always selected "Linux GCC"
As for the bitmask_t problem, you'll have to track down why it's undefined yourself.
I don't have your code nor the inclination to delve into it.
Besides it's technically off topic here as it likely has nothing to do with CDT itself.
You could try using the -E option on your compiles to get the preprocessor output for the hilbert.c file
More info here: https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html#Overall-Options
Likely the definition was skipped over somehow.
UPDATE:
I just tried importing a Makefile project without selecting a tool chain for the Indexer and $(COMMAND) was empty.
You can fix this by selecting a tool chain in Project --> C/C++ Build --> Tool Chain Editor.
You may have to first uncheck "Display compatible toolchains only" .
[Updated on: Wed, 22 February 2017 16:41] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03932 seconds