[Bf-cycles] error compiling standalone Cycles

Karsten Schwenk macnihilist at gmx.net
Wed Oct 16 09:20:51 CEST 2013

If I remember correctly you need shell32 and psapi.
Try adding
to the set(LIBRARIES ...) call at the top of

I also had to patch some other things for windows, but I don't remember 
whether they were necessary just for vs2012 and debug builds or in general.

Hope it helps

On 2013-10-16 01:11, Gavin wrote:
> Hello im trying to compile the standalone cycles in visual studio 2008 express after using cmake.
> i have the windows libs folders via svn set up and get this error when it gets to compile cycles
> 1>OpenImageIO.lib(filesystem.obj) : error LNK2019: unresolved external symbol __imp__CommandLineToArgvW at 8 referenced in function "void __cdecl OpenImageIO::v1_1::Filesystem::convert_native_arguments(int,char const * * const)" (?convert_native_arguments at Filesystem@v1_1 at OpenImageIO@@YAXHQAPBD at Z)
> 1>OpenImageIO.lib(sysutil.obj) : error LNK2019: unresolved external symbol _GetProcessMemoryInfo at 12 referenced in function "unsigned int __cdecl OpenImageIO::v1_1::Sysutil::memory_used(bool)" (?memory_used at Sysutil@v1_1 at OpenImageIO@@YAI_N at Z)
> 1>C:\BlenderSVN\cmake-build\bin\Release\cycles.exe : fatal error LNK1120: 2 unresolved externals
> can anyone help i can give any other info needed
> thanks in advance.
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles

More information about the Bf-cycles mailing list