Giter Site home page Giter Site logo

How to build in Windows 10? about depthai-core HOT 7 CLOSED

luxonis avatar luxonis commented on September 25, 2024
How to build in Windows 10?

from depthai-core.

Comments (7)

themarpe avatar themarpe commented on September 25, 2024 1

@wureka - the way you've decided to perform the build is correct.

If you want the fix immediately without changing the locale settings as mentioned above, you can modify the following file: cmake/Hunter/config.cmake (replace the current block with the one below)

hunter_config(
    XLink
    VERSION "luxonis-2020.2"
    URL "https://github.com/luxonis/XLink/archive/49528345a0e2f307d01f5eedc1a4ad47615af08b.tar.gz"
    SHA1 "0941bd940f5966ed3a1947ddf6b2bc18ba3e1e0e"
    CMAKE_ARGS
        CMAKE_POSITION_INDEPENDENT_CODE=ON
)

This should fix your issue, before an update is released from our side.

from depthai-core.

Luxonis-Brandon avatar Luxonis-Brandon commented on September 25, 2024

Will likely need @themarpe 's help on this one.

Just to make sure (and sorry for the potentially dumb question). Are you needing to build from source? I ask because we do provide pre-compiled binaries for Windows 10. There are of course myriad reasons (pun intended) why you'd want to build from source, so that's why my question might be a dumb one. :-). Just wanted to be sure.

from depthai-core.

wureka avatar wureka commented on September 25, 2024

@Luxonis-Brandon um... I just wanted to build to DLL/.so files so that maybe I could access it with JNA in Java. If there is depthai lib/jar for Java, then I don't need to build depthai-core from source.

from depthai-core.

Luxonis-Brandon avatar Luxonis-Brandon commented on September 25, 2024

Ah totally understand now @wureka . So it's been a while since I tried to build on Windows 10. But here are the notes that I have from then:

https://discuss.luxonis.com/d/39-depthai-sneak-peak-into-windows-support/2

I do not yet understand the errors above though yet. So I'm not sure what is going wrong. I haven't done much Windows debugging before.

One thing I wonder though is if building via Visual Studio will make this work (sorry if you are already doing this and I'm not understanding):

And for building, I installed cmake from here and Visual Studio from here, making sure to select Desktop Development with C++ option (below):
image

Thoughts?

And sorry about the delays here.

Thanks,
Brandon

from depthai-core.

themarpe avatar themarpe commented on September 25, 2024

Hi @wureka - sorry for the delay.
The issue seems to boil down to files of XLink dependency not being saved as UTF-8 (while including non ascii characters).

For a quick fix from your side, follow this:
https://stackoverflow.com/a/37871934

Otherwise I'm in process of modifying these files, so this won't cause an issue in the future.

from depthai-core.

wureka avatar wureka commented on September 25, 2024

@Luxonis-Brandon

One thing I wonder though is if building via Visual Studio will make this work (sorry if you are already doing this and I'm not understanding):

Well, I am not familiar with C++ stuff. But based on my experience for building opencv/openvino from source code, before start building in visual studio, I should use cmake to generate some required files, right? Based on the building instructions in README.md in depthai-core, it askes the same thing.

And I just followed the building instructions in README.md in depthai-core, ane below errors appeared:

PS E:\cxx-projects\depthai-core\build> cmake ..
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The CXX compiler identification is MSVC 19.28.29335.0
-- The C compiler identification is MSVC 19.28.29335.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/App (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/App (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: C:/.hunter
-- [hunter] [ Hunter-ID: 062a19a | Toolchain-ID: 09f7782 | Config-ID: 2a6efb3 ]
-- [hunter] NLOHMANN_JSON_ROOT: C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Install (ver.: 3.8.0)
CMake Warning (dev) at CMakeLists.txt:29 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable nlohmann_json_ROOT is set to:

    C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Install

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found nlohmann_json: C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Install/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.8.0")
-- [hunter] NLOHMANN_JSON_SCHEMA_VALIDATOR_ROOT: C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Install (ver.: 2.1.1)
CMake Warning (dev) at CMakeLists.txt:33 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable nlohmann_json_schema_validator_ROOT is set to:

    C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Install

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- [hunter] XLINK_ROOT: C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Install (ver.: luxonis-2020.2)
-- [hunter] Building XLink
loading initial cache file C:/.hunter/_Base/062a19a/09f7782/2a6efb3/cache.cmake
loading initial cache file C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Build/XLink/args.cmake
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.28.29335.0
-- The CXX compiler identification is MSVC 19.28.29335.0
-- Check for working C compiler: D:/App (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: D:/App (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/.hunter/_bin/3Y5R7/XLink
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  Creating directories for 'XLink-Release'
  Performing download step (download, verify and extract) for 'XLink-Release'
  -- verifying file...
         file='C:/.hunter/_Base/Download/XLink/luxonis-2020.2/479414f/c944814af18f567d2d0ee54cb2e1a1dc6ee90d76.zip'
  -- File already exists and hash match (skip download):
    file='C:/.hunter/_Base/Download/XLink/luxonis-2020.2/479414f/c944814af18f567d2d0ee54cb2e1a1dc6ee90d76.zip'
    SHA1='479414f7b9cfa55080c12d9ec1782bc9820d9521'
  -- extracting...
       src='C:/.hunter/_Base/Download/XLink/luxonis-2020.2/479414f/c944814af18f567d2d0ee54cb2e1a1dc6ee90d76.zip'
       dst='C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Build/XLink/Source'
  -- extracting... [tar xfz]
  -- extracting... [analysis]
  -- extracting... [rename]
  -- extracting... [clean up]
  -- extracting... done
  No update step for 'XLink-Release'
  No patch step for 'XLink-Release'
  Performing configure step for 'XLink-Release'
  loading initial cache file C:/.hunter/_Base/062a19a/09f7782/2a6efb3/cache.cmake
  loading initial cache file C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Build/XLink/args.cmake
  -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
  -- The C compiler identification is MSVC 19.28.29335.0
  -- The CXX compiler identification is MSVC 19.28.29335.0
  -- Check for working C compiler: D:/App (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: D:/App (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/.hunter/_bin/3Y5R7/XLink/XLink-Release-prefix/src/XLink-Release-build
  Performing build step for 'XLink-Release'
  Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.

    Checking Build System
    Building Custom Rule C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Build/XLink/Source/CMakeLists.txt
    PlatformData.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\PlatformData.c(350,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\PlatformData.c(371,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    PlatformDeviceControl.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\PlatformDeviceControl.c(245,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    PlatformDeviceSearch.c
    pcie_host.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\protocols\pcie_host.c(161,45): warning C4267: 'function': conversion from 'size_t' to 'DWORD', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\protocols\pcie_host.c(238,44): warning C4267: 'function': conversion from 'size_t' to 'DWORD', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\protocols\pcie_host.c(586,45): warning C4267: 'function': conversion from 'size_t' to 'DWORD', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    usb_boot.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\protocols\usb_boot.c(556,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    XLinkData.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\include\XLink.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    XLinkDeprecated.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\include\XLink.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    XLinkDevice.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\include\XLink.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    XLinkDispatcher.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\src\XLinkDispatcher.c(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\include\XLink.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\src\XLinkDispatcher.c(1060,1): fatal error C1070: mismatched #if/#endif pair in file 'C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\src\XLinkDispatcher.c' [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    XLinkDispatcherImpl.c
    XLinkPrivateDefines.c
    XLinkPrivateFields.c
    XLinkStream.c
    XLinkStringUtils.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\shared\src\XLinkStringUtils.c(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    win_pthread.c
C:\.hunter\_Base\062a19a\09f7782\2a6efb3\Build\XLink\Source\pc\Win\src\win_pthread.c(113,38): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release-prefix\src\XLink-Release-build\XLink.vcxproj] [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]
    win_semaphore.c
    win_time.c
    win_usb.c
    Generating Code...
D:\App (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(238,5): error MSB8066: Custom build for 'C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-mkdir.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-download.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-update.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-patch.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-configure.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-build.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e62d835a4d4fb8e3b3804a9f1de6a247\XLink-Release-install.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\e8e6e69860de9fc45c3640026ced2aa9\XLink-Release-complete.rule;C:\.hunter\_bin\3Y5R7\XLink\CMakeFiles\8d96538a700fdb96f8753aa3b9d8a4fb\XLink-Release.rule' exited with code 1. [C:\.hunter\_bin\3Y5R7\XLink\XLink-Release.vcxproj]

[hunter ** FATAL ERROR **] Build step failed (dir: C:/.hunter/_Base/062a19a/09f7782/2a6efb3/Build/XLink
[hunter ** FATAL ERROR **] [Directory:E:/cxx-projects/depthai-core]

------------------------------ ERROR -----------------------------
    https://hunter.readthedocs.io/en/latest/reference/errors/error.external.build.failed.html
------------------------------------------------------------------

CMake Error at C:/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
  C:/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
  C:/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_download.cmake:623 (hunter_fatal_error)
  C:/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_add_package.cmake:53 (hunter_download)
  CMakeLists.txt:36 (hunter_add_package)


-- Configuring incomplete, errors occurred!
See also "E:/cxx-projects/depthai-core/build/CMakeFiles/CMakeOutput.log".
PS E:\cxx-projects\depthai-core\build>

CMakeOutput.log =========================

PS E:\cxx-projects\depthai-core\build\CMakeFiles> type .\CMakeOutput.log
The system is: Windows - 10.0.19042 - AMD64
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:
Build flags:
Id flags:

The output was:
0
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2021-01-21 10:13:30.
Project "E:\cxx-projects\depthai-core\build\CMakeFiles\3.19.2\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\App (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  D:\App (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
  CompilerIdCXX.vcxproj -> E:\cxx-projects\depthai-core\build\CMakeFiles\3.19.2\CompilerIdCXX\CompilerIdCXX.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=D:\App (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "E:\cxx-projects\depthai-core\build\CMakeFiles\3.19.2\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.91


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "E:/cxx-projects/depthai-core/build/CMakeFiles/3.19.2/CompilerIdCXX/CompilerIdCXX.exe"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:
Build flags:
Id flags:

The output was:
0
Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2021-01-21 10:13:31.
Project "E:\cxx-projects\depthai-core\build\CMakeFiles\3.19.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\App (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  D:\App (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
  CompilerIdC.vcxproj -> E:\cxx-projects\depthai-core\build\CMakeFiles\3.19.2\CompilerIdC\CompilerIdC.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=D:\App (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "E:\cxx-projects\depthai-core\build\CMakeFiles\3.19.2\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.72


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "E:/cxx-projects/depthai-core/build/CMakeFiles/3.19.2/CompilerIdC/CompilerIdC.exe"

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: E:/cxx-projects/depthai-core/build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/App (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_9c1b2.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29335 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  CMakeCXXCompilerABI.cpp

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_9c1b2.dir\Debug\\" /Fd"cmTC_9c1b2.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "D:\App\CMake\share\cmake-3.19\Modules\CMakeCXXCompilerABI.cpp"

  cmTC_9c1b2.vcxproj -> E:\cxx-projects\depthai-core\build\CMakeFiles\CMakeTmp\Debug\cmTC_9c1b2.exe




Detecting C compiler ABI info compiled with the following output:
Change Dir: E:/cxx-projects/depthai-core/build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/App (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_f428d.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29335 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  CMakeCCompilerABI.c

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_f428d.dir\Debug\\" /Fd"cmTC_f428d.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "D:\App\CMake\share\cmake-3.19\Modules\CMakeCCompilerABI.c"

  cmTC_f428d.vcxproj -> E:\cxx-projects\depthai-core\build\CMakeFiles\CMakeTmp\Debug\cmTC_f428d.exe

PS E:\cxx-projects\depthai-core\build\CMakeFiles>

from depthai-core.

themarpe avatar themarpe commented on September 25, 2024

Fixed in 2bf5ebf
Closing.

from depthai-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.