[osgeo4w] #601: Cannot start QGIS dev - could not load qgis_app.dll

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[osgeo4w] #601: Cannot start QGIS dev - could not load qgis_app.dll

OSGeo4W
#601: Cannot start QGIS dev - could not load qgis_app.dll
---------------------+---------------------------
Reporter:  chau      |      Owner:  osgeo4w-dev@…
    Type:  defect    |     Status:  new
Priority:  critical  |  Component:  Package
 Version:            |   Keywords:  qgis-dev
---------------------+---------------------------
 I have a problem with my OSGeo4W64 installation, specifically QGIS 3.7
 dev. When I start QGIS I get the following error:

 {{{
 Ooops, looks like an error loading QGIS.

 Details:

 Could not load qgis_app.dll
 Windows Error: The specified module could not be found.

 Help:

 Check C:\OSGeo4W64\bin\qgis-dev-bin-g.env for correct environment paths.
 }}}

 I can see {{{qgis_app.dll}}} in the {{{c:\OSGeo4W64\apps\qgis-dev\bin\}}}
 folder, but I don't have a {{{qgis-dev-bin-g.env}}} in the
 {{{c:\OSGeo4W64\bin\}}} folder.

 I have a {{{ qgis-dev-bin-g.exe}}} and a {{{ qgis-dev-bin-g.vars }}}.

 I have just updated my OSGeo4W64 installation and it uninstalled QGIS 3.7
 dev and installed a new version - and I still have the issue.

 OS: Windows 10 x64.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/601>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #601: Cannot start QGIS dev - could not load qgis_app.dll

OSGeo4W
#601: Cannot start QGIS dev - could not load qgis_app.dll
---------------------+----------------------------
Reporter:  chau      |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  major     |   Component:  Package
 Version:            |  Resolution:
Keywords:  qgis-dev  |
---------------------+----------------------------
Changes (by jef):

 * priority:  critical => major


Comment:

 That might point to a problem with your GRASS install.

 %OSGEO4W_ROOT%\etc\postinstall\qgis-dev.bat runs `grass76 --config
 version` to detect the version (currently 7.6.1), parses the major version
 number from it (7) and uses that in the name of the batch file and
 binaries (`qgis-dev-bin-g7.bat` and `qgis-dev-bin-g7.exe`).  The batch
 file is then run with `--postinstall` to produce the `.env` - which
 apparently didn't happen on your machine.

 What does `grass76 --config version` produce in your osgeo4w shell?

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/601#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #601: Cannot start QGIS dev - could not load qgis_app.dll

OSGeo4W
In reply to this post by OSGeo4W
#601: Cannot start QGIS dev - could not load qgis_app.dll
---------------------+----------------------------
Reporter:  chau      |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  new
Priority:  major     |   Component:  Package
 Version:            |  Resolution:
Keywords:  qgis-dev  |
---------------------+----------------------------

Comment (by chau):

 I haven't installed GRASS (not on purpose at least and I haven't done
 anything to remove it if it was installed automatically).

 {{{ grass76 --config version}}} only produces {{{'grass76' is not
 recognized as an internal or external command, operable program or batch
 file.}}} when I run it in the OSGeo shell.

 If I run the {{{setup}}} and search for {{{grass}}} then none of the found
 items are installed.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/601#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #601: Cannot start QGIS dev - could not load qgis_app.dll

OSGeo4W
In reply to this post by OSGeo4W
#601: Cannot start QGIS dev - could not load qgis_app.dll
---------------------+----------------------------
Reporter:  chau      |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  closed
Priority:  major     |   Component:  Package
 Version:            |  Resolution:  fixed
Keywords:  qgis-dev  |
---------------------+----------------------------
Changes (by jef):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 `grass` added as dependency.  Reinstall `qgis-dev` please

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/601#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #601: Cannot start QGIS dev - could not load qgis_app.dll

OSGeo4W
In reply to this post by OSGeo4W
#601: Cannot start QGIS dev - could not load qgis_app.dll
---------------------+----------------------------
Reporter:  chau      |       Owner:  osgeo4w-dev@…
    Type:  defect    |      Status:  closed
Priority:  major     |   Component:  Package
 Version:            |  Resolution:  fixed
Keywords:  qgis-dev  |
---------------------+----------------------------

Comment (by chau):

 Thanks Jürgen, it works perfectly now!

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/601#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev