Hello everyone,

               I’ new to VXL. I downloaded the 1.4.0 version of VXL and used cmake 2.0 patch 6 to

create the project file, with default options turned on. My compiler information is in the following lines

 

  1. Compiler Name and Version : MS VS 2003 VC++ 7.1
  2. Operating System Name and Version : Win XP SP2

 

When I choose to build ALL in MS VS2003, I get the following compilation errors, Could you please to locate reasons of these compilation errors ?

 

Thanks for your interest

Cem DEMiRKIR

 

------ Build started: Project: vnl, Configuration: Debug Win32 ------

 

Compiling...

vnl_matlab_read.cxx

\Work\Cpp\Libs\vxl-1.4.0\core\vnl\vnl_matlab_read.cxx(125) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\core\vnl\vnl_matlab_read.cxx(125) : error C2065: 'cur' : undeclared identifier

 

Build log was saved at "file://g:\Work\Cpp\Libs\vxl-1.4.0\bin\core\vnl\Debug\BuildLog.htm"

vnl - 2 error(s), 0 warning(s)

 

------ Build started: Project: vil, Configuration: Debug Win32 ------

 

Compiling...

vil_stream_fstream.cxx

\Work\Cpp\Libs\vxl-1.4.0\core\vil\vil_stream_fstream.cxx(193) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\core\vil\vil_stream_fstream.cxx(193) : error C2065: 'end' : undeclared identifier

 

Build log was saved at "file://g:\Work\Cpp\Libs\vxl-1.4.0\bin\core\vil\Debug\BuildLog.htm"

vil - 2 error(s), 0 warning(s)

 

------ Build started: Project: mbl, Configuration: Debug Win32 ------

 

Compiling...

mbl_file_data_wrapper+vnl_vector+double--.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_file_data_wrapper.txx(85) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

        D:\Programs\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(267) : while compiling class-template member function 'void mbl_file_data_wrapper<T>::reset(void)'

        with

        [

            T=vnl_vector<double>

        ]

        \Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\Templates\mbl_file_data_wrapper+vnl_vector+double--.cxx(3) : see reference to class template instantiation 'mbl_file_data_wrapper<T>' being compiled

        with

        [

            T=vnl_vector<double>

        ]

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_file_data_wrapper.txx(85) : error C2065: 'beg' : undeclared identifier

mbl_file_data_wrapper+vcl_vector+vbl_triple+double.int.int---.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_file_data_wrapper.txx(85) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

        D:\Programs\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(267) : while compiling class-template member function 'void mbl_file_data_wrapper<T>::reset(void)'

        with

        [

            T=vec_triple_dii

        ]

        \Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\Templates\mbl_file_data_wrapper+vcl_vector+vbl_triple+double.int.int---.cxx(7) : see reference to class template instantiation 'mbl_file_data_wrapper<T>' being compiled

        with

        [

            T=vec_triple_dii

        ]

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_file_data_wrapper.txx(85) : error C2065: 'beg' : undeclared identifier

mbl_file_data_wrapper+double-.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_file_data_wrapper.txx(85) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

        D:\Programs\Microsoft Visual Studio .NET 2003\Vc7\include\xtree(267) : while compiling class-template member function 'void mbl_file_data_wrapper<T>::reset(void)'

        with

        [

            T=double

        ]

        \Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\Templates\mbl_file_data_wrapper+double-.cxx(2) : see reference to class template instantiation 'mbl_file_data_wrapper<T>' being compiled

        with

        [

            T=double

        ]

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_file_data_wrapper.txx(85) : error C2065: 'beg' : undeclared identifier

mbl_exception.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(78) : error C2011: 'mbl_exception_no_name_in_factory' : 'class' type redefinition

        G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(47) : see declaration of 'mbl_exception_no_name_in_factory'

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136) : error C2958: the left parenthesis '(' found at 'g:\work\cpp\libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136)' was not matched correctly

\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.cxx(65) : error C2653: 'mbl_exception_abort' : is not a class or namespace name

\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.cxx(66) : error C2550: 'mbl_exception_abort' : constructor initializer lists are only allowed on constructor definitions

\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.cxx(66) : warning C4508: 'mbl_exception_abort' : function should return a value; 'void' return type assumed

mbl_read_multi_props.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(78) : error C2011: 'mbl_exception_no_name_in_factory' : 'class' type redefinition

        G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(47) : see declaration of 'mbl_exception_no_name_in_factory'

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136) : error C2958: the left parenthesis '(' found at 'g:\work\cpp\libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136)' was not matched correctly

mbl_read_props.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(78) : error C2011: 'mbl_exception_no_name_in_factory' : 'class' type redefinition

        G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(47) : see declaration of 'mbl_exception_no_name_in_factory'

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136) : error C2958: the left parenthesis '(' found at 'g:\work\cpp\libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136)' was not matched correctly

mbl_parse_block.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(78) : error C2011: 'mbl_exception_no_name_in_factory' : 'class' type redefinition

        G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(47) : see declaration of 'mbl_exception_no_name_in_factory'

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136) : error C2958: the left parenthesis '(' found at 'g:\work\cpp\libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136)' was not matched correctly

Generating Code...

 

Build log was saved at "file://g:\Work\Cpp\Libs\vxl-1.4.0\bin\contrib\mul\mbl\Debug\BuildLog.htm"

mbl - 16 error(s), 1 warning(s)

 

 

------ Build started: Project: vpdfl, Configuration: Debug Win32 ------

 

Compiling...

vpdfl_builder_base.cxx

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(78) : error C2011: 'mbl_exception_no_name_in_factory' : 'class' type redefinition

        G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(47) : see declaration of 'mbl_exception_no_name_in_factory'

G:\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136) : error C2958: the left parenthesis '(' found at 'g:\work\cpp\libs\vxl-1.4.0\contrib\mul\mbl\mbl_exception.h(136)' was not matched correctly

\Work\Cpp\Libs\vxl-1.4.0\contrib\mul\vpdfl\vpdfl_builder_base.cxx(75) : error C3861: 'mbl_exception_no_name_in_factory': identifier not found, even with argument-dependent lookup

 

Build log was saved at "file://g:\Work\Cpp\Libs\vxl-1.4.0\bin\contrib\mul\vpdfl\Debug\BuildLog.htm"

vpdfl - 3 error(s), 0 warning(s)

 

------ Build started: Project: vcl_test_all, Configuration: Debug Win32 ------

 

Compiling...

test_iostream.cxx

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(30) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(30) : error C2065: 'skipws' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(30) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(30) : error C2065: 'boolalpha' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(31) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(31) : error C2065: 'dec' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(32) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(32) : error C2065: 'fmtflags' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(32) : error C2146: syntax error : missing ';' before identifier 'flgs'

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(32) : error C2065: 'flgs' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(33) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(33) : error C2065: 'uppercase' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(34) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(34) : error C2065: 'showbase' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(35) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(35) : error C2065: 'showpos' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(36) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(36) : error C2065: 'showpoint' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(37) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(37) : error C2065: 'oct' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(37) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(37) : error C2065: 'basefield' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(38) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(38) : error C2065: 'scientific' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(38) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(38) : error C2065: 'floatfield' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(39) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(39) : error C2065: 'left' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(39) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(39) : error C2065: 'adjustfield' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(44) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(44) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(44) : error C3861: 'showbase': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(44) : error C3861: 'showpoint': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(45) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(45) : error C2065: 'hex' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(45) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(45) : error C3861: 'basefield': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(46) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(46) : error C2065: 'fixed' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(46) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(46) : error C3861: 'floatfield': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(47) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(47) : error C2065: 'right' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(47) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(47) : error C3861: 'adjustfield': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(51) : error C3861: 'flgs': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(52) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(52) : error C3861: 'showpos': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(53) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(53) : error C2143: syntax error : missing ')' before 'constant'

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(53) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(53) : error C2059: syntax error : ')'

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(54) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(54) : error C2065: 'internal' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(54) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(53) : error C3861: 'fmtflags': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(54) : error C3861: 'adjustfield': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(61) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(73) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(73) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(74) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(74) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(61) : error C3861: 'dec': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(73) : error C3861: 'fixed': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(73) : error C3861: 'scientific': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(74) : error C3861: 'right': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(74) : error C3861: 'left': identifier not found, even with argument-dependent lookup

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(110) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(110) : error C2065: 'cur' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(111) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(111) : error C2065: 'beg' : undeclared identifier

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(112) : error C2039: 'ios' : is not a member of 'operator``global namespace'''

\Work\Cpp\Libs\vxl-1.4.0\vcl\tests\test_iostream.cxx(112) : error C2065: 'end' : undeclared identifier

 

Build log was saved at "file://g:\Work\Cpp\Libs\vxl-1.4.0\bin\vcl\tests\Debug\BuildLog.htm"

vcl_test_all - 74 error(s), 0 warning(s)