C++ & nmk problem

T

taurean

I have two directories named dir1 & dir2; correspondingly dir1.nmk &
dir2.nmk;

i place A.h & A.cpp in dir1 and update dir1.nmk with both cpp & .h files
so that it can be accessed from other directories too.

If I try to access the files from within another cpp file within dir1 and
it works fine: compiling & runs.

if I try to access from one of the cpp files from dir2, i have linker
errors.

plz update me what shall be done. any input is appreciated!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,166
Messages
2,570,902
Members
47,442
Latest member
KevinLocki

Latest Threads

Top