[Proj] Compiling Eric Millers proj_api.dll

Eric Miller EMiller at dfg.ca.gov
Fri Sep 17 11:27:43 EDT 2004


Well, I don't know exactly what you're doing, but with the options you
listed, you didn't specify the -DBUILD_DLL=1 flag.  That part is
important since it controls whether the functions are defined as exports
or imports.  I don't know where gtProAPI is coming from.  It's not part
of anything I wrote.

Eric G. Miller
GIS Analyst
Wildlife and Habitat Data Analysis Branch
Department of Fish and Game

>>> "Tony Seiscons" <gu2l5z3wt001 at sneakemail.com> 9/14/2004 11:57:38 PM
>>>
I am trying to recompile Eric Millers proj_api.dll so that, a) I can
update
it to 4.8.8 and whatever comes next and, b) so that I can use
different
names for proj.dll, proj_api.dll and the NAD directory so that I can
isolate
it from other versions of proj and proj.dll.

I have successfully compiled and tested proj.exe 4.8.8 using Dev C++,
gcc/MinGW/MSys however I am having difficulty compiling proj_api.dll.
Whenever I compile it the system compiles and links all of the proj
files as
well  to produce a 248kB file insured of a 28kB one and the
proj_api.def
file does not have any EXPORTS.  (Naturally it doesn't work).  I have
installed the compiler options -O -Wall -W -mwindows that Eric has in
his
makefile and tried a few other options to no avail.  I have also tried
compiling from the command line using his Makefile but I get the error
C:\Dev-Cpp\usr\Proj\proj_api\Makefile [Build Error]  No rule to make
target
`gtProAPI.o', needed by `gtProAPI.dll'.

Any help would be appreciated as I am not very familiar with C and C
compilers and I'd like to get back to my VB project!

Tony



_______________________________________________
Proj mailing list
Proj at xserve.flids.com 
http://xserve.flids.com/mailman/listinfo/proj



More information about the Proj mailing list