[gdal-dev] Compiling GDAL 1.5 with Proj.4.6: proj_i.lib is missingall the time

Kolberg Sjur A Sjur.A.Kolberg at sintef.no
Thu Jan 10 02:48:08 EST 2008


Tom,

If you are using Visual Studio to compile proj, there is an option in
Project properties - Linker - Advanced called Import Library, where you
specify the .lib to be generated.

Otherwise, I have had success with creating a R.lib from R.dll by using
first DUMPBIN/EXPORTS, editing the definition file, and then use LIB to
create the .lib file. This enables me to link R.lib into programs that
use R.dll.

Below is the top of the file I input to LIB, after editing. The comments
give the procedure, just substitute proj for R. 

If this does not work, I'm lost.

Sjur  :-)




; R.def : Export function list from R 2.6.0
; Generated using DUMPBIN /EXPORTS /OUT:R.def R.dll and editing. 
; This file in used to create R.lib using LIB /def:r.def /out:r.lib
; DUMPBIN.EXE and LIB.EXE reside in C:\Program Files\Microsoft Visual
Studio 8\VC>

LIBRARY      "R"
; DESCRIPTION  'R 2.6.0 Dynamic Link Library'

EXPORTS
    ; This is the list of exported function names
ATTRIB
AllDevicesKilled
BODY
Brent_fmin
CAAR
CAD4R
CADDDR
CADDR
<etc. There is no keyword or other signal at the end.>




> -----Original Message-----
> From: gdal-dev-bounces at lists.osgeo.org 
> [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Tom Kazimiers
> Sent: 10 januar 2008 01:51
> To: GDAL-Mailinglist
> Subject: [gdal-dev] Compiling GDAL 1.5 with Proj.4.6: 
> proj_i.lib is missingall the time
> 
> Hello,
> 
> allday I tryed to get GDAL 1.5 working with Proj.4 (4.6) - 
> without any luck.
> Sure I am compiling for WinCE but this changes not that much, does it?
> 
> After fixing some things with missing files (pj_eqr, 
> pj_glabgsm, ...) everything works well until proj_i.lib 
> should be linked to GDAL - this does not work since 
> proj_i.lib is never created. Did you experience this problem, 
> too or do you have any ideas how to solve it? I tryed 
> manually using LIB - without success.
> 
> Thank you very much
> Tom
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 


More information about the gdal-dev mailing list