Fw: Re: [Qgis-developer] Which compiler should I use to build example code?

Henri De Feraudy feraudyh at yahoo.com
Sun Nov 1 15:46:11 EST 2009


Hello,
 I tried your suggestion and now link works, and then I made cmake generation more verbose, and noticed it's what I should have been doing all along.
  Unfortunately I still have a problem qgis_core.dll cannot be found, yet I modified the path to
search in the directory where qgis_core.dll must lie, and also the place where geos_c.dll 
and gdal16.dll must lie.
 
The program begins to run and then I have a runtime error!
program ...\timtut1.exe
file: global::qglobal.cpp
line 2030
 
QWidget: Must construct a Qapplication before a QPaint device.
 
 
Is this due to an untested  last minute tweak of the sample code?
I have not touched the sample code myself!!
 
 
 
 
( Jurgen: Sorry I accidentally replied to your message, and too early
Henri


--- On Sun, 11/1/09, Jürgen E. Fischer <jef at norbit.de> wrote:


From: Jürgen E. Fischer <jef at norbit.de>
Subject: Re: [Qgis-developer] Which compiler should I use to build example code?
To: qgis-developer at lists.osgeo.org
Date: Sunday, November 1, 2009, 6:56 PM


Hi Henri,

On Sun, 01. Nov 2009 at 06:36:50 -0800, Henri De Feraudy wrote:
>    C:\Program Files\Quantum GIS\bin\qgis_core.dll : fatal error LNK1107:
>    invalid or corrupt file: cannot read at 0x2F0
>    (About the same mistake occurs when I use the osgeo release.)

Link with the .lib not with the .dll.

Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091101/518c261e/attachment.html


More information about the Qgis-developer mailing list