-
|
I tried to compile the libraries, I need with the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
So the problem with the given approach was the fact that in order to cross-compile a binary you need to select not the tripets with the Note that for those to work, you need to have That is because somehow CMake was looking for default installation paths, while literally having the following line: |
Beta Was this translation helpful? Give feedback.
So the problem with the given approach was the fact that in order to cross-compile a binary you need to select not the tripets with the
windowsprefix, but the ones withmingwprefix, like the following ones:Note that for those to work, you need to have
mingw-w64installed, you find more info here.After installing those, you might need to do some other things depending on the library you want to link with your executable, for instance I had the following problem with the OpenSSL