[Clam-devel] Windows MinGW cross compile/Crosscompiling with Qt errors

David García Garzón dgarcia at iua.upf.edu
Fri Nov 30 08:48:18 PST 2007


Windows searches for dlls in the binary directory, then in some directory 
within the PATH environment variable.

I wrote on the wiki, just for testing qt, to copy qt dll's and dependencies, 
which are at $QTDIR/bin/, into the directory where you have compiled the 
helloworld.

> > That line on the wiki:
> > cp $QTDIR/bin/Qt*dll .
> > maybe should be:
> > cp $QTDIR/bin/*dll .

Later steps on the wiki ask you to create a dlls directory in your sandbox, 
and to set the wine PATH to point to it. Later library dll's are moved to 
that directory.


On Divendres 30 Novembre 2007, Pau Arumí wrote:
> El dv 30 de 11 del 2007 a les 13:59 +0100, en/na David García Garzón va
>
> escriure:
> > This file is in several places:
> > /usr/share/doc/mingw32-runtime/mingwm10.dll.gz
> > ~/.wine/drive_c/Qt/4.3.2/bin/mingwm10.dll
> > ~/.wine/drive_c/MinGW/bin/mingwm10.dll <- If you said yes to installing
> > mingw on the qt install
>
> ok, then why ./helloqt.exe is complaining?
> is there some kind of DLL_LIBRARY_PATH to set up?
>
> pau
>
> > That line on the wiki:
> > cp $QTDIR/bin/Qt*dll .
> > maybe should be:
> > cp $QTDIR/bin/*dll .
> >
> > On Divendres 30 Novembre 2007, Pau Arumí wrote:
> > > El dj 29 de 11 del 2007 a les 18:59 +0000, en/na Pol Pros va escriure:
> > > > Hi Pau,
> > > > in the process of testing crosscompiling with Qt, when I execute
> > > > helloqt.exe  I obtain this result:
> > > >
> > > > $   pol at PC02:~/pfc/testing$ ./helloqt.exe
> > > > err:module:import_dll Library mingwm10.dll (which is needed by
> > > > L"Z:\\home\\pol\\pfc\\testing\\QtCore4.dll") not found
> > > > err:module:import_dll Library QtCore4.dll (which is needed by
> > > > L"Z:\\home\\pol\\pfc\\testing\\helloqt.exe") not found
> > > > err:module:import_dll Library mingwm10.dll (which is needed by
> > > > L"Z:\\home\\pol\\pfc\\testing\\QtGui4.dll") not found
> > > > err:module:import_dll Library mingwm10.dll (which is needed by
> > > > L"Z:\\home\\pol\\pfc\\testing\\QtCore4.dll") not found
> > > > err:module:import_dll Library QtCore4.dll (which is needed by
> > > > L"Z:\\home\\pol\\pfc\\testing\\QtGui4.dll") not found
> > > > err:module:import_dll Library QtGui4.dll (which is needed by
> > > > L"Z:\\home\\pol\\pfc\\testing\\helloqt.exe") not found
> > > > err:module:LdrInitializeThunk Main exe initialization for
> > > > L"Z:\\home\\pol\\pfc\\testing\\helloqt.exe" failed, status c0000135
> > > >
> > > > mingwin10.dll ¿?
> > >
> > > mmm... I'm a little puzzled also, mingw32 ubuntu package installs this
> > > file
> > >
> > > $ find /usr/ | grep mingwm10
> > > /usr/share/doc/mingw32-runtime/mingwm10.dll.gz
> > >
> > > But I've not idea about if there is some set up step that should
> > > decompress it.
> > >
> > > David will know...
> > >
> > > Pau
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Clam-devel mailing list
> > > Clam-devel at llistes.projectes.lafarga.org
> > > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-dev
> > >el
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20071130/78284450/attachment-0003.pgp>


More information about the clam-devel mailing list