Problem compiling OpenViBE with Visual Studio 2008

LéoVarnet
Posts: 9
Joined: Mon Jul 05, 2010 12:32 pm

Problem compiling OpenViBE with Visual Studio 2008

Post by LéoVarnet »

Hi !
Since I have uninstalled Visual Sudio Express 2008 and replaced it with Visual Studio 2008, OpenViBE's compilation script doesn't work anymore. When I launch win32-build.cmd the command line shell displays :

Code: Select all

Setting environment for using Microsoft Visual Studio 2008 x86 tools.
_______________________________________________________________________
Configuring and building openvibe\trunc ...

-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Using FREE VC TOOLS, NO DEBUG available
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe -- broken
CMake Error at C:/WORK/CodeSourceOpenViBE/OV_SVN/dependencies/cmake/cmake-2.6.2-win32-x86/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE): The C compiler "C:/Program Files/Microsoft SDKs/Windows/v6.0A/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/WORK/CodeSourceOpenViBE/OV_SVN/local-tmp/openvibe/trunc/CMakeFiles/CMakeTmp

  Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast"

        "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f
  CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L
  CMakeFiles\cmTryCompileExec.dir\build

        C:\WORK\CodeSourceOpenViBE\OV_SVN\dependencies\cmake\cmake-2.6.2-win32-x86\bin\cmake.exe
  -E cmake_progress_report
  C:\WORK\CodeSourceOpenViBE\OV_SVN\local-tmp\openvibe\trunc\CMakeFiles\CMakeTmp
\CMakeFiles
  1

  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj

        C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe
  @C:\DOCUME~1\Marco\LOCALS~1\Temp\nm394.tmp

  testCCompiler.c

  Linking C executable cmTryCompileExec.exe

        C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe /nologo
  @CMakeFiles\cmTryCompileExec.dir\objects.rsp
  @C:\DOCUME~1\Marco\LOCALS~1\Temp\nm395.tmp

  CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj : fatal error LNK1112: type d'ordinateur module 'X86' en conflit avec le type d'ordinateur cible 'x64'

  NMAKE : fatal error U1077:
  'C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe'á: code retour '0x2'

  Stop.

  NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"'á: code retour '0x2'

  Stop.

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (PROJECT)

-- Configuring incomplete, errors occurred!

An error occured during building process

Appuyez sur une touche pour continuer...
Furthermore, the build command of an older version of OpenViBE (openvibe-0.6.0-svn2044) still works...
I'm not familiar with compilation issues, so if you have any clue...


Thanks in advance !
Léo

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Dear LéoVarnet,

thank you for considering Visual Studio 2008 instead of 2010.

I see one message related to X86 / x64 mess up with CMake that could help us but I am not sure why the openvibe-0.6.0-svn2044 would work. So can you please post the output of the openvibe-0.6.0-svn2044 build as well ? Did you -by chance- upgrade CMake in this directory ?

Yann

LéoVarnet
Posts: 9
Joined: Mon Jul 05, 2010 12:32 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by LéoVarnet »

Here is the beginning of the output with the openvibe-0.6.0-svn2044 build command (I didn't change anything in the CMake) :

Code: Select all

Setting environment for using Microsoft Visual Studio 2008 x86 tools.
_______________________________________________________________________
Configuring and building openvibe\trunc ...
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/local-tmp/openvibe-modules/socket/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Socket-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Socket-dynamic
Install the project...
-- Install configuration: "Release"
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/lib/OpenViBE-module-Socket-dynamic.lib
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/bin/OpenViBE-module-Socket-dynamic.dll
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/include
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/include/socket
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/include/socket/defines.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/include/socket/IConnection.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/include/socket/IConnectionClient.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/socket/trunc/include/socket/IConnectionServer.h

_______________________________________________________________________________

Configuring and building openvibe-modules\system\trunc ...

-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/local-tmp/openvibe-modules/system/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-System-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-System-dynamic
Install the project...
-- Install configuration: "Release"
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/bin/OpenViBE-module-System-dynamic.dll
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include/system
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include/system/CChrono.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include/system/defines.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include/system/Math.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include/system/Memory.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/include/system/Time.h

_______________________________________________________________________________

Configuring and building openvibe-modules\stream\trunc ...

--   Found OpenViBE module System...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/local-tmp/openvibe-modules/stream/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Stream-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Stream-dynamic
Install the project...
-- Install configuration: "Release"
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/lib/OpenViBE-module-Stream-dynamic.lib
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/bin/OpenViBE-module-Stream-dynamic.dll
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include/stream
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include/stream/defines.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include/stream/IInputStream.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include/stream/IInputStreamHelper.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include/stream/IOutputStream.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/stream/trunc/include/stream/IOutputStreamHelper.h

_______________________________________________________________________________

Configuring and building openvibe-modules\xml\trunc ...

--   Found expat...
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/local-tmp/openvibe-modules/xml/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-XML-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-XML-dynamic
Install the project...
-- Install configuration: "Release"
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/lib/OpenViBE-module-XML-dynamic.lib
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/bin/OpenViBE-module-XML-dynamic.dll
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include/xml
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include/xml/defines.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include/xml/IReader.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include/xml/IWriter.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include/xml/TReaderCallbackProxy.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/include/xml/TWriterCallbackProxy.h

_______________________________________________________________________________

Configuring and building openvibe-modules\automaton\trunc ...

--   Found OpenViBE module XML...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/lib/OpenViBE-module-XML-dynamic.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-modules/automaton/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Automaton-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Automaton-dynamic
Install the project...
-- Install configuration: "Release"
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/lib/OpenViBE-module-Automaton-dynamic.lib
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/bin/OpenViBE-module-Automaton-dynamic.dll
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/CIdentifier.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/defines.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/IAutomatonContext.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/IAutomatonController.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/INode.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/INodeFactory.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/IXMLAutomatonReader.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/IXMLNodeReader.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/IXMLNodeReaderFactory.h
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/node
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/automaton/trunc/include/automaton/XMLNodeReader

_______________________________________________________________________________

Configuring and building openvibe-kernel-omk\trunc ...

--   Found OpenViBE...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe/trunc/lib/OpenViBE-dynamic.lib
--   Found OpenViBE module FS...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/fs/trunc/lib/OpenViBE-module-FS-dynamic.lib
--   Found OpenViBE module System...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
--   Found OpenViBE module XML...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-modules/xml/trunc/lib/OpenViBE-module-XML-dynamic.lib
--   Found glade...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/glade-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/gtk-win32-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/xml2.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/gdk-win32-2.0.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib/Gdi32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib/Imm32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib/shell32.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib/Ole32.Lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/atk-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/gdk_pixbuf-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/pangowin32-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/pangocairo-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/cairo.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/pangoft2-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/fontconfig.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/freetype.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/z.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/pango-1.0.lib
--     [FAILED] Third party lib m
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/gobject-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/gmodule-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/iconv.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/gthread-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/gtk/lib/iconv.lib
--   Found boost...
--   Found Ogre3D/OIS...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/ogre-vc2008/lib/release/OgreMain.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/dependencies/ogre-vc2008/lib/release/OIS.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/local-tmp/openvibe-kernel-omk/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-kernel-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

Do you need the remainder of the output ? It's too long to be copied in the shell in one go...

Léo

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Dear LéoVarnet,

unfortunately, that did not help. Indeed, the log of the 0.6.0 build shows that everything is already built and consequently, it does nothing (CMake has its own cache)

Please clean the build using the win32-clean.cmd script, and then build it again using the win32-build.cmd script.
I expect that the same problem will occur on 0.6.0, so you may want to backup your pre-built 0.6.0 folder before cleaning everything.

Did you by chance move this 0.6.0 build from a computer to the one you currently use ? ;)

Kindest regards,
Yann

LéoVarnet
Posts: 9
Joined: Mon Jul 05, 2010 12:32 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by LéoVarnet »

Hi,

You were right, after cleaning the cache the 0.6.0 build command doesn't work anymore. However, unlike before with the recent release release of OpenViBE, the problem occurs during the building of the kernel. It ends with the following output :

Code: Select all

-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/xml/trunc/include/xml/TReaderCallbackProxy.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/xml/trunc/include/xml/TWriterCallbackProxy.h

_______________________________________________________________________________

Configuring and building openvibe-modules\automaton\trunc ...

--   Found OpenViBE module XML...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/xml/trunc/lib/OpenViBE-module-XML-dynamic.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-modules/automaton/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[  4%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/CIdentifier.obj
CIdentifier.cpp
[  9%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/IAutomatonContext.obj
IAutomatonContext.cpp
[ 14%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/IAutomatonController.obj
IAutomatonController.cpp
[ 19%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/INodeFactory.obj
INodeFactory.cpp
[ 23%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/IXMLAutomatonReader.obj
IXMLAutomatonReader.cpp
[ 28%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/IXMLNodeReaderFactory.obj
IXMLNodeReaderFactory.cpp
[ 33%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/node/CNodeAction.obj
CNodeAction.cpp
[ 38%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/node/CNodeLoop.obj
CNodeLoop.cpp
[ 42%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/node/CNodeRandomOrder.obj
CNodeRandomOrder.cpp
[ 47%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/node/CNodeSwitch.obj
CNodeSwitch.cpp
[ 52%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLActionSendEventNodeReader.obj
CXMLActionSendEventNodeReader.cpp
[ 57%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLActionWaitEventNodeReader.obj
CXMLActionWaitEventNodeReader.cpp
[ 61%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLActionWaitTimeNodeReader.obj
CXMLActionWaitTimeNodeReader.cpp
[ 66%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLLoopFiniteNodeReader.obj
CXMLLoopFiniteNodeReader.cpp
[ 71%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLLoopInfiniteNodeReader.obj
CXMLLoopInfiniteNodeReader.cpp
[ 76%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLLoopWaitEventNodeReader.obj
CXMLLoopWaitEventNodeReader.cpp
[ 80%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLParameterReader.obj
CXMLParameterReader.cpp
[ 85%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLRandomOrderNodeReader.obj
CXMLRandomOrderNodeReader.cpp
[ 90%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLSwitchEventNodeReader.obj
CXMLSwitchEventNodeReader.cpp
[ 95%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
automaton/XMLNodeReader/CXMLSwitchProbabilistNodeReader.obj
CXMLSwitchProbabilistNodeReader.cpp
[100%] Building CXX object CMakeFiles/OpenViBE-module-Automaton-dynamic.dir/src/
main.obj
main.cpp
Linking CXX shared library OpenViBE-module-Automaton-dynamic.dll
   CrÚation de la bibliothÞque OpenViBE-module-Automaton-dynamic.lib et de l'obj
et OpenViBE-module-Automaton-dynamic.exp
[100%] Built target OpenViBE-module-Automaton-dynamic

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

[100%] Built target OpenViBE-module-Automaton-dynamic
Install the project...
-- Install configuration: "Release"
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/lib/OpenViBE-module-Automaton-dynamic.lib
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/bin/OpenViBE-module-Automaton-dynamic.dll
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/CIdentifier.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/defines.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/IAutomatonContext.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/IAutomatonController.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/INode.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/INodeFactory.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/IXMLAutomatonReader.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/IXMLNodeReader.h
-- Up-to-date: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/IXMLNodeReaderFactory.h
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/node
-- Installing: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvibe-mo
dules/automaton/trunc/include/automaton/XMLNodeReader

_______________________________________________________________________________

Configuring and building openvibe-kernel-omk\trunc ...

--   Found OpenViBE...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be/trunc/lib/OpenViBE-dynamic.lib
--   Found OpenViBE module FS...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/fs/trunc/lib/OpenViBE-module-FS-dynamic.lib
--   Found OpenViBE module System...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
--   Found OpenViBE module XML...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/xml/trunc/lib/OpenViBE-module-XML-dynamic.lib
--   Found glade...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glade-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gtk-win32-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/xml2.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gdk-win32-2.0.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Gdi32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Imm32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/shell32.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Ole32.Lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/atk-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gdk_pixbuf-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangowin32-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangocairo-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/cairo.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangoft2-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/fontconfig.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/freetype.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/z.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pango-1.0.lib
--     [FAILED] Third party lib m
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gobject-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gmodule-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gthread-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
--   Found boost...
--   Found Ogre3D/OIS...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/ogre-vc2008/lib/release/OgreMain.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/ogre-vc2008/lib/release/OIS.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-kernel-omk/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

Scanning dependencies of target OpenViBE-kernel-dynamic
[  1%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/algorithm/ovkCAlgorithm.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCAlgorithm.cpp
[  3%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/algorithm/ovkCAlgorithmContext.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCAlgorithmContext.cpp
[  5%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/algorithm/ovkCAlgorithmManager.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCAlgorithmManager.cpp
[  7%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/algorithm/ovkCAlgorithmProto.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCAlgorithmProto.cpp
[  9%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/algorithm/ovkCAlgorithmProxy.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCAlgorithmProxy.cpp
[ 11%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/configuration/ovkCConfigurationManager.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCConfigurationManager.cpp
[ 13%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/log/ovkCLogListenerConsole.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCLogListenerConsole.cpp
[ 15%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/log/ovkCLogListenerFile.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCLogListenerFile.cpp
[ 17%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/log/ovkCLogListenerNull.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCLogListenerNull.cpp
[ 19%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/log/ovkCLogManager.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCLogManager.cpp
[ 21%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/ovkCKernelContext.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCKernelContext.cpp
[ 23%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/ovkCKernelObjectFactory.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCKernelObjectFactory.cpp
[ 25%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/ovkCObjectVisitorContext.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCObjectVisitorContext.cpp
[ 27%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/ovkCTypeManager.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCTypeManager.cpp
[ 29%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/ovkGtkOVCustom.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkGtkOVCustom.cpp
[ 31%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/player/ovkCBoxAlgorithmContext.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCBoxAlgorithmContext.cpp
[ 33%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/player/ovkCBuffer.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCBuffer.cpp
[ 35%] Building CXX object CMakeFiles/OpenViBE-kernel-dynamic.dir/src/openvibe-k
ernel/kernel/player/ovkCColorAnimator.obj
cl : Ligne de commande warning D9002 : option '-mms-bitfields' inconnue ignorée
ovkCColorAnimator.cpp
c:\work\codesourceopenvibe\openvibe-0.6.0-svn2044-src\dependencies\ogre-vc2008\i
nclude\ogre\OgreStdHeaders.h(48) : fatal error C1083: Impossible d'ouvrir le fic
hier include : 'unordered_map' : No such file or directory
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\Windows\v6.0A\bin\cl.exe' : cod
e retour '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : code retour '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : code retour '0x2'
Stop.

An error occured during building process

Appuyez sur une touche pour continuer...
Actually, this problem may come from the clean script that ends with an error:

Code: Select all

--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gthread-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-applications/designer/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
--   Found OpenViBE...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be/trunc/lib/OpenViBE-dynamic.lib
--   Found OpenViBE-toolkit...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-toolkit/trunc/lib/OpenViBE-toolkit-dynamic.lib
--   Found OpenViBE module EBML...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/ebml/trunc/lib/OpenViBE-module-EBML-dynamic.lib
--   Found OpenViBE module Socket...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/socket/trunc/lib/OpenViBE-module-Socket-dynamic.lib
--   Found OpenViBE module System...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
--   Found OpenViBE plugins global defines...
--   Found boost...
--   Found glade...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glade-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gtk-win32-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/xml2.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gdk-win32-2.0.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Gdi32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Imm32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/shell32.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Ole32.Lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/atk-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gdk_pixbuf-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangowin32-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangocairo-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/cairo.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangoft2-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/fontconfig.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/freetype.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/z.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pango-1.0.lib
--     [FAILED] Third party lib m
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gobject-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gmodule-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gthread-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
--   FAILED to find gUSBampCAPI
--   FAILED to find FirstAmp API - cmake looked in 'C:/Program Files/FaSDK' and
''
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-applications/acquisition-server/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
--   Found OpenViBE...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be/trunc/lib/OpenViBE-dynamic.lib
--   Found OpenViBE-toolkit...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-toolkit/trunc/lib/OpenViBE-toolkit-dynamic.lib
--   Found OpenViBE module EBML...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/ebml/trunc/lib/OpenViBE-module-EBML-dynamic.lib
--   Found OpenViBE module System...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
--   Found glade...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glade-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gtk-win32-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/xml2.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gdk-win32-2.0.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Gdi32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Imm32.Lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/shell32.lib
--     [  OK  ] Third party lib C:/Program Files/Microsoft SDKs/Windows/v6.0A/Li
b/Ole32.Lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/atk-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gdk_pixbuf-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangowin32-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangocairo-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/cairo.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pangoft2-1.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/fontconfig.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/freetype.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/z.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/pango-1.0.lib
--     [FAILED] Third party lib m
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gobject-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gmodule-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/gthread-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/glib-2.0.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/intl.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/gtk/lib/iconv.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-applications/plugin-inspector/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
--   Found OpenViBE module System...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/openvi
be-modules/system/trunc/lib/OpenViBE-module-System-dynamic.lib
--   Found boost...
--   Found Ogre3D/OIS...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/ogre-vc2008/lib/release/OgreMain.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/ogre-vc2008/lib/release/OIS.lib
--   Found CEGUI/OgreCEGUIRenderer...
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/cegui-vc2008/lib/CEGUIBase.lib
--     [  OK  ] Third party lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn204
4-src/dependencies/cegui-vc2008/lib/CEGUIOgreRenderer.lib
--   Found VRPN...
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/depend
encies/vrpn/lib/vrpn.lib
--     [  OK  ] lib C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-svn2044-src/depend
encies/vrpn/lib/quat.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-applications/vr-demo/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A/b
in/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft SDKs/Windows/v6.0A
/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/WORK/CodeSourceOpenViBE/openvibe-0.6.0-s
vn2044-src/local-tmp/openvibe-scenarios/trunc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. Tous droits réservés.

NMAKE : fatal error U1073: incapable d'obtenir 'clean'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : code retour '0x2'
Stop.

Clean process terminated successfully

Appuyez sur une touche pour continuer...
regards,
Léo
PS. I work on the same computer from the beginning.

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Dear LéoVarnet,

indeed, it seems you don't have the same problem with the 0.6.0 and 0.7.0 versions.

can you check and compare the version of CMake in each of the dependencies folders ?

Can you check if the win32-dependencies.cmd script points to the same Microsoft SDK folder ?

Thank you,
Yann

LéoVarnet
Posts: 9
Joined: Mon Jul 05, 2010 12:32 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by LéoVarnet »

Hello,
I've just checked for differences between the dependencies scripts but they are the same (the Microsoft SDK folder is C:\Program Files\Microsoft SDKs\Windows\v6.0A\). Furthermore, the contents of the CMake folders are identical, the version is cmake-2.6.2-win32-x86.

Regards,
Léo

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Dear Léo,

back from holidays, what's up with this issue ?
if you did not find any workaround, I suggest you join us on the IRC channel #openvibe on irc.freenode.net so we can discuss this live.

Yann

LéoVarnet
Posts: 9
Joined: Mon Jul 05, 2010 12:32 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by LéoVarnet »

Hi !
Finally I haven't solve the problem, but I've got around it by working on another computer.
Thank you anyway !
Léo

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Dear LéoVarnet,

thank you for your feedback.

Can you tell me if there was a difference between Windows versions and CPUs ?

Yann

LéoVarnet
Posts: 9
Joined: Mon Jul 05, 2010 12:32 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by LéoVarnet »

Actually, I work with Visual 2008 on this computer, so the problem is irrelevant now...

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Ok. Nice that you got this working.

Yann

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Interested readers should be aware tha you should now be able to compile latest SVN of OpenViBE with Visual Studio 2010 on Windows 7.

Please use a fresh checkout and install the dependencies for Visual Studio 2010.

Your feedbacks are welcome,
Yann

wangfei0328
Posts: 3
Joined: Mon Nov 15, 2010 4:45 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by wangfei0328 »

yrenard wrote:Interested readers should be aware tha you should now be able to compile latest SVN of OpenViBE with Visual Studio 2010 on Windows 7.

Please use a fresh checkout and install the dependencies for Visual Studio 2010.

Your feedbacks are welcome,
Yann
Hi, yrenard

I am new for OpenVibe, I installed Emotiv Development Kit v1.0.0.3-Education on Windows 7 with Visual Studio 2010 Professional. When I compiled the source files I received the error message listed below:

...

-- Build files have been written to: C:/OpenVibe/local-tmp/openvibe-plugins/clas
sification-gpl/trunc

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

Linking CXX shared library OpenViBE-plugins-classification-gpl-dynamic.dll
Creating library OpenViBE-plugins-classification-gpl-dynamic.lib and object O
penViBE-plugins-classification-gpl-dynamic.exp
itpp.lib(inv.obj) : error LNK2019: unresolved external symbol "__declspec(dllimp
ort) public: __thiscall std::complex<double>::complex<double>(double const &,dou
ble const &)" (__imp_??0?$complex@N@std@@QAE@ABN0@Z) referenced in function "pub
lic: void __thiscall itpp::Mat<class std::complex<double> >::set_size(int,int,bo
ol)" (?set_size@?$Mat@V?$complex@N@std@@@itpp@@QAEXHH_N@Z)
OpenViBE-plugins-classification-gpl-dynamic.dll : fatal error LNK1120: 1 unresol
ved externals
LINK failed. with 1120
NMAKE : fatal error U1077: 'C:\OpenVibe\dependencies\cmake\cmake-2.8.2-win32-x86
\bin\cmake.exe' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\nmake.exe"' : return code '0x2'
Stop.

An error occured during building process
...

I will appreciate your help, thank you!

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by lbonnet »

Hi wangfei0328 !
tpp.lib(inv.obj) : error LNK2019: unresolved external symbol "__declspec(dllimp
ort) public: __thiscall std::complex<double>::complex<double>(double const &,dou
ble const &)" (__imp_??0?$complex@N@std@@QAE@ABN0@Z) referenced in function "pub
lic: void __thiscall itpp::Mat<class std::complex<double> >::set_size(int,int,bo
ol)" (?set_size@?$Mat@V?$complex@N@std@@@itpp@@QAEXHH_N@Z)
This problem means that the linker didn't found some functions, here in the itpp library (itpp is a dependence of openvibe, that we use for signal processing for example).

This error can occurs if you try to compile your project with one compiler while your dependency is compiled with another compiler.
Did you install the dependencies for VS2010 ? It's the first item to check in the list when running win32-install_dependencies.exe.

Cheers,

Laurent-
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

Post Reply