mauge123 / mechanical-blender

mechanical blender project
Other
70 stars 16 forks source link

update to latest master #38

Closed mirlip closed 7 years ago

mirlip commented 7 years ago

Hi Mauge, would it be possible to update to latest master to benefit from all the latest fixes? It would be really awesome to benefit from the stability of 2.79 when it's out.

mauge123 commented 7 years ago

Sure!

I'll go on it on monday, i have spending time on a step file importer, and waiting for changes that are comming on v 2.8

mirlip commented 7 years ago

good news :) Do you manage to use 2.8 branch? On my PC it crashes every other minute and has many things not working at all.

mirlip commented 7 years ago

Thanks for the update. The build fails with this log:

  blender_object.cpp
  blender_object_cull.cpp
  blender_particles.cpp
  blender_curves.cpp
  blender_python.cpp
  blender_session.cpp
D:\Blender\blender\build_windows_full_x64_vc14_release\source\blender\makesrna\intern\RNA_blender.h(18124): error C2146: syntax error: missing '}' before identifier 'yz' (compiling source file D:\Blender\blender\blender\intern\cycles\blender\blender_python.cpp) [D:\Blender\blender\build_windows_Full_x64_vc14_Release\intern\cycles\blender\bf_intern_cycles.vcxproj]
D:\Blender\blender\build_windows_full_x64_vc14_release\source\blender\makesrna\intern\RNA_blender.h(18124): error C2440: 'initializing': cannot convert from 'int' to '<unnamed-type-yz>' (compiling source file D:\Blender\blender\blender\intern\cycles\blender\blender_python.cpp) [D:\Blender\blender\build_windows_Full_x64_vc14_Release\intern\cycles\blender\bf_intern_cycles.vcxproj]
  D:\Blender\blender\build_windows_full_x64_vc14_release\source\blender\makesrna\intern\RNA_blender.h(18124): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) (compiling source file D:\Blender\blender\blender\intern\cycles\blender\blender_python.cpp)
D:\Blender\blender\build_windows_full_x64_vc14_release\source\blender\makesrna\intern\RNA_blender.h(18125): error C2365: 'MDim_transform_orientation_plane_plane': redefinition; previous definition was 'enumerator' (compiling source file D:\Blender\blender\blender\intern\cycles\blender\blender_python.cpp) [D:\Blender\blender\build_windows_Full_x64_vc14_Release\intern\cycles\blender\bf_intern_cycles.vcxproj]
  D:\Blender\blender\build_windows_full_x64_vc14_release\source\blender\makesrna\intern\RNA_blender.h(18124): note: see declaration of 'MDim_transform_orientation_plane_plane' (compiling source file D:\Blender\blender\blender\intern\cycles\blender\blender_python.cpp)
D:\Blender\blender\build_windows_full_x64_vc14_release\source\blender\makesrna\intern\RNA_blender.h(18125): error C2146: syntax error: missing ';' before identifier 'xz' (compiling source file D:\Blender\blender\blender\intern\cycles\blender\blender_python.cpp) [D:\Blender\blender\build_windows_Full_x64_vc14_Release\intern\cycles\blender\bf_intern_cycles.vcxproj]

I only took the part where it starts to print errors as the log is very big, but I can provide the full version you need.

mauge123 commented 7 years ago

About 2.8 branch, it only builds, but there a lot of things that are not working, and crashing, needs time to debug and analize bf changes.

mirlip commented 7 years ago

My point was more about ignoring 2.8 until it is stable enough by itself. I think it's better to build on solid foundations.

mirlip commented 7 years ago

it comes further now, but fails because of unresolved external symbol in openimageIO regarding WEBP

OpenImageIO.lib(webpinput.obj) : error LNK2019: unresolved external symbol WebPGetDecoderVersion referenced in function "char const * __cdecl OpenImageIO::v1_7::webp_imageio_library_version(void)" (?webp_imageio_library_version@v1_7@OpenImageIO@@YAPEBDXZ) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpinput.obj) : error LNK2019: unresolved external symbol WebPGetInfo referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpInput::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class OpenImageIO::v1_7::ImageSpec &)" (?open@WebpInput@webp_pvt@v1_7@OpenImageIO@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAVImageSpec@34@@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpinput.obj) : error LNK2019: unresolved external symbol WebPDecodeRGBA referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpInput::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class OpenImageIO::v1_7::ImageSpec &)" (?open@WebpInput@webp_pvt@v1_7@OpenImageIO@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAVImageSpec@34@@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpoutput.obj) : error LNK2019: unresolved external symbol WebPConfigInitInternal referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpOutput::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class OpenImageIO::v1_7::ImageSpec const &,enum OpenImageIO::v1_7::ImageOutput::OpenMode)" (?open@WebpOutput@webp_pvt@v1_7@OpenImageIO@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVImageSpec@34@W4OpenMode@ImageOutput@34@@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpoutput.obj) : error LNK2019: unresolved external symbol WebPPictureInitInternal referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpOutput::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class OpenImageIO::v1_7::ImageSpec const &,enum OpenImageIO::v1_7::ImageOutput::OpenMode)" (?open@WebpOutput@webp_pvt@v1_7@OpenImageIO@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVImageSpec@34@W4OpenMode@ImageOutput@34@@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpoutput.obj) : error LNK2019: unresolved external symbol WebPPictureFree referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpOutput::close(void)" (?close@WebpOutput@webp_pvt@v1_7@OpenImageIO@@UEAA_NXZ) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpoutput.obj) : error LNK2019: unresolved external symbol WebPPictureImportRGB referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpOutput::write_scanline(int,int,struct OpenImageIO::v1_7::TypeDesc,void const *,__int64)" (?write_scanline@WebpOutput@webp_pvt@v1_7@OpenImageIO@@UEAA_NHHUTypeDesc@34@PEBX_J@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpoutput.obj) : error LNK2019: unresolved external symbol WebPPictureImportRGBA referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpOutput::write_scanline(int,int,struct OpenImageIO::v1_7::TypeDesc,void const *,__int64)" (?write_scanline@WebpOutput@webp_pvt@v1_7@OpenImageIO@@UEAA_NHHUTypeDesc@34@PEBX_J@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
OpenImageIO.lib(webpoutput.obj) : error LNK2019: unresolved external symbol WebPEncode referenced in function "public: virtual bool __cdecl OpenImageIO::v1_7::webp_pvt::WebpOutput::write_scanline(int,int,struct OpenImageIO::v1_7::TypeDesc,void const *,__int64)" (?write_scanline@WebpOutput@webp_pvt@v1_7@OpenImageIO@@UEAA_NHHUTypeDesc@34@PEBX_J@Z) [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
D:\blender\build_windows_Full_x64_vc14_Release\bin\Release\blender.exe : fatal error LNK1120: 9 unresolved externals [D:\blender\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
mirlip commented 7 years ago

I tried to compile oiio with webp and succeded, however, the error stays

mirlip commented 7 years ago

ok, it now builds :)