Compile dll in Ubuntu to include in Windows 7 (32 bit) program
-
Hi, I just need instructions to build my working source code in C++ into a dll that is compatible with Windows 7. Thanks.
-
Hi, I just need instructions to build my working source code in C++ into a dll that is compatible with Windows 7. Thanks.
You want to build a Windows DLL on a system running Ubuntu? Such tasks are called cross-compilation and require installation of additional components. See Compile for Windows on Linux | BlogCompiler[^] for setting up such a cross compilation environment using MinGW. The creation of DLLs is described at cross compilation - Compiling a DLL project written in c++ - Ask Ubuntu[^].
-
Hi, I just need instructions to build my working source code in C++ into a dll that is compatible with Windows 7. Thanks.
Assuming that your code has no linux OS calls in it and is just generic stuff you just define an interface for it and compile it like Jochen's answer. If you have linux OS calls you will need to build windows replacements or use a framework.
In vino veritas