Hi.
I recently tried to build the Jinja2Cpp library on Windows 10 with Visual
Studio 2017. I had managed to do this successfully before, but when I tried it
again this time after deleting the `Jinja2Cpp` directory and cloning from the
GitHub repo again, I had errors in CMake and couldn't gener
Hi again, everyone.
I'm asking again. If the reason I didn't get a reply last time was because I
didn't ask the right way for "hackers" to give me a satisfactory answer, please
let me know. But if it was just because not enough people saw it, then that's
all the more reason for me to do this
I'm creating a new email thread for this because the other thread's problem was
already solved.
In the Dockerfile for my project, the build process can't go any farther from
the point where I'm trying to build the Jinja2Cpp library. CMake isn't able to
find Boost.Filesystem, but it's still abl
How do I specify the path to the installations of third-party libraries to
CMake? Both GUI and command line. I want to specify the path to the Boost
libraries. I'd also like to know if I just need to specify the path to the
Boost Root or if I also need to specify the path to the directory whe
Hi again, everyone.
I noticed that FindBoost.cmake has "-d" set as the Boost debug ABI tag even
though the Boost libraries actually use "-gd". I installed the latet release
of CMake just now, which has Boost 1.68.0 listed as a test version, and it has
this problem too. For Boost.Filesystem, i
I want to install the latest release version of CMake in my Ubuntu Docker image
(from the Dockerfile), but I'm having trouble. I have this command:
"
RUN wget https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.tar.gz \
&& tar cmake-3.12.3-Linux-x86_64.tar.gz \
&& rm -rf cmake-3.12.3
ar options:
x - Extract
z - Archive type is gzip (may be optional, depending on version of tar)
f - The file to extract (tar will try and open whatever follows this
argument so it MUST come last in this case)
On 30/10/2018 09:27, Mateusz Loskot wrote:
> On Tue, 30 Oct 2018 at 10:22, Osman
e story on that?
From: CMake on behalf of Mateusz Loskot
Sent: Tuesday, October 30, 2018 4:18 PM
To: cmake@cmake.org
Subject: Re: [CMake] About FindBoost.cmake
On Tue, 30 Oct 2018 at 12:09, Osman Zakir wrote:
>
> Nice. So what command did you run to configure CMake?
I put "apt-get install" in the CMake folder that I got from unpacking the .tar
file. Would that not install the CMake in that directory? That's what I'm
asking. What do I have to do in order for it to install the CMake executable I
downloaded and also add it to my PATH?
__
Yeah, I forgot to type the 'c'. My mistake.
From: CMake on behalf of Mateusz Loskot
Sent: Tuesday, October 30, 2018 4:30 PM
To: cmake@cmake.org
Subject: Re: [CMake] About FindBoost.cmake
On Tue, 30 Oct 2018 at 12:25, Osman Zakir wrote:
>
>
ke in Ubuntu Linux from command-line via wget
On Tue, 30 Oct 2018 at 12:59, Osman Zakir wrote:
>
> I put "apt-get install" in the CMake folder that I got from unpacking the
> .tar file. Would that not install the CMake in that directory?
No!
The .tar.gz is not a .deb package,
bject: Re: [CMake] Installing CMake in Ubuntu Linux from command-line via wget
On 30/10/2018 10:56, Osman Zakir wrote:
> Okay, thanks.
>
> So how about this as the command?
>
> "
> RUN wget https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.tar.gz \
> && t
Like if I cd into the CMake bin directory and then add the relative path to the
current directory to the PATH.
From: Osman Zakir
Sent: Tuesday, October 30, 2018 6:01 PM
To: cmake@cmake.org
Subject: Re: [CMake] Installing CMake in Ubuntu Linux from command-line
I put this command in the Dockerfile:
"
RUN mkdir $HOME/usr \
&& wget -O cmake-linux.sh
https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.sh \
&& sh cmake-linux.sh -- --skip-license --prefix=$HOME/usr \
&& cd $HOME/usr \
&& ls \
&& export PATH=$HOME/usr/bin:$PATH
"
Bu
0/10/2018 15:41, Osman Zakir wrote:
> I put this command in the Dockerfile:
> "
> RUN mkdir $HOME/usr \
> && wget -O cmake-linux.sh
> https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.sh \
> && sh cmake-linux.sh -- --skip-license --pref
Hi again.
I was able to get sudo installed on a Docker image running as a non-root user.
But when I get to the part in the Docker file where it tries to build Jinja2Cpp
using CMake, I get CMake errors. Dockerfile and error log from build attempt
are attached to this message.
Anyone have any
Did no one see my previous message here? About the CMake errors in the Docker
image. I really don't know how to fix this so some help would really be
appreciated. It really is mainly about CMake right now, not Docker itself.
Both the Dockerfile and the part of the build output with errors fr
o the git clone or directory creation. Running cmake under sudo would not be
recommended.
On Sun, Nov 4, 2018 at 6:22 PM Osman Zakir
mailto:osmanzaki...@hotmail.com>> wrote:
Did no one see my previous message here? About the CMake errors in the Docker
image. I really don't know ho
I want to remove CMake from my Docker image in order to reduce the image size
(I'm also going to remove g++, make and build-essential -- it's after the
executable program has been built). How do I do this?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Would the way for finding Boost that I saw before when I asked about doing it
for version 1.68.0 also work for version 1.69.0? If so, I could just try to
find the archive of older threads and search for that message. If not, please
tell me here how to do it. Either way, any help would be appr
I tried to set the runtime to static by passing the "-DMSVC_RUNTIME_TYPE=/MT"
argument when running CMake, but it generated a warning saying that that option
was ignored by the project (Zlib in this case). So what's the correct way to
do this?
--
Powered by www.kitware.com
Please keep messag
As the title says, I have this error when trying to build INSTALL.vcxproj in
LLVM.sln using Visual Studio Community 2019:
"
522>CMake Error at tools/clang/lib/Headers/cmake_install.cmake:36 (file):
522> file INSTALL cannot find
522> "C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/includ
I'm having trouble using CMake to generate solution and project files for
Emscripten and Binaryen. When I try to invoke it from the command line, I get
this message:
"
cmake -G"Visual Studio 16 2019" -A Win64 -DCMAKE_INSTALL_PREFIX="C:/Program
Files/binaryen" -DCMAKE_BUILD_TYPE=Release ../
CMa
I just tried to build Step 1 of the CMake tutorial that comes with the source
code (CMake version 3.14.3), once with VS2019 as the generator and then again
with VS2017 as the generator. The latter worked fine but the former didn't. I
got the same error as mentioned in the initial message:
"
c
How do I specify the VS 2019 LLVM toolset when configuring a build with CMake
on the command line?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For mo
I want to know how to specify the name of a library I file I want to link
against. How do I do this? I wanted to build a library with a static runtime
and static libs; it requires linking against a Boost library which I did build
with static runtime but when I tried to build it, I had linker e
Hi. I tried to specify the LLVM Toolset for VS2019 by doing "-T LLVM" and also
"-T llvm" but it failed both times. What I get for the former is this:
"
cmake -G "Visual Studio 16 2019" -A x64 -T LLVM ..
-DCMAKE_INSTALL_PREFIX="C:/Program Files/FLTK" -DCMAKE_BUILD_TYPE=Release
CMake Error at CM
Yes, I looked at this:
https://devblogs.microsoft.com/cppblog/clang-llvm-support-in-visual-studio/ so
I kind of get it. VS2019 has built-in support for LLVM. I of course do have
LLVM installed. So for this, I have to put "ClangCL" as the argument to -T?
Okay, thanks. I'll try that.
--
Po
I want to build LLVM 10 so that I can see if having the same version of LLVM
installed that my EMSDK version is using will help. I want to do this so I can
build the Qt Documentation as well when I build Qt for WebAssembly. Building
the Documentation requires LLVM and I want to avoid conflicts
Hi.
I'm trying to build LLVM 10.0.0 with CMake on the command line (Developer
Command Prompt for VS2019) and I need to know how to switch to a static
runtime. I've tried specifying LLVM's variable for this, but it didn't work.
I still have a dynamic runtime. Along with that, I also need to k
Thanks for the reply.
What about enabling C++ exceptions?
And I should do "-DCMAKE_MSVC_RUNTIME_LIBRARY=/MT" to set the runtime type to
static, right?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers v
I tried "-DCMAKE_MSVC_RUNTIME_LIBRARY=MT" and also
"-DCMAKE_MSVC_RUNTIME_LIBRARY=/MT" before that, along with
"-DCMAKE_BUILD_TYPE=Release", but I still get "Using Release VC++ CRT: MD".
What's going on? I also did "-DCMAKE_CXX_FLAGS="/permissive- /EHsc /std:c++17
/O2 /MT /D_SILENCE_ALL_CXX_DE
Okay, actually I can't enable a static runtime for LLVM on the command line. I
was told about a patch I need to apply.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CM
I tried to configure a FLTK build with this:
"make .. -G "Visual Studio 16 2019" -A x64 -T "ClangCl"
-DCMAKE_INSTALL_PREFIX=../install
-DCMAKE_CXX_COMPILER=C:/llvm-project/install/bin/clang-cl.exe
-DCMAKE_C_COMPILER=C:/llvm-project/install/bin/clang-cl.exe
-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX
Yeah, I typed it correctly in the actual command and missed the C when
copy-pasting it here. Sorry about that.
I also want to know if it's possible to use LLVM 10 with the ClangCl toolset in
VS2019. The toolchain file itself uses LLVM 8.0.1, but I also have LLVM 10
installed on my computer an
I built Boost 1.72.0 while passing the "--layout=versioned" flag to b2, but
when I tried to rebuild Jinja2Cpp with the newer version of Boost using CMake,
it failed to generate project files and said it couldn't filesystem and system
and also couldn't detect version information. Could someone p
I tried passing -DBoost_COMPILER and -DBoost_DEBUG but it seems it's only
looking for up to Boost 1.71.0; the test versions go up to there only. Should
I edit the FindBoost.cmake file to have it look for version 1.72.0 as well?
I'm using MSVC version 14.2, Visual Studio 2019. I'm using the Dev
Yeah, forgot.
I did specify the values for the flags on the actual thing.
-DBoost_COMPILER=-vc142, -DBoost_ARCHITECTURE=-x64 and -DBoost_DEBUG=ON. I'll
try specifying the version number like what you said. Thanks for that.
--
Powered by kitware.com/cmake
Kitware offers various services to
38 matches
Mail list logo