This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is complex.h


On 7/26/06, TV JOE wrote:
 Would any of you that replied be interested in assisting me
 with compiling this program. It's a C program written for a Suse
 Linux distribution. The author maintains the only problem
 would be resolving the complex.h warnings.

just for completion on the mailing list and in case anyone else has a similar issue with complex numbers, i found using the c9x-complex math package was needed to compile your program. i got the source from http://www.netlib.org/cephes/

you need to amend the makefile slightly by adding "stubs.o" to the
LIBMCFILES definition if you're not using the rest of cephes, i.e. change it to

LIBMCFILES = $(SFILES) $(DFILES) $(LFILES) stubs.o

run "make", ignore the errors for the apps that don't compile, and
then copy the libmc.a file into your libs path.
copy *.h to your include path

mark

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]