Click here to Skip to main content
15,889,662 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
hi,

I had create 2 files xyz.h and xyz.cpp.
Ineed to compile and execute it under Unix using CC command.
I kept .cpp and .h files under one dir but other header files in xyz.h are on different dir locations.
While compiling this xyz.cpp file under unix,
cc xyz.cpp
I received error as 1540-0836(s) <removed file=""> not found.

<removed file="" is="" the="" included="" in="" xyz.h="" mode="hold">
Please help me out ASAP.

Thanks in advance.
Posted

1 solution

read the manual on CC, look for a switch that allows you to add folders to the search paths the compiler uses for searching include files.
(It might be -I)

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900