OpenViBE Build Error

Post Reply
Mattias
Posts: 4
Joined: Tue Aug 17, 2021 10:30 am

OpenViBE Build Error

Post by Mattias »

Hello,
I have problems building OpenViBE from the sources on the downloadpage.

I try to build on a win64 machine with vs2013 installed, as mentioned in the build instructions.
Is it also possible to use newer versions of VS for building openvibe3.1 or will it still only work with vs2013?

I was able to succesfully install the dependencies, but when I try to execute the build.cmd I get loads of errors.
Most of them say that some openvibe modules could not be found, like:

Code: Select all

FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/tools/CMakeLists.txt:19 (INCLUDE)
What do I have to get openvibe built properly?

Complete Build Message:

Code: Select all

C:\openvibe>build.cmd --platform-target x64
Building sdk
Build type is set to: Release.
Visual Studio 2017 detection skipped as requested
Visual Studio 2015 detection skipped as requested
VStools: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\, VSCMake: Visual Studio 12 2013.
Found Visual Studio 12 2013 tools: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\../../VC/vcvarsall.bat x86_amd64
Compiler is: Visual Studio 12 2013
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
  The OLD behavior for policy CMP0043 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is MSVC 18.0.21005.1
-- The CXX compiler identification is MSVC 18.0.21005.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.32.0.windows.2")
CMake Warning at cmake-modules/Utilities.cmake:38 (message):
  No tags found, set version to 0.0.0
Call Stack (most recent call first):
  CMakeLists.txt:13 (set_version)


-- BUILDING VERSION OpenViBE SDK: 0.0.0.0 Branch : ~
-- Appending compilation flags...
-- Found OpenMP_C: -openmp (found version "2.0")
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- Compilation flags used at source root:
--   COMPILE_DEFINITIONS = 'OV_CONFIG_SUBDIR="openvibe-3.1.0";OV_PROJECT_NAME="OpenVIBE";OV_VERSION_MAJOR="0";OV_VERSION_MINOR="0";OV_VERSION_PATCH="0";OV_CMAKE_PATH_ROOT="C:/openvibe/dist/sdk-Release-x64";OV_CMAKE_PATH_BIN="C:/openvibe/dist/sdk-Release-x64/bin";OV_CMAKE_PATH_LIB="C:/openvibe/dist/sdk-Release-x64/lib";OV_CMAKE_PATH_DATA="C:/openvibe/dist/sdk-Release-x64/share/openvibe"'
--   CMAKE_CXX_FLAGS = '/DWIN32 /D_WINDOWS /W3 /GR /EHsc -openmp /wd4355 /MP '
--   CMAKE_CXX_FLAGS_RELEASE = '/MD /O2 /Ob2 /DNDEBUG'
--   CMAKE_CXX_FLAGS_DEBUG = '/MDd /Zi /Ob0 /Od /RTC1'
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  kernel/CMakeLists.txt:19 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  kernel/CMakeLists.txt:21 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  kernel/CMakeLists.txt:22 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  kernel/CMakeLists.txt:23 (INCLUDE)


-- CUSTOM DOCUMENTATION ENABLED FOR ebml
CMake Warning at cmake-modules/FindOpenViBEModuleSocket.cmake:47 (MESSAGE):
    FAILED to find OpenViBE module Socket...
Call Stack (most recent call first):
  modules/communication/CMakeLists.txt:27 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSocket.cmake:47 (MESSAGE):
    FAILED to find OpenViBE module Socket...
Call Stack (most recent call first):
  modules/communication/CMakeLists.txt:49 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  modules/csv/CMakeLists.txt:32 (INCLUDE)


-- Project ebml has custom documentation
--   Found ws2_32...
--   Found winmm...
--   Found dbghelp...
CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  modules/xml/CMakeLists.txt:31 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  toolkit/CMakeLists.txt:57 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  toolkit/CMakeLists.txt:59 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  toolkit/CMakeLists.txt:60 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  toolkit/CMakeLists.txt:61 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/classification/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/classification/CMakeLists.txt:17 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/classification/CMakeLists.txt:19 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/classification/CMakeLists.txt:20 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  plugins/processing/classification/CMakeLists.txt:21 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  plugins/processing/classification/CMakeLists.txt:22 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  plugins/processing/classification/CMakeLists.txt:23 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/data-generation/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/data-generation/CMakeLists.txt:18 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/data-generation/CMakeLists.txt:20 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/data-generation/CMakeLists.txt:21 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  plugins/processing/data-generation/CMakeLists.txt:22 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/feature-extraction/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/feature-extraction/CMakeLists.txt:17 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/feature-extraction/CMakeLists.txt:19 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/feature-extraction/CMakeLists.txt:20 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/file-io/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/file-io/CMakeLists.txt:23 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/file-io/CMakeLists.txt:25 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleCSV.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module CSV...
Call Stack (most recent call first):
  plugins/processing/file-io/CMakeLists.txt:26 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/file-io/CMakeLists.txt:27 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  plugins/processing/file-io/CMakeLists.txt:28 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  plugins/processing/file-io/CMakeLists.txt:29 (INCLUDE)


-- Found XercesC: optimized;C:/openvibe/dependencies_x64/xerces-c/lib/xerces-c_3.lib;debug;C:/openvibe/dependencies_x64/xerces-c/lib/xerces-c_3D.lib (found version "3.1.3")
-- Documentation files found in C:/openvibe/sdk/plugins/processing/signal-processing/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/signal-processing/CMakeLists.txt:20 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/signal-processing/CMakeLists.txt:22 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/signal-processing/CMakeLists.txt:23 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  plugins/processing/signal-processing/CMakeLists.txt:24 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  plugins/processing/signal-processing/CMakeLists.txt:25 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/stimulation/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/stimulation/CMakeLists.txt:17 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/stimulation/CMakeLists.txt:19 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/stimulation/CMakeLists.txt:20 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  plugins/processing/stimulation/CMakeLists.txt:21 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  plugins/processing/stimulation/CMakeLists.txt:22 (INCLUDE)


--   Found winmm...
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/stream-codecs/CMakeLists.txt:18 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/stream-codecs/CMakeLists.txt:20 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/stream-codecs/CMakeLists.txt:21 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/streaming/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/streaming/CMakeLists.txt:18 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/streaming/CMakeLists.txt:20 (INCLUDE)


-- Documentation files found in C:/openvibe/sdk/plugins/processing/tools/doc
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  plugins/processing/tools/CMakeLists.txt:17 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  plugins/processing/tools/CMakeLists.txt:19 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  plugins/processing/tools/CMakeLists.txt:20 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  plugins/processing/tools/CMakeLists.txt:21 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  plugins/processing/tools/CMakeLists.txt:22 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSocket.cmake:47 (MESSAGE):
    FAILED to find OpenViBE module Socket...
Call Stack (most recent call first):
  plugins/processing/tools/CMakeLists.txt:23 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleCommunication.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module Communication...
Call Stack (most recent call first):
  plugins/processing/tools/CMakeLists.txt:24 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  applications/developer-tools/plugin-inspector/CMakeLists.txt:28 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  applications/developer-tools/plugin-inspector/CMakeLists.txt:30 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  applications/developer-tools/plugin-inspector/CMakeLists.txt:31 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  applications/developer-tools/plugin-inspector/CMakeLists.txt:32 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  applications/developer-tools/scenario-player/CMakeLists.txt:45 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  applications/developer-tools/scenario-player/CMakeLists.txt:47 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  applications/developer-tools/scenario-player/CMakeLists.txt:48 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  applications/developer-tools/scenario-player/CMakeLists.txt:49 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:8 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:10 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSocket.cmake:47 (MESSAGE):
    FAILED to find OpenViBE module Socket...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:11 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleCommunication.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module Communication...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:12 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:27 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSocket.cmake:47 (MESSAGE):
    FAILED to find OpenViBE module Socket...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:29 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleCommunication.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module Communication...
Call Stack (most recent call first):
  applications/examples/external-processing/CMakeLists.txt:30 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  applications/examples/external-processing/CMakeLists.txt:31 (INCLUDE)


-- Found GTest: C:/openvibe/dependencies_x64/gtest/lib/gtest.lib
CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/unit-toolkit/CMakeLists.txt:54 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  unit-test/unit-toolkit/CMakeLists.txt:56 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/ov-base/CMakeLists.txt:12 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-csv/CMakeLists.txt:57 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleCSV.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module CSV...
Call Stack (most recent call first):
  unit-test/openvibe-module-csv/CMakeLists.txt:58 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-fs/CMakeLists.txt:26 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  unit-test/openvibe-module-fs/CMakeLists.txt:28 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-fs/CMakeLists.txt:75 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  unit-test/openvibe-module-fs/CMakeLists.txt:77 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-ebml/CMakeLists.txt:56 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleEBML.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module EBML...
Call Stack (most recent call first):
  unit-test/openvibe-module-ebml/CMakeLists.txt:58 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-xml/CMakeLists.txt:25 (INCLUDE)
  unit-test/openvibe-module-xml/CMakeLists.txt:43 (SETUP_TEST)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  unit-test/openvibe-module-xml/CMakeLists.txt:27 (INCLUDE)
  unit-test/openvibe-module-xml/CMakeLists.txt:43 (SETUP_TEST)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  unit-test/openvibe-module-xml/CMakeLists.txt:28 (INCLUDE)
  unit-test/openvibe-module-xml/CMakeLists.txt:43 (SETUP_TEST)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-xml/CMakeLists.txt:25 (INCLUDE)
  unit-test/openvibe-module-xml/CMakeLists.txt:48 (SETUP_TEST)


CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  unit-test/openvibe-module-xml/CMakeLists.txt:27 (INCLUDE)
  unit-test/openvibe-module-xml/CMakeLists.txt:48 (SETUP_TEST)


CMake Warning at cmake-modules/FindOpenViBEModuleFS.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module FS...
Call Stack (most recent call first):
  unit-test/openvibe-module-xml/CMakeLists.txt:28 (INCLUDE)
  unit-test/openvibe-module-xml/CMakeLists.txt:48 (SETUP_TEST)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-socket/CMakeLists.txt:57 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSocket.cmake:47 (MESSAGE):
    FAILED to find OpenViBE module Socket...
Call Stack (most recent call first):
  unit-test/openvibe-module-socket/CMakeLists.txt:59 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-module-system/CMakeLists.txt:56 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  unit-test/openvibe-module-system/CMakeLists.txt:58 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-toolkit/CMakeLists.txt:59 (INCLUDE)


FATAL  FAILED to find openvibe-toolkit...
CMake Warning at cmake-modules/FindOpenViBEModuleXML.cmake:29 (MESSAGE):
    FAILED to find OpenViBE module XML...
Call Stack (most recent call first):
  cmake-modules/FindOpenViBEToolkit.cmake:38 (INCLUDE)
  unit-test/openvibe-toolkit/CMakeLists.txt:61 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBEModuleSystem.cmake:28 (MESSAGE):
    FAILED to find OpenViBE module System...
Call Stack (most recent call first):
  unit-test/openvibe-toolkit/CMakeLists.txt:62 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-kernel/CMakeLists.txt:55 (INCLUDE)


CMake Warning at cmake-modules/FindOpenViBE.cmake:30 (MESSAGE):
    FAILED to find OpenViBE...
Call Stack (most recent call first):
  unit-test/openvibe-plugin-stream-codecs/CMakeLists.txt:28 (INCLUDE)
  unit-test/openvibe-plugin-stream-codecs/CMakeLists.txt:34 (SETUP_TEST)


-- Found Python3: C:/Users/Tobi_/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.6") found components: Interpreter Development Development.Module Development.Embed
-- Found Python3 at C:/Users/Tobi_/AppData/Local/Programs/Python/Python39/python.exe
CMake Error: File C:/openvibe/sdk/validation-test/data/openvibe/openvibe.conf.in does not exist.
CMake Error at validation-test/CMakeLists.txt:105 (CONFIGURE_FILE):
  CONFIGURE_FILE Problem configuring file


-- Configuring incomplete, errors occurred!
See also "C:/openvibe/build/sdk-Release-x64/CMakeFiles/CMakeOutput.log".
See also "C:/openvibe/build/sdk-Release-x64/CMakeFiles/CMakeError.log".
An error occured during building process
""
Error while building "Release SDK"

C:\openvibe>
Thanks in advance for your help

Mattias

Thibaut
Posts: 264
Joined: Wed Oct 31, 2018 9:14 am

Re: OpenViBE Build Error

Post by Thibaut »

HI,
Ty to have push all the log. Often we must ask this.^^
But I don't understand your error, Have you try to build one time beofore install dependencies ? Sometimes this blocks the build. We have to delete the dist and build folders. In case of delete this folders and rerun the build.
For latest VIsual studio it's in todo list, the build method have been reformated since few days. Now VS change a lot of things since 2013. It's not easy to switch automatcly. We work on that
PS : Since OV 3.0.0 build platform x64 is the default behavior, it's useless to precise this, the install dependency too (you must have a folder dependencies_x64 not the folder dependencies)
PS Bis : If you build from source and are used to git. You can get directly the git repository. (For reminder you must initialize the submodules ). I recommend to use it becasue master branch (on all repository/submodules) is the latest release version and developp branch (on all repository/submodules) is the current dev version with non release updates/bug fix... in this branch the build method is completly reformat you must remove dist/build folder and follow instruciton it's simpliest and faster.
Thibaut

Mattias
Posts: 4
Joined: Tue Aug 17, 2021 10:30 am

Re: OpenViBE Build Error

Post by Mattias »

Building without installing dependencies first didn't work.
Now I got the latest sources from git but as I used build.cmd it now gives me an internal compiler error while building the ov-designer.

Code: Select all

Building designer
Build type is set to: Release.
Visual Studio 2017 detection skipped as requested
Visual Studio 2015 detection skipped as requested
Found Visual Studio 12 2013 tools: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\../../VC/vcvarsall.bat x86_amd64
SDK is located at C:\openvibe\openvibe31\\dist\sdk-Release-x64
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0043 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is MSVC 18.0.21005.1
-- The CXX compiler identification is MSVC 18.0.21005.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.32.0.windows.2")
-- BUILDING VERSION Designer: 2.0.99.0 Branch : HEAD~82a4aff. Based on OpenViBE SDK: 2.0.99.0
-- Building OpenViBE Designer [openvibe] Version : 2.0.99 HEAD~82a4aff
-- Found PkgConfig: C:/openvibe/openvibe31/dependencies_x64/gtk/bin/pkg-config.exe (found version "0.28")
-- Checking for modules 'gtk+-win32-2.0;gthread-2.0'
--   Found gtk+-win32-2.0, version 2.24.31
--   Found gthread-2.0, version 2.52.2
-- Now building openvibe-plugins-designer-advanced-visualization 2.0.99 (HEAD~82a4aff)
-- Now building openvibe-plugins-designer-simple-visualization 2.0.99 (HEAD~82a4aff)
-- Now building mensia-advanced-visualization 2.0.99 (HEAD~82a4aff)
-- Now building openvibe-lib-adv-viz-test-renderer 2.0.99 (HEAD/82a4aff)
-- Now building openvibe-visualization-toolkit 2.0.99 (HEAD~82a4aff)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/openvibe/openvibe31/build/designer-Release-x64
[12/89] Building RC object plugins\visualization\ovp-advan...es\openvibe-plugins-designer-advanced-visualization.rc.res
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17336
Copyright (C) Microsoft Corporation.  All rights reserved.

[24/89] Building CXX object applications\platform\designer...akeFiles\openvibe-designer.dir\src\ovdCApplication.cpp.obj
C:\openvibe\openvibe31\designer\applications\platform\designer\src\ovdCApplication.cpp(1263) : warning C4267: 'argument' : conversion from 'size_t' to 'gint', possible loss of data
C:\openvibe\openvibe31\designer\applications\platform\designer\src\ovdCApplication.cpp(2889) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
[27/89] Building CXX object plugins\visualization\simple-v...ins-designer-simple-visualization.dir\src\ovp_main.cpp.obj
FAILED: C:\PROGRA~2\MICROS~1.0\VC\bin\X86_AM~1\cl.exe  /nologo /TP -DBRAND_NAME=\"OpenViBE\" -DDESIGNER_NAME=\"Designer\" -DEBML_Shared -DFS_Shared -DOVTK_Shared -DOVVIZ_Shared -DOV_CMAKE_PATH_BIN=\"C:/openvibe/openvibe31/dist/designer-Release-x64/bin\" -DOV_CMAKE_PATH_DATA=\"C:/openvibe/openvibe31/dist/designer-Release-x64/share/openvibe\" -DOV_CMAKE_PATH_LIB=\"C:/openvibe/openvibe31/dist/designer-Release-x64/lib\" -DOV_CMAKE_PATH_ROOT=\"C:/openvibe/openvibe31/dist/designer-Release-x64\" -DOV_CONFIG_SUBDIR=\"openvibe-3.1.0\" -DOV_DISPLAY_ERROR_LOCATION -DOV_PROJECT_NAME=\"openvibe\" -DOV_Shared -DSystem_Shared -DTARGET_ARCHITECTURE_x64 -DTARGET_BUILDTYPE_Release -DTARGET_COMPILER_VisualStudio -DTARGET_HAS_EBML -DTARGET_HAS_FS -DTARGET_HAS_OpenViBE -DTARGET_HAS_OpenViBEToolkit -DTARGET_HAS_OpenViBEVisualizationToolkit -DTARGET_HAS_System -DTARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines -DTARGET_HAS_XML -DTARGET_OS_Windows -DXML_Shared -D_CRT_SECURE_NO_DEPRECATE -D_USE_MATH_DEFINES -Dopenvibe_plugins_designer_simple_visualization_EXPORTS -IC:\openvibe\openvibe31\dist\sdk-Release-x64\include -IC:\openvibe\openvibe31\designer\visualization-toolkit\include -IC:\openvibe\openvibe31\dependencies_x64\gtk\include\gtk-2.0 -IC:\openvibe\openvibe31\dependencies_x64\gtk\lib\gtk-2.0\include -IC:\openvibe\openvibe31\dependencies_x64\gtk\include\pango-1.0 -IC:\openvibe\openvibe31\dependencies_x64\gtk\include\atk-1.0 -IC:\openvibe\openvibe31\dependencies_x64\gtk\include\cairo -IC:\openvibe\openvibe31\dependencies_x64\gtk\include\gdk-pixbuf-2.0 -IC:\openvibe\openvibe31\dependencies_x64\gtk\include\glib-2.0 -IC:\openvibe\openvibe31\dependencies_x64\gtk\lib\glib-2.0\include -IC:\openvibe\openvibe31\dependencies_x64\gtk\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd4355 /MD /O2 /Ob2 /DNDEBUG   -DNOMINMAX -DBOOST_ALL_NO_LIB -DOVP_Exports -DOVP_Shared /showIncludes /Foplugins\visualization\simple-visualization\CMakeFiles\openvibe-plugins-designer-simple-visualization.dir\src\ovp_main.cpp.obj /Fdplugins\visualization\simple-visualization\CMakeFiles\openvibe-plugins-designer-simple-visualization.dir\ /FS -c C:\openvibe\openvibe31\designer\plugins\visualization\simple-visualization\src\ovp_main.cpp
c:\openvibe\openvibe31\designer\plugins\visualization\simple-visualization\src\algorithms/ovpCAlgorithmSphericalSplineInterpolation.h(46) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1325)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\PROGRA~2\MICROS~1.0\VC\bin\X86_AM~1\cl.exe.  You will be prompted to send an error report to Microsoft later.
INTERNAL COMPILER ERROR in 'C:\PROGRA~2\MICROS~1.0\VC\bin\X86_AM~1\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
[27/89] Building CXX object applications\platform\designer...\openvibe-designer.dir\src\ovdCCommentEditorDialog.cpp.obj
ninja: build stopped: subcommand failed.
An error occured during building process
""
Error while building "Release Designer"
Is there a known solution for this error while building OV?

Thibaut
Posts: 264
Joined: Wed Oct 31, 2018 9:14 am

Re: OpenViBE Build Error

Post by Thibaut »

Strange,
your vs2013 is the express or professionnal version ? Standard doesn't work..... Yes I know it's boring the exact good version to have...
PS : I misspoke, I wanted to say that if you had tried to build before doing the install dependencies it might not work. Not that you had to do it.^^

Mattias
Posts: 4
Joined: Tue Aug 17, 2021 10:30 am

Re: OpenViBE Build Error

Post by Mattias »

I use VS 2013 Express.

Thibaut
Posts: 264
Joined: Wed Oct 31, 2018 9:14 am

Re: OpenViBE Build Error

Post by Thibaut »

I have never had this error..... Try to delete build and dist dir, take meta branch developp last commit and next for each submodule sdk, extra, designer last commit of developp (in this order because meta reinit submodule branch). Now you have the new build system. Maybe it can works....
Thibaut

Thomas
Posts: 210
Joined: Wed Mar 04, 2020 3:38 pm

Re: OpenViBE Build Error

Post by Thomas »

A compiler error can apparently happen around initialisers.

Until we update this in the source code, in the file c:\openvibe\openvibe31\designer\plugins\visualization\simple-visualization\src\algorithms/ovpCAlgorithmSphericalSplineInterpolation.h, line 46 and 47:

Replace

Code: Select all

std::array<double, 2004> m_scd{};
std::array<double, 2004> m_pot{};
To

Code: Select all

std::array<double, 2004> m_scd;
std::array<double, 2004> m_pot;
Let us know if this odes the trick.

Cheers,
Thomas

Mattias
Posts: 4
Joined: Tue Aug 17, 2021 10:30 am

Re: OpenViBE Build Error

Post by Mattias »

I switched to VS2013 Ultimate and was able to build OpenVibe, but I'm missing some of the drivers in the Acquisition Server (gUSBAmp, gNautilus).
I found this in the opening section of extra build:

Code: Select all

 FAILED to find gtec gMobiLabPlusAPI + lib + dll (optional driver)
--   FAILED to find gtec gUSBampCAPI (optional driver)
--   FAILED to find Mitsar device dll (optional driver)
--   FAILED to find gtec gNEEDaccessAPI (optional driver)
So do I need to get these additional dependencies to use gUSBAmp and gNautilus?

Thibaut
Posts: 264
Joined: Wed Oct 31, 2018 9:14 am

Re: OpenViBE Build Error

Post by Thibaut »

HI,
For optionnal drivers, you need to install drivers and sdk from your installation disc on your cap box. actually we can't share automaticly the drivers needed files for this cap.
Thibaut

Post Reply