Archived

This forum has been archived. Please start a new discussion on GitHub.

compile errors

Hi,

I succeeded in compiling Ice 1.4.0. There are errors on compiling Icephp1.0.3. The errors are listed:

///////////////////////////////////////////////////////////////////////////////////////////////
Configuration: php_ice - Win32 Debug
Compiling...
proxy.cpp
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(445) : error C2039: 'FacetPath' : is not a member of 'Ice'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(445) : error C2065: 'FacetPath' : undeclared identifier
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(445) : error C2146: syntax error : missing ';' before identifier 'facets'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(445) : error C2065: 'facets' : undeclared identifier
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(445) : error C2039: 'ice_facets' : is not a member of 'Object'
E:\DEVTOOL\ICE\ICE-1.4.0\INCLUDE\Ice/Proxy.h(69) : see declaration of 'Object'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(448) : error C2228: left of '.begin' must have class/struct/union type
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(448) : error C2228: left of '.end' must have class/struct/union type
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(527) : error C2039: 'FacetPath' : is not a member of 'Ice'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(527) : error C2146: syntax error : missing ';' before identifier 'facet'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(527) : error C2065: 'facet' : undeclared identifier
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(527) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'const class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >' (or there i
s no acceptable conversion)
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(530) : error C2228: left of '.begin' must have class/struct/union type
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(530) : error C2228: left of '.end' must have class/struct/union type
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(555) : error C2039: 'FacetPath' : is not a member of 'Ice'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(555) : error C2146: syntax error : missing ';' before identifier 'facet'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(568) : error C2228: left of '.push_back' must have class/struct/union type
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(612) : error C2039: 'FacetPath' : is not a member of 'Ice'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(612) : error C2146: syntax error : missing ';' before identifier 'facet'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(614) : error C2039: 'ice_appendFacet' : is not a member of 'Object'
E:\DEVTOOL\ICE\ICE-1.4.0\INCLUDE\Ice/Proxy.h(69) : see declaration of 'Object'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\proxy.cpp(1085) : error C2039: 'ice_appendFacet' : is not a member of 'Object'
E:\DEVTOOL\ICE\ICE-1.4.0\INCLUDE\Ice/Proxy.h(69) : see declaration of 'Object'
util.cpp
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2039: 'FacetPath' : is not a member of 'Ice'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2065: 'const_iterator' : undeclared identifier
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2146: syntax error : missing ';' before identifier 'p'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2065: 'p' : undeclared identifier
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'struct _STL::_DBG_iter<class _STL::_Nondebug_string<char,class _STL::char_traits<char>,class _STL::allocator<
char> >,struct _STL::_Const_traits<char> >' (or there is no acceptable conversion)
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2143: syntax error : missing ')' before '++'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2059: syntax error : ';'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(333) : error C2059: syntax error : ')'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(334) : error C2143: syntax error : missing ';' before '{'
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(335) : error C2100: illegal indirection
E:\DevTool\ICE\IcePHP-1.0.3\src\ice\util.cpp(335) : error C2440: 'initializing' : cannot convert from 'int' to 'class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >'
No constructor could take the source type, or constructor overload resolution was ambiguous
Generating Code...
Error executing cl.exe.
Creating browse info file...

php_ice.dll - 31 error(s), 0 warning(s)
///////////////////////////////////////////////////////////////////////////////////////////////

It seems "Ice::FacetPath" is unused in 1.4.0 but Ice_php still used it.

Good Lucky!

Comments

  • mes
    mes California
    Hi,

    We will release a new version of IcePHP that is compatible with Ice 1.4.0 as soon as the next PHP 5 Release Candidate is available. It should only be a few more days.

    For now you need to use Ice 1.3.0 with IcePHP.

    - Mark
  • Thans for your reply. We are looking forward the new release.