• JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 147 from 2010/7/7
    From: Wales
    Hi Guys,

    Trying to compile my first C program using Flow Studio and hitting a snag straight away. I guess this might be a path issue trying to find the header files or whatever but not sure where it should be set. Though it looks like more that it cant find the source file. I have the MorphOS sdk in installed. Anyway code I am trying to compile is below with the error.

    #include <stdio.h>

    int main(void)
      printf("Hello World!n");
      return 0;

    # Build Start ###
    MorphOS:Applications/FlowStudio/Makefile:100: warning: overriding commands for target `Hello'
    MorphOS:Applications/FlowStudio/Makefile:73: warning: ignoring old commands for target `Hello'
    linking Hello
    ppc-morphos-gcc-5: fatal error: no input files
    compilation terminated.
    make: *** [Hello] Error 1
    ### Build End ###

    The source files never show in the source file list under the project even if I click new file on the soruce file node ?

    [ Edited by JJ 15.04.2018 - 11:26 ]
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw

    Xbox Live: S0ulA55a551n2
  • »15.04.18 - 11:25