mauge123 / mechanical-blender

mechanical blender project
Other
70 stars 16 forks source link

can't compile on VS2015 #37

Closed mirlip closed 7 years ago

mirlip commented 7 years ago

compiling on VS2015 gives following error: CMake Error at build_files/cmake/macros.cmake:62 (message):

  duplicate found in list which should not contain duplicates:
  .;../blenfont;../blenlib;../blenloader;../blentranslation;../depsgraph;../gpu;../ikplugin;../imbuf;../makesdna;../makesrna;../bmesh;../modifiers;../nodes;../physics;../editors/include;../render/extern/include;../../../intern/ghost;../../../intern/guardedalloc;../../../intern/glew-mx;../../../intern/iksolver/extern;../../../intern/memutil;../../../intern/mikktspace;../../../intern/smoke/extern;../../../intern/atomic;../../../intern/libmv;../../../intern/utfconv;../../../intern/rigidbody;../avi;../../../intern/ffmpeg;../python;../../../intern/elbeem/extern;../mechanical;../alembic;../../../intern/openvdb
Call Stack (most recent call first):
  build_files/cmake/macros.cmake:246 (list_assert_duplicates)
  build_files/cmake/macros.cmake:274 (blender_add_lib__impl)
  source/blender/blenkernel/CMakeLists.txt:564 (blender_add_lib)
mauge123 commented 7 years ago

Works fine a VS 2013 command prompt...

The blender_add_lib func is on line 559 on sources, so i think that blenkernel/CMakeLists.txt you are compiling is not the same.

https://github.com/mauge123/mechanical-blender/blob/master/source/blender/blenkernel/CMakeLists.txt

mirlip commented 7 years ago

After pulling latest changes, it works. No idea what happened. Thank you for the quick help :)