vitamtp icon indicating copy to clipboard operation
vitamtp copied to clipboard

Compiling for Windows platform

Open noahc3 opened this issue 7 years ago • 1 comments

I apologize for the noob question.

I'm trying to compile this for Windows. Getting the necessary libraries to build in a Windows environment seems like a chore so I went the cross compile route. I have it to the point where ./configure and make succeed (or at least don't fail), but no Windows binaries are produced. I'm pretty much looking for a DLL output like is bundled with QCMA.

I'm using the following command for configure: ./configure CC="i686-w64-mingw32-gcc" CFLAGS="-I/usr/local/include" --build i686-pc-linux-gnu --host i386-w64-mingw32

Is there anything obvious I'm missing here? Or maybe you compile this for Windows differently and could point me in the right direction?

Thanks muchly.

noahc3 avatar Jul 05 '18 04:07 noahc3

Did you check src/.libs/ after compilation? If you don't do make install then the library will end in there.

For windows i compiled the project using the native MSVC compiler but sadly i lost my build scripts not long ago (my fault for not uploading them to github).

I will comment again if i write some instructions to build the whole thing (or write some Dockerfiles that can build them with one command).

codestation avatar Jul 05 '18 05:07 codestation