I'm trying to install dlib library for python 3.5.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
No CMAKE_CXX_COMPILER could be found.
-- Configuration incomplete, error occured!
The contents of CMakeError.log after trying to execute cmake in dlib:
Build started 13-Apr-17 7:55:06 PM.
Project "C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
C:\Users\AnkitaShinde\AppData\Local\Programs\Python\Python35-32\Lib\dlib\CMakeFiles\3.7.1\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.02
Related
I have some makefile that is used to compile a program. During compilation I get an error:
In file included from kernel/driver.cc:20:
./kernel/yosys.h:81:12: fatal error: tcl.h: No such file or directory
81 | # include <tcl.h>
| ^~~~~~~
compilation terminated.
make: *** [Makefile:696: kernel/driver.o] Error 1
Then I rerun Cygwin setup application and install new package tcl-devel. I restart the Cygwin terminal and try again. The same error pops up. I don't understand! Why aren't headers found?
My tcl and tcl-devel are both of version 8.6.11-1.
I have visual studio 2015 community version on Windows 10. I downloaded Ethereum project on github and tried running
CMake .. -G "Visual Studio 14 2015 ARM"
command but it failed with following message. (The failing step seems to be the installation of Boost through hunter):
-- Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.16299.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test fstack-protector-strong
-- Performing Test fstack-protector-strong - Failed
-- Performing Test Wimplicit-fallthrough
-- Performing Test Wimplicit-fallthrough - Failed
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: C:/.hunter
-- [hunter] [ Hunter-ID: b96750b | Toolchain-ID: bb3d68a | Config-ID: 59ec5bb ]
-- [hunter] BOOST_ROOT: C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Install (ver.: 1.64.0)
-- [hunter] Building Boost
loading initial cache file C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/cache.cmake
loading initial cache file C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/args.cmake
-- Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.16299.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe -- works
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_arm/cl.exe -- works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 11/27/2017 11:33:03 AM.
Project "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ALL_BUILD.vcxproj" on node 1 (default targets).
Project "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ALL_BUILD.vcxproj" (1) is building "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "ARM\Debug\ZERO_CHECK\".
Creating directory "ARM\Debug\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
Creating "ARM\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Checking Build System
CMake does not need to re-run because C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "ARM\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "ARM\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ZERO_CHECK.vcxproj" (default targets).
Project "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ALL_BUILD.vcxproj" (1) is building "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\Boost.vcxproj" (3) on node 1 (default targets).
PrepareForBuild:
Creating directory "ARM\Debug\Boost\".
Creating directory "ARM\Debug\Boost\Boost.tlog\".
InitializeBuildStatus:
Creating "ARM\Debug\Boost\Boost.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ComputeCustomBuildOutput:
Creating directory "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\Boost-prefix\src\Boost-stamp\Debug\".
Creating directory "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\CMakeFiles\Debug\".
CustomBuild:
Building Custom Rule C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/CMakeLists.txt
CMake does not need to re-run because C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/CMakeFiles/generate.stamp is up-to-date.
Creating directories for 'Boost'
Performing download step (download, verify and extract) for 'Boost'
-- Boost download command succeeded. See also C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-download-*.log
No update step for 'Boost'
No patch step for 'Boost'
Performing configure step for 'Boost'
-- Boost configure command succeeded. See also C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-configure-*.log
No build step for 'Boost'
Performing install step for 'Boost'
CMake Error at C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-install-Debug.cmake:16 (message):
Command failed: 1
'C:/Program Files/CMake/bin/cmake.exe' '-Dmake=' '-Dconfig=Debug' '-P' 'C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-install-Debug-impl.cmake'
See also
C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-install-*.log
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\Boost.vcxproj]
Done Building Project "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\Boost.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ALL_BUILD.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\Boost.vcxproj" (default target) (3) ->
(CustomBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [C:\.hunter\_Base\b96750b\bb3d68a\59ec5bb\Build\Boost\Build\Boost.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:01:53.05
[hunter ** FATAL ERROR **] Build step failed (dir: C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost
[hunter ** FATAL ERROR **] [Directory:C:/.hunter/_Base/Download/Hunter/0.19.105/b96750b/Unpacked/cmake/projects/Boost]
------------------------------ WIKI -------------------------------
https://github.com/ruslo/hunter/wiki/error.external.build.failed
-------------------------------------------------------------------
CMake Error at C:/.hunter/_Base/Download/Hunter/0.19.105/b96750b/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
C:/.hunter/_Base/Download/Hunter/0.19.105/b96750b/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki)
C:/.hunter/_Base/Download/Hunter/0.19.105/b96750b/Unpacked/cmake/modules/hunter_download.cmake:596 (hunter_fatal_error)
C:/.hunter/_Base/Download/Hunter/0.19.105/b96750b/Unpacked/cmake/projects/Boost/hunter.cmake:272 (hunter_download)
C:/.hunter/_Base/Download/Hunter/0.19.105/b96750b/Unpacked/cmake/modules/hunter_add_package.cmake:53 (include)
CMakeLists.txt:101 (hunter_add_package)
-- Configuring incomplete, errors occurred!
See also "C:/Users/Alan/Documents/Projects/cpp-ethereum/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Alan/Documents/Projects/cpp-ethereum/build/CMakeFiles/CMakeError.log".
----------------------------Boost-install-err.log-----------------------
CMake Error at C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Build/Boost-prefix/src/Boost-stamp/Boost-install-Debug-impl.cmake:9 (message):
Command failed (The system cannot find the file specified):
'b2' '--layout=tagged' '-d0' 'install' '--without-atomic' '--without-chrono' '--without-container' '--without-context' '--without-coroutine' '--without-coroutine2' '--without-date_time' '--without-exception' '--without-fiber' '--without-filesystem' '--without-graph' '--without-graph_parallel' '--without-iostreams' '--without-locale' '--without-log' '--without-math' '--without-metaparse' '--without-mpi' '--without-program_options' '--without-python' '--without-random' '--without-regex' '--without-serialization' '--without-signals' '--without-system' '--without-test' '--without-thread' '--without-timer' '--without-type_erasure' '--without-wave' '--prefix=C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Install' '--ignore-site-config'
??In Boost-install-err.log, which file the system couldn't find? b2.exe? The folder 'C:/.hunter/_Base/b96750b/bb3d68a/59ec5bb/Build/Boost/Install' only contains a subfolder call 'lib'. Is it suppose to contain 'the' file that the command is looking for?
error: failed to run custom build command for onig_sys v61.1.0
I am compiling the rust program https://github.com/trishume/syntect by running make packs. However it throws the error:
$ make packs
cargo run --example gendata -- synpack testdata/Packages assets/default_newlines.packdump assets/default_nonewlines.packdump
Compiling onig_sys v61.1.0
error: failed to run custom build command for `onig_sys v61.1.0`
process didn't exit successfully: `D:\syntect\target\debug\build\onig_sys-523c993a9ee13532\build-script-build` (exit code: 101)
...
--- stderr
DIST_NAME: onig
DIST_VERSION: 6.1.1
DIST_LICENSE: BSD
DIST_AUTHOR: K.Kosako
DIST_MAINTAINER: K.Kosako
DIST_URL: https://github.com/kkos/oniguruma
DIST_DESC: Oniguruma is a regular expressions library.
DIST_DEPENDS:
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.21\src\lib.rs:605
note: Run with `RUST_BACKTRACE=1` for a backtrace.
make: *** [packs] Error 101
Why the https://github.com/kkos/oniguruma is not compiling?
I ran cargo build -vv and got this most all the log:
D:\syntect>cargo build -vv
Fresh num-traits v0.1.37
Fresh winapi-build v0.1.1
Fresh pkg-config v0.3.9
Fresh gcc v0.3.45
Fresh regex-syntax v0.4.0
Fresh num-integer v0.1.33
Fresh cmake v0.1.21
Fresh num-iter v0.1.33
Fresh lazy_static v0.2.4
Fresh winapi v0.2.8
Fresh yaml-rust v0.3.5
Fresh serde v0.8.23
Fresh bitflags v0.7.0
Fresh num v0.1.37
Fresh xml-rs v0.3.6
Fresh rustc-serialize v0.3.23
Fresh bitflags v0.8.0
Fresh fnv v1.0.5
Fresh serde v0.9.11
Fresh kernel32-sys v0.2.2
Fresh byteorder v1.0.0
Fresh bincode v0.6.1
Compiling onig_sys v61.1.0
Fresh same-file v0.1.3
Fresh libc v0.2.21
Running `D:\syntect\target\debug\build\onig_sys-523c993a9ee13532\build-scrip
t-build`
Fresh byteorder v0.5.3
Fresh walkdir v1.0.7
Fresh miniz-sys v0.1.9
Fresh time v0.1.36
Fresh flate2 v0.2.17
Fresh chrono v0.2.25
Fresh plist v0.1.2
running: "cmake" "C:\\Users\\Professional\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\onig_sys-61.1.0\\oniguruma" "-G" "Visual Studio 14 2015 Win64" "-DBUILD_SHARED_LIBS=OFF" "-
DCMAKE_INSTALL_PREFIX=D:\\syntect\\target\\debug\\build\\onig_sys-d633e
4c1e0d45051\\out" "-DCMAKE_C_FLAGS= /nologo /MD" "-DCMAKE_C_FLAGS_RELEASE= /nologo /MD" "-DCMAKE_CXX_FLAGS= /nologo /MD" "-DCMAKE_CXX_FLAGS_RELEASE= /nologo /MD" "-DCMAKE_BUILD_TYPE=Rele
ase"
DIST_NAME: onig
DIST_VERSION: 6.1.1
DIST_LICENSE: BSD
DIST_AUTHOR: K.Kosako
DIST_MAINTAINER: K.Kosako
DIST_URL: https://github.com/kkos/oniguruma
DIST_DESC: Oniguruma is a regular expressions library.
DIST_DEPENDS:
-- Configuring done
-- Generating done
-- Build files have been written to: D:/syntect/target/debug/build/onig_sys-d633e
4c1e0d45051/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
Microsoft (R) Build Engine version 14.0.24723.2
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 17/03/2017 15:41:57.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\instal
l.vcxproj" on node 1 (default targets).
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\instal
l.vcxproj" (1) is building "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d450
51\out\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
Checking Build System
CMake does not need to re-run because D:/syntect/target/debug/build/onig_sys-d6
33e4c1e0d45051/out/build/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\ou
t\build\ZERO_CHECK.vcxproj" (default targets).
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\instal
l.vcxproj" (1) is building "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d450
51\out\build\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\ALL_BU
ILD.vcxproj" (3) is building "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d4
5051\out\build\onig.vcxproj" (4) on node 1 (default targets).
InitializeBuildStatus:
Touching "onig.dir\Release\onig.tlog\unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
Building Custom Rule C:/Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/onig_sys-61.1.0/oniguruma/CMakeLists.txt
CMake does not need to re-run because D:/syntect/target/debug/build/onig_sys-d6
33e4c1e0d45051/out/build/CMakeFiles/generate.stamp is up-to-date.
ClCompile:
F:\VisualStudio2015\VC\bin\x86_amd64\CL.exe /c /I"D:\syntect\target\debug\build
\onig_sys-d633e4c1e0d45051\out\build" /I"C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma" /nologo /W1 /WX- /O2 /D _CRT_SECURE_NO_WARNINGS
/D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"onig.dir\Release\\" /Fd"onig.dir\Release\onig.pdb" /Gd /TC /errorReport:queue "C:\
Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c"
regenc.c
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): warning C4273: 'OnigEncDefaultCharEncoding': inconsistent dll linkage [D
:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(227): note: see previous definition of 'OnigEncDefaultCharEncoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): error C2099: initializer is not a constant [D:\User\\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(36): warning C4273: 'onigenc_init': inconsistent dll linkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(343): note: see previous definition of 'onigenc_init'
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(345): note: see previous definition of 'onig_initialize_encoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(53): warning C4273: 'onigenc_get_default_encoding': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(349): note: see previous definition of 'onigenc_get_default_encoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(59): warning C4273: 'onigenc_set_default_encoding': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(347): note: see previous definition of 'onigenc_set_default_encoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(66): warning C4273: 'onigenc_get_right_adjust_char_head': inconsistent dll li
nkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcx
proj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(359): note: see previous definition of 'onigenc_get_right_adjust_char_he
ad'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(77): warning C4273: 'onigenc_get_right_adjust_char_head_with_prev': inconsist
ent dll linkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\buil
d\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(353): note: see previous definition of 'onigenc_get_right_adjust_char_he
ad_with_prev'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(92): warning C4273: 'onigenc_get_prev_char_head': inconsistent dll linkage [D
:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(355): note: see previous definition of 'onigenc_get_prev_char_head'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(101): warning C4273: 'onigenc_step_back': inconsistent dll linkage [D:\User\D
ropbox\Applications\SoftwareVersioning\SublimeText\Data\Packages\ObjectBeautifier\source\libraries\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(338): note: see previous definition of 'onigenc_step_back'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(127): warning C4273: 'onigenc_step': inconsistent dll linkage [D:\User\Dropbo
x\Applications\SoftwareVersioning\SublimeText\Data\Packages\ObjectBeautifier\source\libraries\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(222): note: see previous definition of 'onigenc_step'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(137): warning C4273: 'onigenc_strlen': inconsistent dll linkage [D:\User\Drop
box\Applications\SoftwareVersioning\SublimeText\Data\Packages\ObjectBeautifier\source\libraries\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(361): note: see previous definition of 'onigenc_strlen'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(150): warning C4273: 'onigenc_strlen_null': inconsistent dll linkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(363): note: see previous definition of 'onigenc_strlen_null'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(175): warning C4273: 'onigenc_str_bytelen_null': inconsistent dll linkage [D:
\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(365): note: see previous definition of 'onigenc_str_bytelen_null'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(197): warning C4273: 'OnigEncAsciiToLowerCaseTable': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(228): note: see previous definition of 'OnigEncAsciiToLowerCaseTable'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(269): warning C4273: 'OnigEncAsciiCtypeTable': inconsistent dll linkage [D:\U
ser\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(230): note: see previous definition of 'OnigEncAsciiCtypeTable'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(304): warning C4273: 'OnigEncISO_8859_1_ToLowerCaseTable': inconsistent dll l
inkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vc
xproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(216): note: see previous definition of 'OnigEncISO_8859_1_ToLowerCaseTable'
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\install.vcxpro
j" (default target) (1) ->
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\ALL_BUILD.vcxp
roj" (default target) (3) ->
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj"
(default target) (4) ->
(ClCompile target) ->
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): error C2099: initializer is not a constant [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
45 Warning(s)
1 Error(s)
Time Elapsed 00:00:03.85
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.21\src\lib.rs:605
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: failed to run custom build command for `onig_sys v61.1.0`
process didn't exit successfully: `D:\syntect\target\debug\build\onig_sys-523c993
a9ee13532\build-script-build` (exit code: 101)
--- stdout
running: "cmake" "C:\\Users\\Professional\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\onig_sys-61.1.0\\oniguruma" "-G" "Visual Studio 14 2015 Win64" "-DBUILD_SHARED_LIBS=OFF" "-
DCMAKE_INSTALL_PREFIX=D:\\User\\syntect\\target\\debug\\build\\onig_sys-d633e
4c1e0d45051\\out" "-DCMAKE_C_FLAGS= /nologo /MD" "-DCMAKE_C_FLAGS_RELEASE= /nologo /MD" "-DCMAKE_CXX_FLAGS= /nologo /MD" "-DCMAKE_CXX_FLAGS_RELEASE= /nologo /MD" "-DCMAKE_BUILD_TYPE=Rele
ase"
-- Configuring done
-- Generating done
-- Build files have been written to: D:/syntect/target/debug/build/onig_sys-d633e
4c1e0d45051/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
Microsoft (R) Build Engine version 14.0.24723.2
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 17/03/2017 15:41:57.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\instal
l.vcxproj" on node 1 (default targets).
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\instal
l.vcxproj" (1) is building "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d450
51\out\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
Checking Build System
CMake does not need to re-run because D:/syntect/target/debug/build/onig_sys-d6
33e4c1e0d45051/out/build/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\ou
t\build\ZERO_CHECK.vcxproj" (default targets).
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not exist in the p
roject, and will be ignored.
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\instal
l.vcxproj" (1) is building "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d450
51\out\build\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\ALL_BU
ILD.vcxproj" (3) is building "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d4
5051\out\build\onig.vcxproj" (4) on node 1 (default targets).
InitializeBuildStatus:
Touching "onig.dir\Release\onig.tlog\unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
Building Custom Rule C:/Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/onig_sys-61.1.0/oniguruma/CMakeLists.txt
CMake does not need to re-run because D:/syntect/target/debug/build/onig_sys-d6
33e4c1e0d45051/out/build/CMakeFiles/generate.stamp is up-to-date.
ClCompile:
F:\VisualStudio2015\VC\bin\x86_amd64\CL.exe /c /I"D:\syntect\target\debug\build
\onig_sys-d633e4c1e0d45051\out\build" /I"C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma" /nologo /W1 /WX- /O2 /D _CRT_SECURE_NO_WARNINGS
/D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"onig.dir\Release\\" /Fd"onig.dir\Release\onig.pdb" /Gd /TC /errorReport:queue "C:\
Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c"
regenc.c
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): warning C4273: 'OnigEncDefaultCharEncoding': inconsistent dll linkage [D
:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(227): note: see previous definition of 'OnigEncDefaultCharEncoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): error C2099: initializer is not a constant [D:\User\\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(36): warning C4273: 'onigenc_init': inconsistent dll linkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(343): note: see previous definition of 'onigenc_init'
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(345): note: see previous definition of 'onig_initialize_encoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(53): warning C4273: 'onigenc_get_default_encoding': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(349): note: see previous definition of 'onigenc_get_default_encoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(59): warning C4273: 'onigenc_set_default_encoding': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(347): note: see previous definition of 'onigenc_set_default_encoding'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(66): warning C4273: 'onigenc_get_right_adjust_char_head': inconsistent dll li
nkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcx
proj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(359): note: see previous definition of 'onigenc_get_right_adjust_char_he
ad'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(77): warning C4273: 'onigenc_get_right_adjust_char_head_with_prev': inconsist
ent dll linkage [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\buil
d\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\oniguruma.h(353): note: see previous definition of 'onigenc_get_right_adjust_char_he
ad_with_prev'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(861): warning C4273: 'onigenc_mb4_is_code_ctype': inconsistent dll linkage [D
:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(149): note: see previous definition of 'onigenc_mb4_is_code_ctype'
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(876): warning C4273: 'onigenc_with_ascii_strncmp': inconsistent dll linkage [
D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
c:\users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.h(220): note: see previous definition of 'onigenc_with_ascii_strncmp'
Done Building Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\ou
t\build\onig.vcxproj" (default targets) -- FAILED.
Done Building Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\ou
t\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.
Done Building Project "D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\ou
t\build\install.vcxproj" (default targets) -- FAILED.
Build FAILED.
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\install.vcxpro
j" (default target) (1) ->
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\ALL_BUILD.vcxp
roj" (default target) (3) ->
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj"
(default target) (4) ->
(ClCompile target) ->
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): warning C4273: 'OnigEncDefaultCharEncoding': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(861): warning C4273: 'onigenc_mb4_is_code_ctype': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(876): warning C4273: 'onigenc_with_ascii_strncmp': inconsistent dll linkage
[D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\install.vcxpro
j" (default target) (1) ->
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\ALL_BUILD.vcxp
roj" (default target) (3) ->
"D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj"
(default target) (4) ->
(ClCompile target) ->
C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\onig_sys-61.1.0\oniguruma\src\regenc.c(32): error C2099: initializer is not a constant [D:\syntect\target\debug\build\onig_sys-d633e4c1e0d45051\out\build\onig.vcxproj]
45 Warning(s)
1 Error(s)
Time Elapsed 00:00:03.85
--- stderr
DIST_NAME: onig
DIST_VERSION: 6.1.1
DIST_LICENSE: BSD
DIST_AUTHOR: K.Kosako
DIST_MAINTAINER: K.Kosako
DIST_URL: https://github.com/kkos/oniguruma
DIST_DESC: Oniguruma is a regular expressions library.
DIST_DEPENDS:
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.21\src\lib.rs:605
note: Run with `RUST_BACKTRACE=1` for a backtrace.
D:\syntect>
Oniguruma doesn't build with CMake on Windows MSVC. This was an open issue in the onig_sys crate.
I've now updated the way the onig_sys crate builds so it should work with MSVC now.
To update to this fixed version make sure the Cargo.toml dependency for onig is set to either 1.2 or 1.2.1:
[dependencies]
onig = "1.2"
Trying to run Android sample 'Events and Actions' downloaded from https://allseenalliance.org/framework/download
Downloaded 'Core SDK - debug' which has sample eventaction and .apk in bin folder.
Installed it, but doesn't work. Is anyone able to run it?
Edit: Exception in the Logcat:
08-29 09:06:16.978 29314 29328 E AndroidRuntime: Process: org.allseen.sample.eventaction, PID: 29314
08-29 09:06:16.978 29314 29328 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by "/data/app/org.allseen.sample.eventaction-1/lib/arm/libMyAllJoynCode.so"...
I have tried building the library MyAllJoynCode.so using Android ndk, but I couldn't able to build it. I get below exception
root#jay-dev:~/alljoyn/core/alljoyn/alljoyn_core/samples/eventaction/Android# ndk-build
[arm64-v8a] Compile++ : MyAllJoynCode <= AndroidJNIBridge.cc
In file included from /root/alljoyn/core/alljoyn/build/linux/x86_64/debug/dist/cpp/inc/qcc/atomic.h:30:0,
from /root/alljoyn/core/alljoyn/build/linux/x86_64/debug/dist/cpp/inc/qcc/ManagedObj.h:38,
from /root/alljoyn/core/alljoyn/build/linux/x86_64/debug/dist/cpp/inc/alljoyn/Message.h:30,
from /root/alljoyn/core/alljoyn/build/linux/x86_64/debug/dist/cpp/inc/alljoyn/AuthListener.h:32,
from /root/alljoyn/core/alljoyn/build/linux/x86_64/debug/dist/cpp/inc/alljoyn/BusAttachment.h:34,
from jni/event/AndroidJNIBridge.cc:19:
/root/alljoyn/core/alljoyn/build/linux/x86_64/debug/dist/cpp/inc/qcc/posix/atomic.h:30:25: fatal error: sys/atomics.h: No such file or directory
#include
^
compilation terminated.
/root/android-ndk-r12b/android-ndk-r12b/build/core/build-binary.mk:474: recipe for target 'obj/local/arm64-v8a/objs/MyAllJoynCode/event/AndroidJNIBridge.o' failed
make: *** [obj/local/arm64-v8a/objs/MyAllJoynCode/event/AndroidJNIBridge.o] Error 1
It looks like you were using Android NDK level 20 (or later).
The NDK's android-20 platform directory no longer contains the atomics.h file (they removed it), which caused the AllJoyn build failure you saw:
dist/cpp/inc/qcc/posix/atomic.h:30:25: fatal error: sys/atomics.h: No such file or directory
Prior to AllJoyn release 16.10, a workaround is simply to copying the NDK's android-19 atomics.h file to its android-20 (or later) platform directory.
However, the AllJoyn-related issue has been fixed as of September 2016 (i.e. no longer dependent on atomics.h), and the fix is included in AllJoyn release 16.10.
More information is provided in JIRA https://jira.allseenalliance.org/browse/ASACORE-3216
I am compiling the doxygen on window from the sources and I have followed this link -> http://www.doxygen.nl/manual/install.html#install_src_windows.
I have done the necessary requirements for installation but I get this error in the root folder when ever I run this command :
cmake -G "Visual Studio 12 2013"
Is it looking for the compiler?But basicclr.exe is already there
Contents of CmakeError.log :
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:
The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 7/5/2016 9:53:56 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.06
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:
The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 7/5/2016 9:53:56 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.05
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags:
Id flags:
The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 7/5/2016 9:54:53 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdC\CompilerIdC.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.04
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:
The output was:
1
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18063]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 7/5/2016 9:54:54 AM.
Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj" (default target) (1) ->
C:\tools\doxygen-1.8.11\CMakeFiles\3.6.0-rc4\CompilerIdCXX\CompilerIdCXX.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.04
And of CMakeOutput.log is :
The system is: Windows - 6.1.7601 - AMD64
Have you used the "Visual Studio command prompt" from the Tools menu inside Visual Studio? A plain command window does not work.