1. This is should be addressed by Ben really... It might help if you'll 
describe the errors you're getting in more details (what has 
CLUCENE_INLINE_EXPORT defined)?

2. I don't see why cl_test can't be linked to test the contribs as well. 
If you could update the CMake scripts to make this optional (the linkage 
to contribs, and the contrib tests), that would be ideal.

Itamar.

On 3/9/2010 2:37 PM, Veit Jahns wrote:
> Hi all,
>
> I ported the GermanAnalyzer von JLucene, because we had a need for it.
> I almost completed it, but regarding this I have two questions:
>
> (1) When linking the contribs-lib, I get linking errors, that some
> references could not be found. The reason is that the classes of the
> methods have the CLUCENE_INLINE_EXPORT macro (I link the
> core/shared-dlls). But due to SharedHeader.h (160-169):
>
> //inline definitions
> #if defined(__MINGW32__) || defined(_MSC_VER)
>   #define CLUCENE_SHARED_INLINE_EXPORT
>   #define CLUCENE_INLINE_EXPORT
>   #define CLUCENE_CONTRIBS_INLINE_EXPORT
> #else
>   #define CLUCENE_SHARED_INLINE_EXPORT CLUCENE_SHARED_EXPORT
>   #define CLUCENE_INLINE_EXPORT CLUCENE_EXPORT
>   #define CLUCENE_CONTRIBS_INLINE_EXPORT CLUCENE_CONTRIBS_EXPORT
> #endif
>
> this macro is empty. It would be nice, if someone can explain me the
> purpose of INLINE macros. See also [1].
>
> (2) I also want to port the test of the GermanAnalyzer. Where should
> this test be placed? In a separate test project or is it better to
> include this test somehow in cl_test?
>
> Regards,
>
> Veit
>
> [1] http://article.gmane.org/gmane.comp.jakarta.lucene.clucene.devel/3541
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
>    

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to