Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

header file trouble

Help
tejas
2011-08-30
2013-03-12
  • tejas
    tejas
    2011-08-30

    hello guys, i recently installed SDCC in ubuntu 11.04 from software center and tried to compile a program…..
    but it shows an error that the header file 8052.h (or any of the other files) is not found
    but when i browse through using nautilus i can find the header files in the "/usr/………/sdcc/include" directory

     
  • tejas
    tejas
    2011-08-31

    i think the compiler paths are correct, and i can see 8052.h in the same given folder

     
  • BLRCalvin
    BLRCalvin
    2011-09-13

    Hi,

    "SDCC_HOME" is an env variable, which needs to be set for SDCC tool chain to include the headers, libraries etc.,

    Check this in your system. It has to point to the top folder that contains the bin, include, lib etc.,. If not properly set, set this env variable correctly.

    Cheers,
    Raghunath Lolur.