[CMake] Compiling binaries with cmake -- help

Crest Christopher crestchristopher at gmail.com
Thu Jun 23 01:10:40 EDT 2016


It can work, but it's missing dependencies ?

> Nicholas Braden <mailto:nicholas11braden at gmail.com>
> Thursday, June 23, 2016 1:08 AM
> It looks like the instructions are there in the README. I tried
> building on my system but I'm missing some dependencies (e.g. at some
> point it finds my Python 3 installation and tries to run some code but
> fails due to a missing sipconfig module, which I am not familiar
> with).
>
> Generally, to build a project that uses CMake, create an empty
> directory for the build and open a terminal in it, then run CMake with
> the path to the directory containing CMakeLists.txt and optionally
> specify the generator to use if the default is not the one you want.
> Then, if it completes without errors, you can use "cmake --build ." to
> build it and "cmake --build . --target install" to install it, even if
> you used an IDE generator.
>
> As for the project dependencies, you are own your own to get those.
>
> On Wed, Jun 22, 2016 at 11:56 PM, Crest Christopher
> Martin Maurer <mailto:meinemailingliste2 at online.de>
> Thursday, June 23, 2016 12:45 AM
> Hello,
> how about to share the github URL,
> which file you have downloaded or project you want to compile?
> I think this would make it much easier for readers to help.
> Best regards,
> Martin
> Nicholas Braden <mailto:nicholas11braden at gmail.com>
> Wednesday, June 22, 2016 8:50 PM
> Are you trying to use an existing CMakeLists.txt, or are you trying to
> create your own? CMake doesn't just work on source files alone.
>
> On Wed, Jun 22, 2016 at 7:30 PM, Crest Christopher
> Crest Christopher <mailto:crestchristopher at gmail.com>
> Wednesday, June 22, 2016 8:30 PM
> Hi, I'm hoping I can get some help on how to compile a repository from 
> github which is local on my machine with a series of folders which 
> contain CPP extension files.
>
> I have chosen the folders for which most likely contain the correct 
> files to compile the binaries followed by the folder to which to build 
> the binaries then I have chosen generate but I'm getting an error that 
> the project files are invalid ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160623/216f86cf/attachment.html>


More information about the CMake mailing list