I´m trying to compile blander 3.5.1 from source, I have followed all the guides, but at the end the file build.log shows the following 9 errors:
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(82,23): error C3646: ‘context’: unknown override specifier (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(82,30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(79,30): error C2065: ‘context’: undeclared identifier (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(79,5): error C3861: ‘rtcInitIntersectContext’: identifier not found (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(470,50): error C2039: ‘context’: is not a member of ‘ccl::IntersectContext’ (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(524,38): error C2039: ‘context’: is not a member of ‘ccl::IntersectContext’ (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(529,51): error C2039: ‘context’: is not a member of ‘ccl::IntersectContext’ (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(554,49): error C2039: ‘context’: is not a member of ‘ccl::IntersectContext’ (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
C:\blender\src\blender-3.5.1\intern\cycles\kernel/device/cpu/bvh.h(577,49): error C2039: ‘context’: is not a member of ‘ccl::IntersectContext’ (compiling source file C:\blender\src\blender-3.5.1\intern\cycles\kernel\osl\services.cpp) [c:\blender\src\build_windows_x64_vc16_Release\intern\cycles\kernel\osl\cycles_kernel_osl.vcxproj]
9 Error(s)
When doing “make update” to download all the required libraries, it downloads lib\win64_vc15\embree\include\embree4, but in compiling shows the error “embree3 not found”. What I have done is to copy lib\win64_vc15\embree\include\embree4 to lib\win64_vc15\embree\include\embree3
Is there any patched bvh.h to avoid the above 9 errors?
What I have done is to copy lib\win64_vc15\embree\include\embree4 to lib\win64_vc15\embree\include\embree3
Oh you should not have done that, please restore it to its original state, then remove your build folder and start from scratch, it’ll likely work it self out.
There are files in blender 3.5.1 that require embree3, for example intern\cycles\bvh\embree.cpp:
#include <embree3/rtcore_geometry.h>
But I´m perplexed, if I download https://github.com/blender/blender/archive/refs/heads/main.zip (latest development blender), it builds successfully, but if I download https://github.com/blender/blender/archive/refs/tags/v3.5.1.zip gives the above 9 errors. I´m wondering if doing “make update” really downloads the suitable libraries/files for latest development blender source code but not for a previous blender source code
Oh ny bad, i didn’t notice you were building 3.5.1
after you run make update
(and paste the output here) can you go into your win64_vc15
folder and run svn info
and paste the output as well?
Your words: “If you work with older versions you should check out the matching libraries from the tag in svn 14 for the version you are trying to build for. Trying to build old versions with new libs are a guaranteed way to run into compatibility issues.
starting from 2.82 make update should do the right thing and grab the proper libs for you, but anything before that you are on your own in grabbing the matching libraries.”
Want to download “bf-blender - Revision 63380: /tags/blender-3.5-release/lib/win64_vc15” how do it? The above download contains embree3 and not embree4, this is what I need.
after you run make update
(and paste the output here) can you go into your win64_vc15
folder and run svn info
and paste the output as well?
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_sensor.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_system.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_scancode.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_surface.h
A C:\blender\src\lib\win64_vc15\openimagedenoise\lib\dnnl_d.lib
A C:\blender\src\lib\win64_vc15\potrace\include\potracelib.h
A C:\blender\src\lib\win64_vc15\pthreads\include\sched.h
A C:\blender\src\lib\win64_vc15\pugixml\lib\pkgconfig\pugixml.pc
A C:\blender\src\lib\win64_vc15\pugixml\include\pugixml.hpp
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_assert.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_blendmode.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_config_emscripten.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_config_os2.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_config_winrt.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_egl.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_filesystem.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_hidapi.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_keycode.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_main.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_mouse.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengles.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_power.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_revision.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_shape.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_common.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_assert.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_font.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_syswm.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_fuzzer.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_md5.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_log.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_timer.h
A C:\blender\src\lib\win64_vc15\sdl\lib
A C:\blender\src\lib\win64_vc15\tbb
A C:\blender\src\lib\win64_vc15\tbb\bin
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_thread.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_version.h
A C:\blender\src\lib\win64_vc15\sdl\include\close_code.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengles2_gl2platform.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_compare.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_harness.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_memory.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_touch.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_vulkan.h
A C:\blender\src\lib\win64_vc15\sdl\lib\SDL2main.lib
A C:\blender\src\lib\win64_vc15\tbb\include
A C:\blender\src\lib\win64_vc15\tbb\include\tbb
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_video.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengles2_gl2.h
A C:\blender\src\lib\win64_vc15\tbb\bin\tbbmalloc_debug.dll
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_body_imp
l.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_aggregator_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_concurrent_unordere
d_impl.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengl_glext.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengles2_khrplatform.h
A C:\blender\src\lib\win64_vc15\tbb\bin\tbb.dll
A C:\blender\src\lib\win64_vc15\tbb\bin\tbbmalloc_proxy.dll
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_allocator_traits.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_deprecated_header_m
essage_guard.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_item_buf
fer_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_indexer_
impl.h
A C:\blender\src\lib\win64_vc15\sdl\lib\SDL2.dll
A C:\blender\src\lib\win64_vc15\tbb\bin\tbb_debug.dll
A C:\blender\src\lib\win64_vc15\tbb\bin\tbbmalloc_proxy_debug.dll
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_nodes_de
duction.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_concurrent_queue_im
pl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_async_ms
g_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_join_imp
l.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_streamin
g_node.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_mutex_padding.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_node_set
impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_types_im
pl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_tbb_strings.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_tbb_hash_compare_im
pl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_tagged_b
uffer_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_node_handle_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_tbb_trace_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_warning_suppress_en
able_notice.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_warning_suppress_di
sable_notice.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\pipeline.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\partitioner.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_x86_eliding_mutex_i
mpl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\aggregator.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\blocked_range2d.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_stddef.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\blocked_range.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\task.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\aligned_space.h
A C:\blender\src\lib\win64_vc15\openimagedenoise\lib\openimagedenoise.lib
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\compat
A C:\blender\src\lib\win64_vc15\pthreads\lib\pthreadVC3.lib
A C:\blender\src\lib\win64_vc15\pthreads\include\semaphore.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\combinable.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\cache_aligned_allocator.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\blocked_range3d.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\compat\condition_variable
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\compat\tuple
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\compat\thread
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_priority_queue.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_map.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_hash_map.h
A C:\blender\src\lib\win64_vc15\pugixml\lib\pugixml.lib
A C:\blender\src\lib\win64_vc15\pystring\include\pystring\pystring.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_atomic.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_clipboard.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_config_iphoneos.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_config_pandora.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_config_wiz.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_endian.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_gamecontroller.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_unordered_set.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_hints.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_loadso.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_messagebox.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_unordered_map.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\flow_graph_abstractions.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\info.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_queue.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\enumerable_thread_specific.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\index.html
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\gcc_generic.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\icc_generic.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\gcc_ia32_common.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengles2.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_quit.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_rwops.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_stdinc.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_crc32.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_images.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_test_random.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_types.h
A C:\blender\src\lib\win64_vc15\sdl\include\begin_code.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_vector.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\flow_graph_opencl_node.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\iterators.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\gcc_itsx.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\linux_common.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\linux_intel64.h
A C:\blender\src\lib\win64_vc15\sdl\include\SDL_opengles2_gl2ext.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\mac_ppc.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\msvc_ia32_common.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\windows_intel64.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\null_rw_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\msvc_armv7.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\windows_ia32.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\linux_ia32.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\macos_common.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\sunos_sparc.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\memory_pool.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_do.h
A C:\blender\src\lib\win64_vc15\sdl\lib\SDL2.lib
A C:\blender\src\lib\win64_vc15\tbb\bin\tbbmalloc.dll
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_invoke.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_while.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\recursive_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\spin_rw_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\flow_graph.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_template_helpers.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_concurrent_skip_lis
t_impl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_cache_im
pl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\null_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_for_each.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_sort.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\reader_writer_lock.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\spin_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\task_scheduler_observer.h
A C:\blender\src\lib\win64_vc15\tbb\lib
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_exception.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbbmalloc_proxy.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_disable_exceptions.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_thread.h
A C:\blender\src\lib\win64_vc15\webp
A C:\blender\src\lib\win64_vc15\webp\include
A C:\blender\src\lib\win64_vc15\webp\include\webp
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_node_imp
l.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_flow_graph_trace_im
pl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_range_iterator.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_tbb_windef.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\internal_x86_rtm_rw_mutex_im
pl.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\task_scheduler_init.h
A C:\blender\src\lib\win64_vc15\webp\lib
A C:\blender\src\lib\win64_vc15\webp\lib\pkgconfig
A C:\blender\src\lib\win64_vc15\tbb\lib\tbbmalloc.lib
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\atomic.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\blocked_rangeNd.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\compat\ppl.h
A C:\blender\src\lib\win64_vc15\webp\share
A C:\blender\src\lib\win64_vc15\webp\include\webp\decode.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_lru_cache.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\concurrent_set.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\critical_section.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\global_control.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\gcc_arm.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\ibm_aix51.h
A C:\blender\src\lib\win64_vc15\webp\share\WebP
A C:\blender\src\lib\win64_vc15\webp\share\WebP\cmake
A C:\blender\src\lib\win64_vc15\zstd
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\linux_ia64.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\mic_common.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\machine\windows_api.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_reduce.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\queuing_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\runtime_loader.h
A C:\blender\src\lib\win64_vc15\zstd\lib
A C:\blender\src\lib\win64_vc15\zstd\include
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\include
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\include\openxr
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_for.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\task_arena.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_allocator.h
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\lib
A C:\blender\src\lib\win64_vc15\wintab
A C:\blender\src\lib\win64_vc15\wintab\include
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\parallel_scan.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\queuing_rw_mutex.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\scalable_allocator.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\task_group.h
A C:\blender\src\lib\win64_vc15\tbb\lib\tbb_debug.lib
A C:\blender\src\lib\win64_vc15\tbb\lib\tbbmalloc_proxy_debug.lib
A C:\blender\src\lib\win64_vc15\webp\include\webp\mux_types.h
A C:\blender\src\lib\win64_vc15\webp\lib\pkgconfig\libwebpdemux.pc
A C:\blender\src\lib\win64_vc15\webp\include\webp\mux.h
A C:\blender\src\lib\win64_vc15\webp\lib\pkgconfig\libwebpdecoder.pc
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_machine.h
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tick_count.h
A C:\blender\src\lib\win64_vc15\tbb\lib\tbbmalloc_debug.lib
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_config.h
A C:\blender\src\lib\win64_vc15\webp\lib\webpdemux.lib
A C:\blender\src\lib\win64_vc15\webp\share\WebP\cmake\WebPTargets-release.cma
ke
A C:\blender\src\lib\win64_vc15\tbb\include\tbb\tbb_profiling.h
A C:\blender\src\lib\win64_vc15\webp\include\webp\demux.h
A C:\blender\src\lib\win64_vc15\webp\include\webp\types.h
A C:\blender\src\lib\win64_vc15\webp\lib\pkgconfig\libwebpmux.pc
A C:\blender\src\lib\win64_vc15\webp\lib\webpmux.lib
A C:\blender\src\lib\win64_vc15\webp\share\WebP\cmake\WebPTargets.cmake
A C:\blender\src\lib\win64_vc15\zstd\include\zstd_errors.h
A C:\blender\src\lib\win64_vc15\tbb\lib\tbb.lib
A C:\blender\src\lib\win64_vc15\tbb\lib\tbbmalloc_proxy.lib
A C:\blender\src\lib\win64_vc15\webp\include\webp\encode.h
A C:\blender\src\lib\win64_vc15\webp\lib\pkgconfig\libwebp.pc
A C:\blender\src\lib\win64_vc15\zstd\include\zstd.h
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\include\openxr\openxr_platform
defines.h
A C:\blender\src\lib\win64_vc15\wintab\include\pktdef.h
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\include\openxr\openxr_reflectio
n.h
A C:\blender\src\lib\win64_vc15\wintab\include\wintab.h
A C:\blender\src\lib\win64_vc15\webp\lib\webpdecoder.lib
A C:\blender\src\lib\win64_vc15\webp\share\WebP\cmake\WebPConfigVersion.cmake
A C:\blender\src\lib\win64_vc15\zstd\include\zdict.h
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\include\openxr\openxr_platform.
h
A C:\blender\src\lib\win64_vc15\webp\lib\webp.lib
A C:\blender\src\lib\win64_vc15\webp\share\WebP\cmake\WebPConfig.cmake
A C:\blender\src\lib\win64_vc15\zstd\lib\zstd_static.lib
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\include\openxr\openxr.h
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\lib\openxr_loaderd.lib
A C:\blender\src\lib\win64_vc15\xr_openxr_sdk\lib\openxr_loader.lib
U C:\blender\src\lib\win64_vc15
Checked out revision 63380.
Updating ‘.’:
At revision 63380.
python not found, required for this operation
c:\blender\src\blender-3.5.1>svn info
svn: E155007: ‘C:\blender\src\blender-3.5.1’ is not a working copy
c:\blender\src\blender-3.5.1>
I download https://github.com/blender/blender/archive/refs/tags/v3.5.1.zip and uncompress it, do not use git to get the source code of blender 3.5.1, it seems it gets the latest repository (downloads embree4 and not embree3), how I get the repository bf-blender - Revision 63380 located in bf-blender - Revision 63380: /tags/blender-3.5-release/lib/win64_vc15 ?
c:\blender\src\blender-3.5.1>svn info
svn: E155007: ‘C:\blender\src\blender-3.5.1’ is not a working copy
That’s not your win64_vc15 folder
c:\blender\src\lib\win64_vc15>svn info
Path: .
Working Copy Root Path: C:\blender\src\lib\win64_vc15
URL: bf-blender - Revision 63380: /trunk/lib/win64_vc15
Relative URL: ^/trunk/lib/win64_vc15
Repository Root: bf-blender - Revision 63380: /
Repository UUID: 954f8c5b-7b00-dc11-b283-0030488c597c
Revision: 63380
Node Kind: directory
Schedule: normal
Last Changed Author: LazyDodo
Last Changed Rev: 63378
Last Changed Date: 2023-05-18 22:29:38 +0200 (Thu, 18 May 2023)
c:\blender\src\lib\win64_vc15>
just out of curiosity what’s the output of both git status
and make showhash
when run in
c:\blender\src\blender-3.5.1
?
shows “fatal: not a git repository (or any of the parent directories): .git”
After uncompressing blender 3.5.1 source code (file blender-3.5.1.zip) to blender-3.5.1 directory, I have the following two directories:
blender-3.5.1
lib
I have created manually the lib directory and inside lib directory I run: “svn checkout bf-blender - Revision 63380: /tags/blender-3.5-release/lib/win64_vc15” “svn info” now shows:
After uncompressing blender 3.5.1 source code (file blender-3.5.1.zip) to blender-3.5.1 directory, I have the following two directories:
blender-3.5.1
lib
I have created manually the lib directory and inside lib directory I run: “svn checkout bf-blender - Revision 63380: /tags/blender-3.5-release/lib/win64_vc15”
Going inside blender-3.5.1, how to pass parameters to make to install in c:\blender2 for example?
ahhhh ok, i got it, make update
doesn’t know what version of blender you are building without git, so it just tries to get the latest, i don’t recommend building from tarballs for this reason. Most of the time it’s less hassle just to clone the git repository and checkout the branch you need.
if you have 3.5.1 source and matching libs, you can just make full'
(no gpu kernels) or make release
(has gpu kernels) and it will build blender for you.
Once build you can run cpack -G ZIP
in your build folder, and it’ll make a .zip file you can unpack and install to whatever location you desire.
How to get the source code of Blender 3.5.1 using git or svn (using command line only)?
If I edit the file blender-3.5.1/cmakelists.txt and change the line
if(WIN32)
set(CMAKE_INSTALL_PREFIX ${EXECUTABLE_OUTPUT_PATH}/${BUILD_TYPE} CACHE PATH “default install path” FORCE)
for
if(WIN32)
set(CMAKE_INSTALL_PREFIX “c:/blender2” CACHE PATH “default install path” FORCE)
is correct?
Now it has compiled succesfully with the structure attached in the capture.png image file
Have to change directory to c:\blender\src\build_windows_x64_vc16_release\bin\release and run “cpack -G ZIP” inside that directory?
I’m not sure why you keep asking me to repeat my self
Once build you can run cpack -G ZIP
in your build folder
How to get the source code of Blender 3.5.1 using git or svn (using command line only)? Don´t know the URL of Blender 3.5.1 svn reposiroty, I never have used git
I’m slightly confused. In your first post, you said you were following all the guides on how to compile blender…
Those guides discuss exactly how one uses git and SVN, using the repositories, and providing the URL.
https://wiki.blender.org/wiki/Building_Blender