QxOrm giving errors when taken as source instead of building it.
-
Hi i am having a project which i am targeting at multiple platforms.so instead of building the qxorm libraries i have included the source code in my project and using them as precompiled headers.now when ever i use
@#include<qxorm>@
or if try to use any of it's macros like class registration macro:
@QX_REGISTER_COMPLEX_CLASS_NAME_CPP_CHINDI(namespace1::namespace2::namespace3::Archetype, namespace1_namespace2_namespace3_Archetype)@
it's giving me the following errors.
Type
QX_REGISTER_COMPLEX_CLASS_NAME_CPP_CHINDI(namespace1::namespace2::namespace3::Archetype, namespace1_namespace2_namespace3_Archetype) could not be resolved.
Function 'replace_all' could not be resolved.
Function 'string' could not be resolved.
Invalid arguments 'Candidates are:int assertion_failed(mpl_::assert<#0>::type)'Archetype.hpp Semantic Error
symbol 'less'could not be resolved.
symbol 'assertion_failed' could not be resolved.
symbol 'value' could not be resolved.
and there are few other assert errors as well so please help me out with the project set up
I am using eclipse ide with cdt and qt plugin in linux environment to be more precise ubuntu 11.10I can't build the qxorm and use it,I need to use them as either precompiled headers or else include the source code
please help me out
[EDIT: fixed list formatting, please use # markers, Volker]