I ran cmake with the following command:
Code: Select all
E:\SachsLab\Tools\Neurophys\BCI2000\cbuild>cmake ../build -G "Visual Studio 12 2013 Win64" -DUSE_EXTERNAL_QT=ON -DQT_QMAKE_EXECUTABLE=C:\Qt\5.5\msvc2013_64\bin\qmake.exe -DBUILD_BCPY2000=ON
Code: Select all
1>
e:\sachslab\tools\neurophys\bci2000\src\shared\utils\lib\StringUtils.h(56): error C2738: 'operator void *' : is ambiguous or is not a member of 'std::basic_istringstream<char,std::char_traits<char>,std::allocator<char>>'
1>e:\sachslab\tools\neurophys\bci2000\src\shared\utils\lib\StringUtils.h(69): error C2738: 'operator void *' : is ambiguous or is not a member of 'std::basic_ostringstream<char,std::char_traits<char>,std::allocator<char>>'
I changed the offending lines to something like the following:
Code: Select all
operator void*() const { return iss ? reinterpret_cast<void*>(!iss->fail()) : 0; }
Code: Select all
error C2440: 'return' : cannot convert from 'std::basic_ostream<char,std::char_traits<char>>' to 'bool'
[1] http://en.cppreference.com/w/cpp/io/bas ... rator_bool
Probably unrelated, but I'm also getting errors related to min and max not being found.