Displaying 1 result from an estimated 1 matches for "rtiff_r".
Did you mean:
rtiff
2005 Dec 20
0
Two problems compiling my shared library...
...c rtiff.c -o rtiff.o
rtiff.c: In function `void reduce(int*, int*, int*, int*, double*)':
rtiff.c:138: warning: converting to `int' from `double'
rtiff.c:139: warning: converting to `int' from `double'
ar cr rtiff.a rtiff.o
ranlib rtiff.a
windres --include-dir c:/usr/include -i rtiff_res.rc -o rtiff_res.o
gcc --shared -s -o rtiff.dll rtiff.def rtiff.a rtiff_res.o
-Lc:/usr/src/gnuwin32 -ltiff -lg2c -lR
... DLL made
-------8<--------------------------------------------------------------
However, if I simply do the following:
gcc -shared -o rtiff.dll rtiff.c -ltiff
I get...