> You and the other readers here should know that a few days ago, I
> released a new version of the code. You can download the (three)
> tarballs at
>
> http://bebop.cs.berkeley.edu/smc/
I have tried the new version. With USE_C99_COMPLEX=0 and USE_ISNAN=0 in
options and DYNAMIC_LIB_EXTENSION=.dll and "FPIC_FLAG =" it goes
smoothly with bebop_util. In sparse_matrix_converter there were problems
to compile DLL. It seems that the reason is that you have specified the
objects files after the libraries. When I have changed in src/Makefile to
$(LIBSMC_DYNAMIC): $(LIBSMCOBJ)
$(LINKER) $(DYLIB_CREATE_FLAG) $(CFLAGS) $(LIBSMCOBJ) $(LIBS)
$(LDFLAGS) -o $(LIBSMC_DYNAMIC)
then it was also okay. I wonder how it worked on other systems without this.
I will send you options and Makefile.include for your references to the
private address.
> 1. What were those -fPIC errors that you say could be "safely
> ignored"? Could you post the text of those errors so that I can work
> on making them go away? (Any error message is a bug for me!)
It was just a warning
$ gcc -c -fPIC test.cpp
test.cpp:1: warning: -fPIC ignored for target (all code is position
independent)
> 3. The dynamic library file suffix does matter because the
> sparse_matrix_converter executable uses dynamic libraries
> (libbebop_util and libsparse_matrix_converter). This is why setting
> LD_LIBRARY_PATH (or the equivalent on Cygwin) is important, and why
> you don't need to edit src/Makefile (the only Makefiles you need to
> edit are in the bebop_make directory).
On Windows DLL should be on the path. I do not remember exactly but I
guess that Cygwin just follows that.
Best wishes,
Evgenii