>>>> 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) ? >> Well, it would perhaps help for the moment to test a few things, but I >> would prefer a more global solution in the future, because I`m working >> on an OS collision detection library that should work with OpenSG >> without that the users have to recompile their OpenSG versions (what >> isn`t a fun, even when using the standard options). > > ok, but how would such a "more global solution" look like? If it's not > possible to mix libraries that are compiled with /MT with those that use > /MD in one application, it seems to me one library has to change. Are > there any alternatives?
In some cases it helps to ignore libs during linking. Maybe there are some other workarounds that I don`t know. However, finally I decided to use CUDA (that works fine with OpenSG). Even if this results also in an isolated solution, I hope that there will be an easy way to migrate the CUDA code to OpenCL in the future. Thanks again for your help. Best regards, Rene ------------------------------------------------------------------------------ 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
