[CMake] Compiling binaries with cmake -- help

Nicholas Braden nicholas11braden at gmail.com
Thu Jun 23 01:15:21 EDT 2016


Yes, many projects do not include their dependencies and require you
to obtain them yourself. In this case it looks like you need the
Python sipconfig module installed.

On Thu, Jun 23, 2016 at 12:10 AM, Crest Christopher
<crestchristopher at gmail.com> wrote:
> It can work, but it's missing dependencies ?
>
> Nicholas Braden
> 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
> 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
> 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
> 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 ?
>
>


More information about the CMake mailing list