tomh...@mac.com
unread,Mar 4, 2009, 5:48:57 AM3/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi,
I'm trying to compile a program in NS-3 that has '#include "mpi.h"' as
part of it. But the system cannot see the include directory for this
header.
Is there a way of adding include directories to waf, so that it can
see them when compiling. I have checked the waf documentation and
help.
In the waf documentation, the following is an example of how to add
includes to programs, but I am unsure where this should be added
(wscript maybe?) so it can act globally in NS.
def build(bld):
bld.new_task_gen(
features='cxx cprogram',
source='main.cpp',
target='test',
includes='. .. ../../')
I have tried adding the full path to mpi.h, but this has further
dependencies in it's include folder, so i wish to add the whole folder
to the waf build path. Is this possible?
Many thanks,
Tom.