Note that there are some explanatory texts on larger screens.

plurals
  1. POWindows Build System: How to build a project (from its source code) which doesn't have *.sln or Visual C++ proj file (*.vcproj)
    primarykey
    data
    text
    <p>I'm facing <a href="https://stackoverflow.com/questions/2725815/link-error-xxx-is-already-defined-in-lib-what-exactly-is-wrong">this</a> problem. So, I need to build the support libraries (zlib, libtiff, libpng, libxml2, libiconv) with "Multithreaded DLL" (/MD) &amp; "Multithreaded DLL Debug" (/MDd) run-time options. But the problem is there is no direct way . I mean there is no *.sln / *.vcproj file which I can open in Visual C++ and build it.</p> <p>I'm aware with the <a href="http://en.wikipedia.org/wiki/GNU_build_system" rel="nofollow noreferrer">GNU build system</a>:</p> <pre><code>$./configure --with-all-sorts-of-required-switches $./make $./make install </code></pre> <p>During my search I've encountered with something called <a href="http://www.cmake.org/" rel="nofollow noreferrer">CMake</a> which generates *.vcproj &amp; *.sln file but for that CMakeLists.txt is required. Not all projects provide CMakeLists.txt.</p> <p>I've never compiled anything from Visual C++ Command Line. </p> <ul> <li><p>Generally most projects provide <code>makefile</code>. Now how do I generate *.vcproj / *.sln from this?</p></li> <li><p>Can I compile with <code>mingw-make</code> of <a href="http://en.wikipedia.org/wiki/MinGW" rel="nofollow noreferrer">MinGW</a>? </p></li> <li><p>If I can, how do I set different options ("Multi-Threaded"(/MT), "Multi-Threaded Debug"(/MTd), "Multi-Threaded DLL"(/MD), "Multi-Threaded DLL Debug"(/MDd)) for run-time libraries? </p></li> <li><p>I don't know what other ways are available. Please throw some light on this.</p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload