Re: [CMake] Building with cmake 3.6.2 need 3.7.2 or newer!!

2017-04-24 Thread Chris Russo
On 4/24/2017 3:56 PM, Chris Russo wrote: Greetings- Well this should be simple right? I have Windows 10 64 bit. Visual Studio Community 2015. It shows that my version on a certain build is cmake 3.6.2. I have tried to download the latest and greatest set the path and no luck. where is, wh

[CMake] Building with cmake 3.6.2 need 3.7.2 or newer!!

2017-04-24 Thread Chris Russo
Greetings- Well this should be simple right? I have Windows 10 64 bit. Visual Studio Community 2015. It shows that my version on a certain build is cmake 3.6.2. I have tried to download the latest and greatest set the path and no luck. where is, which, find, search looking all over the file

Re: [CMake] [cmake-developers] Trouble with FindPNG module

2017-04-24 Thread Ben Boeckel
On Mon, Apr 24, 2017 at 12:20:27 -0500, Robert Dailey wrote: > -- The C compiler identification is GNU 4.9.4 > -- The CXX compiler identification is GNU 4.9.4 > -- Check for working C compiler: /usr/bin/gcc-4.9 > -- Check for working C compiler: /usr/bin/gcc-4.9 -- works > -- Detecting C compiler A

Re: [CMake] Trouble with FindPNG module

2017-04-24 Thread Andrew Fuller
Try adding this to your toolchain file: set( CMAKE_C_LIBRARY_ARCHITECTURE "i386-linux-gnu" ) set( CMAKE_CXX_LIBRARY_ARCHITECTURE "i386-linux-gnu" ) From: rcdai...@gmail.com on behalf of Robert Dailey Sent: April 24, 2017 10:22:53 AM To: Andrew Fuller Cc: CMa

Re: [CMake] Trouble with FindPNG module

2017-04-24 Thread Robert Dailey
Interestingly, the changes to my toolchain made below work: set( CMAKE_SYSTEM_NAME Linux ) set( CMAKE_SYSTEM_VERSION 1 ) set( CMAKE_SYSTEM_PROCESSOR i386 ) set( CMAKE_C_COMPILER gcc-4.9 ) set( CMAKE_CXX_COMPILER g++-4.9 ) set( CMAKE_C_COMPILER_ARG1 -m32 ) set( CMAKE_CXX_COMPILER_ARG1 -m32 ) The

Re: [CMake] Trouble with FindPNG module

2017-04-24 Thread Robert Dailey
The output is: x86_64-linux-gnu How can I tell CMake to look for 32-bit libraries? I would like to force this from my toolchain file (which I posted a few minutes ago) On Mon, Apr 24, 2017 at 10:16 AM, Andrew Fuller wrote: > Where did the library get installed on your system? What's the value

Re: [CMake] [cmake-developers] Trouble with FindPNG module

2017-04-24 Thread Robert Dailey
On Mon, Apr 24, 2017 at 10:02 AM, Ben Boeckel wrote: > On Mon, Apr 24, 2017 at 09:54:18 -0500, Robert Dailey wrote: >> On Fri, Apr 21, 2017 at 4:48 PM, Robert Dailey >> wrote: >> > I'm running CMake 3.8.0 on Ubuntu 14. I invoke the following: >> > >> > find_package(PNG REQUIRED) >> > >> > Which

Re: [CMake] Trouble with FindPNG module

2017-04-24 Thread Andrew Fuller
Where did the library get installed on your system? What's the value of CMAKE__LIBRARY_ARCHITECTURE? Since you're on a 64-bit system, I'd expect CMake to be looking for 64-bit libraries unless you've told it otherwise. From: CMake on behalf of Robert Dailey

Re: [CMake] [cmake-developers] Trouble with FindPNG module

2017-04-24 Thread Ben Boeckel
On Mon, Apr 24, 2017 at 09:54:18 -0500, Robert Dailey wrote: > On Fri, Apr 21, 2017 at 4:48 PM, Robert Dailey > wrote: > > I'm running CMake 3.8.0 on Ubuntu 14. I invoke the following: > > > > find_package(PNG REQUIRED) > > > > Which gives me the output in CMake: > > > > Could NOT find PNG (missi

Re: [CMake] Trouble with FindPNG module

2017-04-24 Thread Robert Dailey
Sorry to bump; any info on this? I'm completely blocked :-( On Fri, Apr 21, 2017 at 4:48 PM, Robert Dailey wrote: > I'm running CMake 3.8.0 on Ubuntu 14. I invoke the following: > > find_package(PNG REQUIRED) > > Which gives me the output in CMake: > > Could NOT find PNG (missing: PNG_LIBRARY) (f

Re: [CMake] Problem with Ninja on Windows

2017-04-24 Thread Robert Bielik
I've found the culprit, in boringssl/crypto CMakeLists.txt there is: enable_language(ASM_NASM) If I remove this (since I don't use asm), it works on both x86 and amd64 (!) > -Original Message- > From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert > Bielik > Sent: den 24 apri

[CMake] Problem with Ninja on Windows

2017-04-24 Thread Robert Bielik
Hi all, I've come to a problem with Ninja on Windows, but only when building for MSVC amd64 toolchain. With x86, it works OK. The error I get is: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_ASM_NASM_COMPILE_OBJECT