This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Aug 22, 2014 1:09 AM by ivop  
ivop Newbie 2 posts since
Aug 21, 2014
Currently Being Moderated

Aug 21, 2014 8:17 PM

how do I resolve standard libraries?

I am working on a small C program. I am new at this as I am primarily a Java/JS dev.

 

The program compiles correctly via XCode and using the makefile but in AppCode it shows errors as it doesnt recognize includes for stdio.h, stdlib.h, etc.. How do I configure it to resolve these?

 

I like the IntelliJ/AppCode UI and editors a lot better than using Sublime+make or XCode/VisualStudio so I hope this is possible. The smallest example that shows this error is

 

 

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(int argc, const char * argv[])
{
    printf("Time %4.2f \n", clock());
    return 0;
}

More Like This

  • Retrieving data ...