Hi Carsten,

I think that this issue is not merged correctly into the git master.
The CMakeLists.Lib.OSGContribCSMSimplePlugin.txt file now contains the 
following line of code:

TARGET_LINK_LIBRARIES(simplePluginApp ${OSG_GLOBAL_LIB})

but it has to be

TARGET_LINK_LIBRARIES(simplePluginApp ${${OSG_GLOBAL_LIB}})

in order to work correctly.

Could you please change the file accordingly.

Sorry, that I do not have detected this earlier but I do not build this 
target regularly.

Best,
Johannes


On 11.11.2015 17:02, Carsten Neumann wrote:
>      Hello Johannes, Gerrit,
>
> On 2015-10-22 07:41, Johannes wrote:
>> I have one additional small problem with the build system. I got an
>> unresolved external symbol error from a missing memmanager library in
>> target simplePluginApp. That target is somehow special and does not add
>> the OSG_GLOBAL_LIB dependencies. I have temporarily added the following
>> line of cmake code
>
> hmm, why is that not a problem for the tests? I guess the difference is
> they link with at least one OpenSG library and pull in the memmanager
> symbols that way?
>
>> TARGET_LINK_LIBRARIES(simplePluginApp ${${OSG_GLOBAL_LIB}})
>> into
>> Contrib/CSMPlugin/SimpleTest/CMakeLists.Lib.OSGContribCSMSimplePlugin.txt
>>
>> which resolves this error. Probably there is a more elegant solution
>> that would be more in the line of the other executable targets?
>
> Given that this is indeed a special target that (intentionally) does not
> link with any OpenSG libs and also avoids the rest of the build
> machinery this is probably the simplest solution.
>
> Gerrit: I'll push the attached patch in a few days if there are no
> objections. Thanks!
>
>      Cheers,
>          Carsten
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to