You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by topcoder1 <to...@gmail.com> on 2007/10/03 22:24:31 UTC

config.h

when compiling the client stub code generated from axis2c tool I got this error:
L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
fatal error C1083: Cannot open include file: 'config.h': No such file
or directory
i can't find config.h anywhere within the axis2c installation, any idea?
thanks
#ifndef AXUTIL_CONFIG_H
#define AXUTIL_CONFIG_H

/* undef unwated cnfig macros to avoid conflicts with APR macros */
#undef PACKAGE
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#undef VERSION

#include <config.h>

/* undef unwated cnfig macros to avoid conflicts with APR macros */
#undef PACKAGE
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#undef VERSION

#endif                          /* AXIS2_UTILS_H */

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by topcoder1 <to...@gmail.com>.
Yes I mean Axis2/java1.3 for codegen and Axis2?c 1.1.0
any idea?
thanks!

On 10/5/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
> topcoder1 wrote:
> > It's Axis2/C 1.3
> >
> You meann Axis2/Java 1.3 for codegen and Axis2/C?
>
> Samisa...
>
> > On 10/5/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
> >
> >> What is the Axis2/C version you are using?
> >>
> >> Samisa...
> >>
> >> topcoder1 wrote:
> >>
> >>> Hi thanks!  I added the preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT
> >>> it still says error C2664: 'axis2_options_set_soap_action' : cannot
> >>> convert parameter 3 from 'const axutil_string_t *' to 'axutil_string_t
> >>> *'  I have to do a manual casts for lots of these parameters...  It's
> >>> not a Console application, it's other Win32 application though,  I am
> >>> integrating axis2 into a 3d game engine.
> >>> anything I missed that will get solve this problem?
> >>> thanks
> >>>
> >>>
> >>> On 10/5/07, Dimuthu Gamage <di...@gmail.com> wrote:
> >>>
> >>>
> >>>> Hi,
> >>>> You seems started the project as General-> Empty Project (if you are
> >>>> developing on Visual Studio). I also got the same error in that path.
> >>>>
> >>>> Either you can start a new project Win32-> Console Application or you can
> >>>> just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
> >>>> problem.
> >>>>
> >>>> Thanks
> >>>> Dimuthu
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On 10/4/07, topcoder1 <to...@gmail.com> wrote:
> >>>>
> >>>>
> >>>>> I added WIN32 in preprocessor definitions, now I am getting tons of
> >>>>> errors like this:
> >>>>> error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
> >>>>>         Conversion from 'void*' to pointer to non-'void' requires an
> >>>>> explicit cast
> >>>>>
> >>>>> current_element = axiom_node_get_data_element( parent, env);
> >>>>> please help, thanks!
> >>>>>
> >>>>> On 10/3/07, topcoder1 <to...@gmail.com> wrote:
> >>>>>
> >>>>>
> >>>>>> when compiling the client stub code generated from axis2c tool I got
> >>>>>>
> >>>>>>
> >>>> this error:
> >>>>
> >>>> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
> >>>>
> >>>>
> >>>>>> fatal error C1083: Cannot open include file: 'config.h': No such file
> >>>>>> or directory
> >>>>>> i can't find config.h anywhere within the axis2c installation, any idea?
> >>>>>> thanks
> >>>>>> #ifndef AXUTIL_CONFIG_H
> >>>>>> #define AXUTIL_CONFIG_H
> >>>>>>
> >>>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> >>>>>> #undef PACKAGE
> >>>>>> #undef PACKAGE_BUGREPORT
> >>>>>> #undef PACKAGE_NAME
> >>>>>> #undef PACKAGE_STRING
> >>>>>> #undef PACKAGE_TARNAME
> >>>>>> #undef PACKAGE_VERSION
> >>>>>> #undef VERSION
> >>>>>>
> >>>>>> #include < config.h>
> >>>>>>
> >>>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> >>>>>> #undef PACKAGE
> >>>>>> #undef PACKAGE_BUGREPORT
> >>>>>> #undef PACKAGE_NAME
> >>>>>> #undef PACKAGE_STRING
> >>>>>> #undef PACKAGE_TARNAME
> >>>>>> #undef PACKAGE_VERSION
> >>>>>> #undef VERSION
> >>>>>>
> >>>>>> #endif                          /* AXIS2_UTILS_H */
> >>>>>>
> >>>>>>
> >>>>>>
> >>>> ---------------------------------------------------------------------
> >>>>
> >>>>
> >>>>> To unsubscribe, e-mail:
> >>>>>
> >>>>>
> >>>> axis-c-user-unsubscribe@ws.apache.org
> >>>>
> >>>>
> >>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>
> >>>
> >>>
> >>>
> >> --
> >> Samisa Abeysinghe : WSO2 WSF/PHP
> >> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
> >
>
>
> --
> Samisa Abeysinghe : WSO2 WSF/PHP
> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by topcoder1 <to...@gmail.com>.
Ok These compilation error is due to the fact that I compile them as
C++ code in MSVC settings, if I compile them as C code then there's no
error.  However I have other C++ code in the projects so I can't
compile them as C code.  what can I do?

On 10/5/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
> topcoder1 wrote:
> > It's Axis2/C 1.3
> >
> You meann Axis2/Java 1.3 for codegen and Axis2/C?
>
> Samisa...
>
> > On 10/5/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
> >
> >> What is the Axis2/C version you are using?
> >>
> >> Samisa...
> >>
> >> topcoder1 wrote:
> >>
> >>> Hi thanks!  I added the preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT
> >>> it still says error C2664: 'axis2_options_set_soap_action' : cannot
> >>> convert parameter 3 from 'const axutil_string_t *' to 'axutil_string_t
> >>> *'  I have to do a manual casts for lots of these parameters...  It's
> >>> not a Console application, it's other Win32 application though,  I am
> >>> integrating axis2 into a 3d game engine.
> >>> anything I missed that will get solve this problem?
> >>> thanks
> >>>
> >>>
> >>> On 10/5/07, Dimuthu Gamage <di...@gmail.com> wrote:
> >>>
> >>>
> >>>> Hi,
> >>>> You seems started the project as General-> Empty Project (if you are
> >>>> developing on Visual Studio). I also got the same error in that path.
> >>>>
> >>>> Either you can start a new project Win32-> Console Application or you can
> >>>> just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
> >>>> problem.
> >>>>
> >>>> Thanks
> >>>> Dimuthu
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On 10/4/07, topcoder1 <to...@gmail.com> wrote:
> >>>>
> >>>>
> >>>>> I added WIN32 in preprocessor definitions, now I am getting tons of
> >>>>> errors like this:
> >>>>> error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
> >>>>>         Conversion from 'void*' to pointer to non-'void' requires an
> >>>>> explicit cast
> >>>>>
> >>>>> current_element = axiom_node_get_data_element( parent, env);
> >>>>> please help, thanks!
> >>>>>
> >>>>> On 10/3/07, topcoder1 <to...@gmail.com> wrote:
> >>>>>
> >>>>>
> >>>>>> when compiling the client stub code generated from axis2c tool I got
> >>>>>>
> >>>>>>
> >>>> this error:
> >>>>
> >>>> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
> >>>>
> >>>>
> >>>>>> fatal error C1083: Cannot open include file: 'config.h': No such file
> >>>>>> or directory
> >>>>>> i can't find config.h anywhere within the axis2c installation, any idea?
> >>>>>> thanks
> >>>>>> #ifndef AXUTIL_CONFIG_H
> >>>>>> #define AXUTIL_CONFIG_H
> >>>>>>
> >>>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> >>>>>> #undef PACKAGE
> >>>>>> #undef PACKAGE_BUGREPORT
> >>>>>> #undef PACKAGE_NAME
> >>>>>> #undef PACKAGE_STRING
> >>>>>> #undef PACKAGE_TARNAME
> >>>>>> #undef PACKAGE_VERSION
> >>>>>> #undef VERSION
> >>>>>>
> >>>>>> #include < config.h>
> >>>>>>
> >>>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> >>>>>> #undef PACKAGE
> >>>>>> #undef PACKAGE_BUGREPORT
> >>>>>> #undef PACKAGE_NAME
> >>>>>> #undef PACKAGE_STRING
> >>>>>> #undef PACKAGE_TARNAME
> >>>>>> #undef PACKAGE_VERSION
> >>>>>> #undef VERSION
> >>>>>>
> >>>>>> #endif                          /* AXIS2_UTILS_H */
> >>>>>>
> >>>>>>
> >>>>>>
> >>>> ---------------------------------------------------------------------
> >>>>
> >>>>
> >>>>> To unsubscribe, e-mail:
> >>>>>
> >>>>>
> >>>> axis-c-user-unsubscribe@ws.apache.org
> >>>>
> >>>>
> >>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>
> >>>
> >>>
> >>>
> >> --
> >> Samisa Abeysinghe : WSO2 WSF/PHP
> >> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
> >
>
>
> --
> Samisa Abeysinghe : WSO2 WSF/PHP
> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by Samisa Abeysinghe <sa...@wso2.com>.
topcoder1 wrote:
> It's Axis2/C 1.3
>   
You meann Axis2/Java 1.3 for codegen and Axis2/C?

Samisa...

> On 10/5/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
>   
>> What is the Axis2/C version you are using?
>>
>> Samisa...
>>
>> topcoder1 wrote:
>>     
>>> Hi thanks!  I added the preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT
>>> it still says error C2664: 'axis2_options_set_soap_action' : cannot
>>> convert parameter 3 from 'const axutil_string_t *' to 'axutil_string_t
>>> *'  I have to do a manual casts for lots of these parameters...  It's
>>> not a Console application, it's other Win32 application though,  I am
>>> integrating axis2 into a 3d game engine.
>>> anything I missed that will get solve this problem?
>>> thanks
>>>
>>>
>>> On 10/5/07, Dimuthu Gamage <di...@gmail.com> wrote:
>>>
>>>       
>>>> Hi,
>>>> You seems started the project as General-> Empty Project (if you are
>>>> developing on Visual Studio). I also got the same error in that path.
>>>>
>>>> Either you can start a new project Win32-> Console Application or you can
>>>> just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
>>>> problem.
>>>>
>>>> Thanks
>>>> Dimuthu
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 10/4/07, topcoder1 <to...@gmail.com> wrote:
>>>>
>>>>         
>>>>> I added WIN32 in preprocessor definitions, now I am getting tons of
>>>>> errors like this:
>>>>> error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
>>>>>         Conversion from 'void*' to pointer to non-'void' requires an
>>>>> explicit cast
>>>>>
>>>>> current_element = axiom_node_get_data_element( parent, env);
>>>>> please help, thanks!
>>>>>
>>>>> On 10/3/07, topcoder1 <to...@gmail.com> wrote:
>>>>>
>>>>>           
>>>>>> when compiling the client stub code generated from axis2c tool I got
>>>>>>
>>>>>>             
>>>> this error:
>>>>
>>>> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
>>>>
>>>>         
>>>>>> fatal error C1083: Cannot open include file: 'config.h': No such file
>>>>>> or directory
>>>>>> i can't find config.h anywhere within the axis2c installation, any idea?
>>>>>> thanks
>>>>>> #ifndef AXUTIL_CONFIG_H
>>>>>> #define AXUTIL_CONFIG_H
>>>>>>
>>>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
>>>>>> #undef PACKAGE
>>>>>> #undef PACKAGE_BUGREPORT
>>>>>> #undef PACKAGE_NAME
>>>>>> #undef PACKAGE_STRING
>>>>>> #undef PACKAGE_TARNAME
>>>>>> #undef PACKAGE_VERSION
>>>>>> #undef VERSION
>>>>>>
>>>>>> #include < config.h>
>>>>>>
>>>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
>>>>>> #undef PACKAGE
>>>>>> #undef PACKAGE_BUGREPORT
>>>>>> #undef PACKAGE_NAME
>>>>>> #undef PACKAGE_STRING
>>>>>> #undef PACKAGE_TARNAME
>>>>>> #undef PACKAGE_VERSION
>>>>>> #undef VERSION
>>>>>>
>>>>>> #endif                          /* AXIS2_UTILS_H */
>>>>>>
>>>>>>
>>>>>>             
>>>> ---------------------------------------------------------------------
>>>>
>>>>         
>>>>> To unsubscribe, e-mail:
>>>>>
>>>>>           
>>>> axis-c-user-unsubscribe@ws.apache.org
>>>>
>>>>         
>>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>>
>>>>>
>>>>>
>>>>>           
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>>
>>>       
>> --
>> Samisa Abeysinghe : WSO2 WSF/PHP
>> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>   


-- 
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by topcoder1 <to...@gmail.com>.
It's Axis2/C 1.3

On 10/5/07, Samisa Abeysinghe <sa...@wso2.com> wrote:
> What is the Axis2/C version you are using?
>
> Samisa...
>
> topcoder1 wrote:
> > Hi thanks!  I added the preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT
> > it still says error C2664: 'axis2_options_set_soap_action' : cannot
> > convert parameter 3 from 'const axutil_string_t *' to 'axutil_string_t
> > *'  I have to do a manual casts for lots of these parameters...  It's
> > not a Console application, it's other Win32 application though,  I am
> > integrating axis2 into a 3d game engine.
> > anything I missed that will get solve this problem?
> > thanks
> >
> >
> > On 10/5/07, Dimuthu Gamage <di...@gmail.com> wrote:
> >
> >> Hi,
> >> You seems started the project as General-> Empty Project (if you are
> >> developing on Visual Studio). I also got the same error in that path.
> >>
> >> Either you can start a new project Win32-> Console Application or you can
> >> just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
> >> problem.
> >>
> >> Thanks
> >> Dimuthu
> >>
> >>
> >>
> >>
> >>
> >> On 10/4/07, topcoder1 <to...@gmail.com> wrote:
> >>
> >>> I added WIN32 in preprocessor definitions, now I am getting tons of
> >>> errors like this:
> >>> error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
> >>>         Conversion from 'void*' to pointer to non-'void' requires an
> >>> explicit cast
> >>>
> >>> current_element = axiom_node_get_data_element( parent, env);
> >>> please help, thanks!
> >>>
> >>> On 10/3/07, topcoder1 <to...@gmail.com> wrote:
> >>>
> >>>> when compiling the client stub code generated from axis2c tool I got
> >>>>
> >> this error:
> >>
> >> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
> >>
> >>>> fatal error C1083: Cannot open include file: 'config.h': No such file
> >>>> or directory
> >>>> i can't find config.h anywhere within the axis2c installation, any idea?
> >>>> thanks
> >>>> #ifndef AXUTIL_CONFIG_H
> >>>> #define AXUTIL_CONFIG_H
> >>>>
> >>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> >>>> #undef PACKAGE
> >>>> #undef PACKAGE_BUGREPORT
> >>>> #undef PACKAGE_NAME
> >>>> #undef PACKAGE_STRING
> >>>> #undef PACKAGE_TARNAME
> >>>> #undef PACKAGE_VERSION
> >>>> #undef VERSION
> >>>>
> >>>> #include < config.h>
> >>>>
> >>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> >>>> #undef PACKAGE
> >>>> #undef PACKAGE_BUGREPORT
> >>>> #undef PACKAGE_NAME
> >>>> #undef PACKAGE_STRING
> >>>> #undef PACKAGE_TARNAME
> >>>> #undef PACKAGE_VERSION
> >>>> #undef VERSION
> >>>>
> >>>> #endif                          /* AXIS2_UTILS_H */
> >>>>
> >>>>
> >>>
> >> ---------------------------------------------------------------------
> >>
> >>> To unsubscribe, e-mail:
> >>>
> >> axis-c-user-unsubscribe@ws.apache.org
> >>
> >>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >>>
> >>>
> >>>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
> >
>
>
> --
> Samisa Abeysinghe : WSO2 WSF/PHP
> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by Samisa Abeysinghe <sa...@wso2.com>.
What is the Axis2/C version you are using?

Samisa...

topcoder1 wrote:
> Hi thanks!  I added the preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT
> it still says error C2664: 'axis2_options_set_soap_action' : cannot
> convert parameter 3 from 'const axutil_string_t *' to 'axutil_string_t
> *'  I have to do a manual casts for lots of these parameters...  It's
> not a Console application, it's other Win32 application though,  I am
> integrating axis2 into a 3d game engine.
> anything I missed that will get solve this problem?
> thanks
>
>
> On 10/5/07, Dimuthu Gamage <di...@gmail.com> wrote:
>   
>> Hi,
>> You seems started the project as General-> Empty Project (if you are
>> developing on Visual Studio). I also got the same error in that path.
>>
>> Either you can start a new project Win32-> Console Application or you can
>> just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
>> problem.
>>
>> Thanks
>> Dimuthu
>>
>>
>>
>>
>>
>> On 10/4/07, topcoder1 <to...@gmail.com> wrote:
>>     
>>> I added WIN32 in preprocessor definitions, now I am getting tons of
>>> errors like this:
>>> error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
>>>         Conversion from 'void*' to pointer to non-'void' requires an
>>> explicit cast
>>>
>>> current_element = axiom_node_get_data_element( parent, env);
>>> please help, thanks!
>>>
>>> On 10/3/07, topcoder1 <to...@gmail.com> wrote:
>>>       
>>>> when compiling the client stub code generated from axis2c tool I got
>>>>         
>> this error:
>>     
>> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
>>     
>>>> fatal error C1083: Cannot open include file: 'config.h': No such file
>>>> or directory
>>>> i can't find config.h anywhere within the axis2c installation, any idea?
>>>> thanks
>>>> #ifndef AXUTIL_CONFIG_H
>>>> #define AXUTIL_CONFIG_H
>>>>
>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
>>>> #undef PACKAGE
>>>> #undef PACKAGE_BUGREPORT
>>>> #undef PACKAGE_NAME
>>>> #undef PACKAGE_STRING
>>>> #undef PACKAGE_TARNAME
>>>> #undef PACKAGE_VERSION
>>>> #undef VERSION
>>>>
>>>> #include < config.h>
>>>>
>>>> /* undef unwated cnfig macros to avoid conflicts with APR macros */
>>>> #undef PACKAGE
>>>> #undef PACKAGE_BUGREPORT
>>>> #undef PACKAGE_NAME
>>>> #undef PACKAGE_STRING
>>>> #undef PACKAGE_TARNAME
>>>> #undef PACKAGE_VERSION
>>>> #undef VERSION
>>>>
>>>> #endif                          /* AXIS2_UTILS_H */
>>>>
>>>>         
>>>       
>> ---------------------------------------------------------------------
>>     
>>> To unsubscribe, e-mail:
>>>       
>> axis-c-user-unsubscribe@ws.apache.org
>>     
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>>       
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>   


-- 
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by topcoder1 <to...@gmail.com>.
Hi thanks!  I added the preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT
it still says error C2664: 'axis2_options_set_soap_action' : cannot
convert parameter 3 from 'const axutil_string_t *' to 'axutil_string_t
*'  I have to do a manual casts for lots of these parameters...  It's
not a Console application, it's other Win32 application though,  I am
integrating axis2 into a 3d game engine.
anything I missed that will get solve this problem?
thanks


On 10/5/07, Dimuthu Gamage <di...@gmail.com> wrote:
> Hi,
> You seems started the project as General-> Empty Project (if you are
> developing on Visual Studio). I also got the same error in that path.
>
> Either you can start a new project Win32-> Console Application or you can
> just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
> problem.
>
> Thanks
> Dimuthu
>
>
>
>
>
> On 10/4/07, topcoder1 <to...@gmail.com> wrote:
> >
> > I added WIN32 in preprocessor definitions, now I am getting tons of
> > errors like this:
> > error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
> >         Conversion from 'void*' to pointer to non-'void' requires an
> > explicit cast
> >
> > current_element = axiom_node_get_data_element( parent, env);
> > please help, thanks!
> >
> > On 10/3/07, topcoder1 <to...@gmail.com> wrote:
> > > when compiling the client stub code generated from axis2c tool I got
> this error:
> > >
> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
> > > fatal error C1083: Cannot open include file: 'config.h': No such file
> > > or directory
> > > i can't find config.h anywhere within the axis2c installation, any idea?
> > > thanks
> > > #ifndef AXUTIL_CONFIG_H
> > > #define AXUTIL_CONFIG_H
> > >
> > > /* undef unwated cnfig macros to avoid conflicts with APR macros */
> > > #undef PACKAGE
> > > #undef PACKAGE_BUGREPORT
> > > #undef PACKAGE_NAME
> > > #undef PACKAGE_STRING
> > > #undef PACKAGE_TARNAME
> > > #undef PACKAGE_VERSION
> > > #undef VERSION
> > >
> > > #include < config.h>
> > >
> > > /* undef unwated cnfig macros to avoid conflicts with APR macros */
> > > #undef PACKAGE
> > > #undef PACKAGE_BUGREPORT
> > > #undef PACKAGE_NAME
> > > #undef PACKAGE_STRING
> > > #undef PACKAGE_TARNAME
> > > #undef PACKAGE_VERSION
> > > #undef VERSION
> > >
> > > #endif                          /* AXIS2_UTILS_H */
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: config.h

Posted by Dimuthu Gamage <di...@gmail.com>.
Hi,
You seems started the project as General-> Empty Project (if you are
developing on Visual Studio). I also got the same error in that path.

Either you can start a new project Win32-> Console Application or you can
just add preprocessor definitions WIN32;AXIS2_DECLARE_EXPORT to solve the
problem.

Thanks
Dimuthu




On 10/4/07, topcoder1 <to...@gmail.com> wrote:
>
> I added WIN32 in preprocessor definitions, now I am getting tons of
> errors like this:
> error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
>         Conversion from 'void*' to pointer to non-'void' requires an
> explicit cast
>
> current_element = axiom_node_get_data_element( parent, env);
> please help, thanks!
>
> On 10/3/07, topcoder1 <to...@gmail.com> wrote:
> > when compiling the client stub code generated from axis2c tool I got
> this error:
> > L:\bin\axis2c-
> bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
> > fatal error C1083: Cannot open include file: 'config.h': No such file
> > or directory
> > i can't find config.h anywhere within the axis2c installation, any idea?
> > thanks
> > #ifndef AXUTIL_CONFIG_H
> > #define AXUTIL_CONFIG_H
> >
> > /* undef unwated cnfig macros to avoid conflicts with APR macros */
> > #undef PACKAGE
> > #undef PACKAGE_BUGREPORT
> > #undef PACKAGE_NAME
> > #undef PACKAGE_STRING
> > #undef PACKAGE_TARNAME
> > #undef PACKAGE_VERSION
> > #undef VERSION
> >
> > #include <config.h>
> >
> > /* undef unwated cnfig macros to avoid conflicts with APR macros */
> > #undef PACKAGE
> > #undef PACKAGE_BUGREPORT
> > #undef PACKAGE_NAME
> > #undef PACKAGE_STRING
> > #undef PACKAGE_TARNAME
> > #undef PACKAGE_VERSION
> > #undef VERSION
> >
> > #endif                          /* AXIS2_UTILS_H */
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Re: config.h

Posted by topcoder1 <to...@gmail.com>.
I added WIN32 in preprocessor definitions, now I am getting tons of
errors like this:
 error C2440: '=' : cannot convert from 'void *' to 'axiom_element_t *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast

current_element = axiom_node_get_data_element( parent, env);
please help, thanks!

On 10/3/07, topcoder1 <to...@gmail.com> wrote:
> when compiling the client stub code generated from axis2c tool I got this error:
> L:\bin\axis2c-bin-1.1.0-win32\axis2c-bin-1.1.0-win32\include\axutil_config.h(30):
> fatal error C1083: Cannot open include file: 'config.h': No such file
> or directory
> i can't find config.h anywhere within the axis2c installation, any idea?
> thanks
> #ifndef AXUTIL_CONFIG_H
> #define AXUTIL_CONFIG_H
>
> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> #undef PACKAGE
> #undef PACKAGE_BUGREPORT
> #undef PACKAGE_NAME
> #undef PACKAGE_STRING
> #undef PACKAGE_TARNAME
> #undef PACKAGE_VERSION
> #undef VERSION
>
> #include <config.h>
>
> /* undef unwated cnfig macros to avoid conflicts with APR macros */
> #undef PACKAGE
> #undef PACKAGE_BUGREPORT
> #undef PACKAGE_NAME
> #undef PACKAGE_STRING
> #undef PACKAGE_TARNAME
> #undef PACKAGE_VERSION
> #undef VERSION
>
> #endif                          /* AXIS2_UTILS_H */
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org