[Coin-bcpdiscuss] Re: Coin-bcpdiscuss Digest, Vol 21, Issue 4

Lou Hafer lou at cs.sfu.ca
Sat Dec 9 18:20:02 EST 2006


Roy,

> I found that coin-disscuss topic, but there is no answer to that. Plus his
> problem is different from mine.

	Superficially, perhaps, but consider the failing snippet of code:

#ifdef HAVE_CMATH
# include <cmath>
#else
# ifdef HAVE_MATH_H
#  include <math.h>
# else
#  error "don't have header file for math"
# endif
#endif

The only way you'll see the error message is if the symbols HAVE_CMATH and
HAVE_MATH_H are both undefined.  In my experience, it's not possible to
successfully complete the main build of bcp if these files are missing, or if
config_coinutils.h is actually incorrect.  Given the error in
Bcp/test/BAC/Makefile.am, failure to find config_coinutils.h is by far the next
most likely possibility, which is why I pointed you to the earlier thread, which 
explains how to work around this problem.

	However, speculation is pointless. First, I'm assuming that you 
performed a complete configure and build sequence in build3. If you did not do 
that, please do so. Changing the build directory without re-running configure 
will definitely cause problems.
	
	Then, I will need the following:

  * build3/config.log
  * build3/CoinUtils/inc/config_coinutils.h
  * the complete output of the command `make test'
  
  							Lou




More information about the Coin-bcpdiscuss mailing list