Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Kernel is not a class or namespace name

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Kernel is not a class or namespace name


Chronological Thread 
  • From: daisy <>
  • To:
  • Subject: [cgal-discuss] Re: Kernel is not a class or namespace name
  • Date: Mon, 9 Apr 2012 05:43:18 -0700 (PDT)

Hi Sebastien,
I am not sure I can answer your questions. So I paste the errors
following later. By the way, when I configured Cgal with the CMake Gui
according to the Installation Manual, there's some red entries in the under
window all the way. Following is the red entries(Italic):
/CMake Error at D:/Program Files/CMake
2.8/share/cmake-2.8/Modules/FindQt4.cmake:575 (MESSAGE):
/ It appears you're trying to use Visual Studio with Qt built by mingw.
Those compilers do not produce code compatible with each other.
Call Stack (most recent call first):
src/CGALQt4/CMakeLists.txt:23 (find_package)//
And after the configuring, I found the file "compiler_config.h" was
generated but the file "CGALConfig.cmake" is still not found. About boost, I
also don't know how to build libboost-thread. I am not sure if this is
related to these errors. Following is the errors when I run
width_simplex.cpp using vs2005.


1>width_simplex.cpp
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(19) : error C2039:
'Homogeneous' : is not a member of 'CGAL'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(19) : error C2143:
syntax error : missing ';' before '<'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(19) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(20) : error C2653:
'Kernel' : is not a class or namespace name
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(20) : error C2146:
syntax error : missing ';' before identifier 'Point_3'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(20) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(20) : warning C4091:
'' : ignored on left of 'int' when no variable is declared
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(21) : error C2653:
'Kernel' : is not a class or namespace name
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(21) : error C2146:
syntax error : missing ';' before identifier 'Plane_3'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(21) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(21) : warning C4091:
'' : ignored on left of 'int' when no variable is declared
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(22) : error C2039:
'Width_default_traits_3' : is not a member of 'CGAL'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(22) : error C2143:
syntax error : missing ';' before '<'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(22) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(23) : error C2039:
'Width_3' : is not a member of 'CGAL'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(23) : error C2143:
syntax error : missing ';' before '<'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(23) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(28) : error C2564:
'Point_3' : a function-style conversion to a built-in type can only take one
argument
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(29) : error C2564:
'Point_3' : a function-style conversion to a built-in type can only take one
argument
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(30) : error C2564:
'Point_3' : a function-style conversion to a built-in type can only take one
argument
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(31) : error C2564:
'Point_3' : a function-style conversion to a built-in type can only take one
argument
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(34) : error C2065:
'Width' : undeclared identifier
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(34) : error C2146:
syntax error : missing ';' before identifier 'simplex'
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(34) : error C3861:
'simplex': identifier not found
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(38) : error C2228:
left of '.get_squared_width' must have class/struct/union
1> type is ''unknown-type''
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(41) : error C2228:
left of '.get_build_direction' must have class/struct/union
1> type is ''unknown-type''
1>f:\testcgal\testcgal_1\testcgal_1\width_simplex.cpp(47) : error C2228:
left of '.get_number_of_optimal_solutions' must have class/struct/union
1> type is ''unknown-type''

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Kernel-is-not-a-class-or-namespace-name-tp4536827p4542649.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page