Fw: Re: [Qgis-developer] Which compiler should I use to build
example code?
Mailing Lists
lists at linfiniti.com
Sun Nov 1 15:54:07 EST 2009
Hi
On Sun, Nov 1, 2009 at 10:46 PM, Henri De Feraudy <feraudyh at yahoo.com> wrote:
>
> 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!!
I tested tuts 1-5 on linux last night and all were working ok. I
havent tested on windows in a loong time. Perhaps you can step through
with the debugger and see where it runs off the rails?
Regards
Tim
>
>
>
>
> ( 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
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Qgis-developer
mailing list