Replies: 2 comments 2 replies
-
Can you provide the steps that you have followed after cloning qemu repository? Make sure you are using correct mingw environment. For example, in start menu, the blue 'M' icon is MINGW64 for x86_64. Also check if compiler and all the required dependencies are installed correctly. There is a pull request to update qemu, here #11000. You can check the CI logs to get some idea. |
Beta Was this translation helpful? Give feedback.
-
yes I forgot it. I use "MSYS2 mingw x64" all the time and there is only few instructions to compiling. They ask to use mingw64, perhaps it's here i make an error, i continue to use
I tried also by adding more packages after had followed the advice to look at .cirrus.yml. As the subject was there was missing dll, it seems to oriente me to missing packages (i think).
But the more i added packages, the more there was dll missing. Then Thomas suggested to disabling the one that have problems, i did it but previous problems back. After a forsake of few ours, by trying to understand how to learn to compile i saw to launch an exe compiled by MSYS2 with explorer i must add a MSYS2 dll at the root, this is how i have the idea to try to find if i didn't have already the dll somewhere. I hope i'm clear, i'm french and my bad english cumulates with my lack of knowledges about mingw... I joined a result of a compilation in my previous message, not the last but i tried also with the exe file of this compilation with the move-to-mingw64-dir method and it worked too. Do you know if it's normal for the last lines ??
Thanks. I remember suddenly , i don't know if it's important but i ran that just after installed MSYS2, i never used environment variables or thinks like that. |
Beta Was this translation helpful? Give feedback.
-
Hi everybody, i wrote so much until now to describe my problem that i don't know how to begin. I need to learn to compile to use patches etc... i know there is packages.
I tried several times to follow the wiki page of QEMU and to run exe by the windows console, explorer.
There were always a problem about dll... I tried on the gitlab of QEMU, but event if Thomas Huth tried to help me he is not familiar to compiling for windows (He said it, but it's great he tried to help me). Despesrate i asked to Christopher Reiter, and he recommended me to go here (thanks to him).
I use MSYS2 mingw x64 for all the process... and i'm not at all familiar with it, even if i program as amateur, i use Visual Studio the most of time for Windows.
Since this morning 1(am), i found my problem could be resolved by using the dll from the mingw64 directory: "\MSYS2\mingw64" at the begining i copied one by one dll but still to have other problems (one say there were a problem with printf then i asked myself how it could be possible because it's look like a native instruction). the i moved my exe file, and it works perfectly.
I think there must be a problem during the compilation.
My last lines are:
I ask myself if there is not a problem to have
1/108
and2/35
... I mean like if something broken (an error ?). I looked at themakefile.ninja
to seeqemu-version.h \
for the ninja targets... could it be that ? How to resolve it if the problem come from that.I add, all compilation i did finished with some executable mixed with *.c *.o files. i ask myself it it's normal or if it's not the consequence of an error during compiling that stops all. I would to understand to make a clean compilation
Best regards.
Just examples, not the last tries.
QEMU Config.txt
Qemu Compiled.txt
Beta Was this translation helpful? Give feedback.
All reactions