[cfe-dev] Errors building clang with mingw

Reid Kleckner reid.kleckner at gmail.com
Wed Mar 16 16:53:51 PDT 2011


On Wed, Mar 16, 2011 at 7:50 PM, Edward Diener
<eldlistmailingz at tropicsoft.com> wrote:
> On 3/16/2011 7:09 PM, Francois Pichet wrote:
>>
>>
>> When I want to build with MinGW I do this from the normal cmd.exe
>> command prompt:
>>
>>> cd C:\llvm
>>> mkdir Build
>>> cd Build
>>> cmake -G "MinGW Makefiles" ..
>>> make
>>
>> Binaries will be in llvm\Build\bin
>
> This gives me:
>
> CMake Error: The source directory
> "C:/Programming/VersionControl/llvm/build" does not appear to contain
> CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
>
> I do not see how you can build from a 'build" directory if CMake needs
> to be in some other directory to generate its files.

Did you miss the ".." at the end of the cmake command?

Reid



More information about the cfe-dev mailing list