lsjostro / cmocka Goto Github PK
View Code? Open in Web Editor NEWclone from git.cryptomilk.org/projects/cmocka.git (w/ JUnit XML patch)
License: Apache License 2.0
clone from git.cryptomilk.org/projects/cmocka.git (w/ JUnit XML patch)
License: Apache License 2.0
I'm stuck at getting CMake to work while compiling cmocka. I would like a 64-bits version so that's why i try to build it myself
Issued command:
E:\Downloads\cmocka-0.4.1\build>cmake -DCMAKE_INSTALL_PREFIX=E:/Downloads/cmocka-0.4.1/compiled -CMAKE_C_COMPILER="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -DCMAKE_BUILD_TYPE=Debug -G"Visual Studio 12 2013 Win64" ../
loading initial cache file MAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64
CMake Error: Error processing file: MAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64
-- The C compiler identification is MSVC 18.0.30723.0
-- Check for working C compiler using: Visual Studio 12 2013 Win64
-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Could NOT find NSIS (missing: NSIS_MAKE)
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for setjmp.h
-- Looking for setjmp.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for calloc
-- Looking for calloc - found
-- Looking for exit
-- Looking for exit - found
-- Looking for fprintf
-- Looking for fprintf - found
-- Looking for free
-- Looking for free - found
-- Looking for longjmp
-- Looking for longjmp - found
-- Looking for malloc
-- Looking for malloc - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for memset
-- Looking for memset - found
-- Looking for printf
-- Looking for printf - found
-- Looking for setjmp
-- Looking for setjmp - found
-- Looking for signal
-- Looking for signal - found
-- Looking for strsignal
-- Looking for strsignal - not found
-- Looking for sprintf
-- Looking for sprintf - found
-- Looking for strcmp
-- Looking for strcmp - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for _vsnprintf_s
-- Looking for _vsnprintf_s - found
-- Looking for _vsnprintf
-- Looking for _vsnprintf - found
-- Looking for _snprintf
-- Looking for _snprintf - found
-- Looking for _snprintf_s
-- Looking for _snprintf_s - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning (dev) at CMakeLists.txt:70 (set):
Policy CMP0053 is not set: Simplify variable reference and escape sequence
evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
For input:
'@CMAKE_SHARED_LIBRARY_PREFIX@${PROJECT_NAME}@CMAKE_SHARED_LIBRARY_SUFFIX@'
the old evaluation rules produce:
'cmocka.dll'
but the new evaluation rules produce:
'@CMAKE_SHARED_LIBRARY_PREFIX@cmocka@CMAKE_SHARED_LIBRARY_SUFFIX@'
Using the old result for compatibility since the policy is not set.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "E:/Downloads/cmocka-0.4.1/build/CMakeFiles/CMakeOutput.log".
See also "E:/Downloads/cmocka-0.4.1/build/CMakeFiles/CMakeError.log".
So two header files are missing and strsignal
(not sure what that is).
For the header files i found string.h
in C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\winext\manifest
but i'm not sure if i should use this one. Also i found one in my mingw installation but i'm not sure if that works with visual studio. For unistd.h
i ONLY found on in my mingw folder. Also i found this thread related to unistd.h
.
So for the header files perhaps i can do something with mingw, for strsignal
no idea other than a possible implementation found here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.