Linking socket++ classes to my application

Hi,

Iam very much new to programming and C++
please help me

I have an application that uses socket++ classes on Unix (AIX) environment
I have included #include in two of my .cpp files
and I have socket++ source in my temp directory

when iam trying to compile my application using the makefile, the error shown is The #include file "sockinet.h" is not found.

I don't know how to make my application to use socket++ classes
I know that we have to include something in the makefile, but don't know how to do it
Please suggest me

Thanks & Regards
Vadan

Questions by vvadan

Showing Answers 1 - 3 of 3 Answers

rocky2583

  • Jul 19th, 2008
 

hi,
Does the environment variable PATH contain the path of the folder in which the header files are present??
If not, then either modify the PATH variable, or use -I option to specify the location of header files.
eg.
cc -I$HEADER_FILES_PATH -o myProgram myProgram.cpp

can u post the contents of your makefile here???

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions