Hello Rene,

Rene Weller wrote:
> is there someone using OpenSG and OpenCL with VS (More detailed: Windows 
> 7, VS 2008, OpenSG 1.8, some newer cvs version)?
> My problem: OpenCL seems to be compiled with option \MT (or \MTd), 
> whereas I compiled OpenSG via scons and it uses \MD (and \MDd).

ugh, so they link the runtime statically? Would it help if OpenSG was 
also compiled with /MT (or /MTd) ?

> So, 
> using them together produces a bunch of LNK2005 errors during linking.
> Maybe someone here knows a workaround for the windows dll-hell?

if you want OpenSG to link against the runtime statically, I think you 
need to change the SConstruct file. Around line 1011 there is 
win32_msvc_base.get_env_list(self) and a few lines into that function it 
sets up the common command line options.

        Cheers,
                Carsten


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to