[BuildTools] Header file problem

Kipp Martin kmartin at chicagobooth.edu
Fri Oct 29 05:39:23 EDT 2010


Hi:

In the old build system the variable OSSRCDIR got set to:

OSSRCDIR = /Users/kmartin/coin/os-trunk/OS

in the new build system this variable does not get set. So none of my 
header files are being found. How can I set this in the new system?

Thanks

> On Fri, Oct 29, 2010 at 1:36 AM, Kipp Martin <kmartin at chicagobooth.edu> wrote:
>> Hi Ted:
>>
>> Me again, sorry.
>>
>> I am working on my Makefile.am in
>>
>> OS/src
>>
>> Now, there are header files that I need in, for example,
>>
>> OS/src/OSCommon
>>
>> How do I point to the headers in OSCommon from
>>
>> OS/src
>>
>> What do I set for
>>
>> AM_CPPFLAGS?
> 
> For any include paths internal to the project, you just have to
> explicitly add them to AM_CPPFLAGS, as before. We have to do that in
> SYMPHONY also. For example, there is a line:
> 
> AM_CPPFLAGS = $(COINDEPEND_CFLAGS) -I`$(CYGPATH_W) $(SYMINCDIR)` \
> 
> That is where we add SYMPHONY's header directory. This should be the
> same as what you already had from the old build system.
> 
> Cheers,
> 
> Ted
> 
> P.S. I am going to bed now. If you cc Stefan on the e-mails, he is in
> Sydney and may answer quicker since it is mid-day for him :). Better
> yet, send them to the builld tools mailing list so they can be
> archived and maybe Lou or others will weigh in.
> 


-- 
Kipp Martin
Professor of Operations Research
and Computing Technology
Booth School of Business
University of Chicago
5807 South Woodlawn Avenue
Chicago, IL 60637
773-702-7456
kmartin at chicagobooth.edu
http://www.chicagobooth.edu/faculty/bio.aspx?person_id=12825325568
http://projects.coin-or.org/OS



More information about the BuildTools mailing list