Compiling on Windows 7 - 'tolower' : is not a member ...

Post Reply
dsjolie
Posts: 2
Joined: Sat Apr 02, 2011 3:12 pm

Compiling on Windows 7 - 'tolower' : is not a member ...

Post by dsjolie »

Hi all,

I'm trying to compile openvibe (from svn) on Windows 7 (64-bit) with Visual studio 2008 ...

Do you have any clues as to the source of this error?

/Daniel

[ 3%] Building CXX object CMakeFiles/OpenViBE-toolkit-dynamic.dir/src/openvibe-toolkit/tools/ovtkString.obj
ovtkString.cpp
C:\Software\src\openvibe\svn\openvibe-toolkit\trunc\src\openvibe-toolkit\tools\ovtkString.cpp(38) : error C2039: 'tolower' : is not a member of 'std'
C:\Software\src\openvibe\svn\openvibe-toolkit\trunc\src\openvibe-toolkit\tools\ovtkString.cpp(113) : see reference to function template instantiation 'charT OpenViBEToolkit::Tools::String::`anonymous-namespace'::to_lower<char>(charT
)' being compiled
with
[
charT=char
]
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

An error occured during building process

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

Re: Compiling on Windows 7 - 'tolower' : is not a member ...

Post by yrenard »

Dear Daniel,

I committed these changes too fast. They were working on Linux but I did not check them on Windows. This has been fixed.

Thanks for the report,
Yann

dsjolie
Posts: 2
Joined: Sat Apr 02, 2011 3:12 pm

Re: Compiling on Windows 7 - 'tolower' : is not a member ...

Post by dsjolie »

Ok, it seems to work fine now!

Thanks for the quick fix! :)

/Daniel

Post Reply