Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Would like to cross-compile on Debian for Windows with MinGW #2269

@N0NB

Description

@N0NB

Hi.

I am the maintainer of Hamlib a library that eases control of various devices used by radio amateurs. It incorporates support for antenna rotators and has gained support for telescope rotators as these operate in the same way. Right now we have an INDI "backend" that is only compiled on Linux. I would like to extend that support to MS Windows.

I understand that libindi can be built under Cygwin and MSVC but our Windows binaries are built on Debian Stable using MinGW. As such I am looking for a recipe that I can use to build the libindi .DLL , then our build script can read the needed header file(s) and link to the .DLL and copy it over into our ZIP archive for distribution. A similar approach is done with libusb although that project provides a prebuilt package (I'm not asking for that).

It may be my unfamiliarity with cmake that I've not seen an obvious way to invoke it with the MinGW tool chain. If that is the case, I appreciate the help with getting going.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions