Unleash the power of 3D
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #14220 Likes: 0
    ubi_laptop
    Participant

      Hi !

      1.

      I’m using blender since 2010 on a mac notebook,I was just curious about the interface and want to give a try.

      2:

      I have Xcode installed (7.0.1), and I’ve read your

      http://www.bforartists.de/content/developer-faq

      further instruction from:

      https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac

      So:

      2.1

      mkdir ~/blender-build

      cd ~/blender-build

      git clone https://github.com/Bforartists/Bforartists

      cd Bforartists

      git submodule update –init –recursive

      git submodule foreach git checkout master

      git submodule foreach git pull –rebase origin master

      I load external libraries, I guess they are the same for both forks

      cd ~/blender-build

      mkdir lib

      cd lib

      svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin-9.x.universal

      then make

      cd ~/blender-build/Bforartists

      make

      3.

      I get following errors, as in pasted console output and attached log.

      I have Xcode 7.0.1, containing /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk

      not 10.10.

      I guess is a trivial tweak, but not for me and maybe you can help me pointing the solution.

      Answer in English, German (or Italian) are welcome.

      Daniele

       

       

      attached:

      Console_output.txt

      CMakeOutput.log

      #16152 Likes: 0
      ubi_laptop
      Participant

        attachment

        #16153 Likes: 0
        Reiner
        Participant

          Hi ubi_laptop,

          As told in the mail, i am unfortunately lost with Mac. I am a Windows user. And we don’t have somebody in our team that could compile for Mac.

          The only thing that comes into my mind is this:

           

          I load external libraries, I guess they are the same for both forks

          This is not true. Bforartists is based at Blender 2.76. The current version of Blender, 2.78, relies at different dependencies. Better said mainly newer versions. And Python 3.5, which was introduced with Blender 2.77, brought also a few changes.

          I plan to update Bforartists at one point to the Blender 2.78 code. Then the dependencies will fit again. I just cannot say when i will start it nor when is finished. I first want to finish the development of the UI changes with the current code base before i start to migrate everything to the newest Blender version. And there are still some parts left that i want to tackle.

          Sorry for the bad news :(

           

          #16155 Likes: 0
          ubi_laptop
          Participant

            hi reiner,

            I get a step further, so

            1.

            I did download the libraries for mac from a list in https://wiki.blender.org/index.php/Dev:Doc/Building_Blender,

            editing them to find missing parts for this version, in trial and error process until I get it working.

            2. I use Cmake and the compiler fails at “config” stage, log and error are attched.

            As said I’m not a professional in compiling, so It may be a trivial tweak to get it working.

            Hope somebody could point it out.

            MacBook-Pro:Bforartists dr$ make

            Configuring Blender …

            — Detected system-version: 10.10

            — Xcode-bundle : /Applications/Xcode.app

            — Detected Xcode-version: 7.0

            — OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform

            — Performing Test SUPPORT_SSE_BUILD

            — Performing Test SUPPORT_SSE_BUILD – Success

            — SSE Support: detected.

            — Performing Test SUPPORT_SSE2_BUILD

            — Performing Test SUPPORT_SSE2_BUILD – Success

            — SSE2 Support: detected.

            — Performing Test HAVE_STDBOOL_H

            — Performing Test HAVE_STDBOOL_H – Success

            — Found OpenAL: /System/Library/Frameworks/OpenAL.framework  

            — Found OpenGL: /System/Library/Frameworks/OpenGL.framework  

            — Performing Test C_WARN_ALL

            — Performing Test C_WARN_ALL – Success

            — Performing Test C_WARN_ERROR_DECLARATION_AFTER_STATEMENT

            — Performing Test C_WARN_ERROR_DECLARATION_AFTER_STATEMENT – Success

            — Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION

            — Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION – Success

            — Performing Test C_WARN_ERROR_RETURN_TYPE

            — Performing Test C_WARN_ERROR_RETURN_TYPE – Success

            — Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE

            — Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE – Success

            — Performing Test C_WARN_NO_UNKNOWN_PRAGMAS

            — Performing Test C_WARN_NO_UNKNOWN_PRAGMAS – Success

            — Performing Test C_WARN_NO_CHAR_SUBSCRIPTS

            — Performing Test C_WARN_NO_CHAR_SUBSCRIPTS – Success

            — Performing Test C_WARN_STRICT_PROTOTYPES

            — Performing Test C_WARN_STRICT_PROTOTYPES – Success

            — Performing Test C_WARN_MISSING_PROTOTYPES

            — Performing Test C_WARN_MISSING_PROTOTYPES – Success

            — Performing Test C_WARN_UNUSED_PARAMETER

            — Performing Test C_WARN_UNUSED_PARAMETER – Success

            — Performing Test CXX_WARN_ALL

            — Performing Test CXX_WARN_ALL – Success

            — Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE

            — Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE – Success

            — Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS

            — Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS – Success

            — Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS

            — Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS – Success

            — Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL

            — Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL – Success

            — Performing Test CXX_WARN_NO_SIGN_COMPARE

            — Performing Test CXX_WARN_NO_SIGN_COMPARE – Success

            — Performing Test CXX_WARN_NO_INVALID_OFFSETOF

            — Performing Test CXX_WARN_NO_INVALID_OFFSETOF – Success

            — Performing Test C_WARN_NO_UNUSED_PARAMETER

            — Performing Test C_WARN_NO_UNUSED_PARAMETER – Success

            — Performing Test C_WARN_NO_UNUSED_MACROS

            — Performing Test C_WARN_NO_UNUSED_MACROS – Success

            — Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS

            — Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS – Success

            — Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL

            — Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL – Success

            — Performing Test C_WARN_NO_UNUSED_FUNCTION

            — Performing Test C_WARN_NO_UNUSED_FUNCTION – Success

            — Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST

            — Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST – Success

            — Performing Test C_WARN_NO_MISSING_PROTOTYPES

            — Performing Test C_WARN_NO_MISSING_PROTOTYPES – Success

            — Performing Test C_WARN_NO_DUPLICATE_ENUM

            — Performing Test C_WARN_NO_DUPLICATE_ENUM – Success

            — Performing Test C_WARN_NO_UNDEF

            — Performing Test C_WARN_NO_UNDEF – Success

            — Performing Test C_WARN_NO_MISSING_NORETURN

            — Performing Test C_WARN_NO_MISSING_NORETURN – Success

            — Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD

            — Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD – Success

            — Performing Test CXX_WARN_NO_CXX11_NARROWING

            — Performing Test CXX_WARN_NO_CXX11_NARROWING – Success

            — Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR

            — Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR – Success

            — Performing Test CXX_WARN_NO_UNUSED_MACROS

            — Performing Test CXX_WARN_NO_UNUSED_MACROS – Success

            — Performing Test CXX_WARN_NO_REORDER

            — Performing Test CXX_WARN_NO_REORDER – Success

            — numpy found at ‘/Users/dr/blender-build/lib/darwin-9.x.universal/python/lib/python3.4/python3.4/site-packages’

            — Performing Test CXX_HAS_SSE

            — Performing Test CXX_HAS_SSE – Success

            — Performing Test CXX_HAS_AVX

            — Performing Test CXX_HAS_AVX – Success

            — Performing Test CXX_HAS_AVX2

            — Performing Test CXX_HAS_AVX2 – Success

            — Looking for C++ include unordered_map

            — Looking for C++ include unordered_map – not found

            — Looking for C++ include tr1/unordered_map

            — Looking for C++ include tr1/unordered_map – found

            — Found unordered_map/set in std::tr1 namespace.

            — Looking for C++ include memory

            — Looking for C++ include memory – found

            — Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE

            — Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE – Failed

            — Performing Test HAVE_SHARED_PTR_IN_TR1_NAMESPACE

            — Performing Test HAVE_SHARED_PTR_IN_TR1_NAMESPACE – Failed

            — Looking for C++ include tr1/memory

            — Looking for C++ include tr1/memory – found

            — Performing Test HAVE_SHARED_PTR_IN_TR1_NAMESPACE_FROM_TR1_MEMORY_HEADER

            — Performing Test HAVE_SHARED_PTR_IN_TR1_NAMESPACE_FROM_TR1_MEMORY_HEADER – Success

            — Found shared_ptr in std::tr1 namespace using <tr1/memory> header.

            — Found unordered_map/set in std::tr1 namespace.

            — Found unordered_map/set in std::tr1 namespace.

            ERROR: File Not Found. (-43)  on file: /Users/dr/blender-build/build_darwin/bin/blender.app

            CMake Error at source/creator/CMakeLists.txt:938 (add_dependencies):

              Cannot add target-level dependencies to non-existent target “blender”.

              The add_dependencies works for top-level logical targets created by the

              add_executable, add_library, or add_custom_target commands.  If you want to

              add file-level dependencies see the DEPENDS option of the add_custom_target

              and add_custom_command commands.

            — Blender Skipping: (bf_intern_ctr;bf_intern_opencl;bf_intern_utfconv;extern_recastnavigation;extern_sdlew;ge_blen_routines;ge_converter;ge_logic;ge_logic_expressions;ge_logic_ketsji;ge_logic_loopbacknetwork;ge_logic_network;ge_logic_ngnetwork;ge_oglrasterizer;ge_phys_bullet;ge_phys_dummy;ge_rasterizer;ge_scenegraph;ge_videotex)

            — Disabling Cycles tests because tests folder does not exist

            — Found Git: /opt/local/bin/git (found version “2.8.3”)

            — — Found Git: /opt/local/bin/git

            — C Compiler:   “Clang”

            — C++ Compiler: “Clang”

            — HAVE_STDBOOL_H = 1

            Blender Configuration

            =====================

              Build Options:

              – WITH_GAMEENGINE             OFF

              – WITH_PLAYER                 OFF

              – WITH_BULLET                 ON

              – WITH_IK_SOLVER              ON

              – WITH_IK_ITASC               ON

              – WITH_OPENCOLLADA            ON

              – WITH_FFTW3                  ON

              – WITH_INTERNATIONAL          ON

              – WITH_INPUT_NDOF             OFF

              – WITH_CYCLES                 ON

              – WITH_FREESTYLE              ON

              – WITH_OPENCOLORIO            ON

              Compiler Options:

              – WITH_BUILDINFO              OFF

              – WITH_OPENMP                 OFF

              – WITH_RAYOPTIMIZATION        ON

              System Options:

              – WITH_INSTALL_PORTABLE       

              – WITH_X11_XF86VMODE          

              – WITH_X11_XINPUT             

              – WITH_MEM_JEMALLOC           ON

              – WITH_MEM_VALGRIND           OFF

              – WITH_SYSTEM_GLEW            OFF

              – WITH_SYSTEM_OPENJPEG        OFF

              Image Formats:

              – WITH_OPENIMAGEIO            ON

              – WITH_IMAGE_CINEON           ON

              – WITH_IMAGE_DDS              ON

              – WITH_IMAGE_HDR              ON

              – WITH_IMAGE_OPENEXR          ON

              – WITH_IMAGE_OPENJPEG         ON

              – WITH_IMAGE_REDCODE          ON

              – WITH_IMAGE_TIFF             ON

              Audio:

              – WITH_OPENAL                 ON

              – WITH_SDL                    ON

              – WITH_SDL_DYNLOAD            

              – WITH_JACK                   OFF

              – WITH_JACK_DYNLOAD           

              – WITH_CODEC_AVI              ON

              – WITH_CODEC_FFMPEG           ON

              – WITH_CODEC_SNDFILE          OFF

              Compression:

              – WITH_LZMA                   ON

              – WITH_LZO                    ON

              Python:

              – WITH_PYTHON_INSTALL         ON

              – WITH_PYTHON_INSTALL_NUMPY   ON

              – WITH_PYTHON_MODULE          OFF

              – WITH_PYTHON_SAFETY          OFF

              – WITH_PYTHON_FRAMEWORK       OFF

              Modifiers:

              – WITH_MOD_BOOLEAN            ON

              – WITH_MOD_REMESH             ON

              – WITH_MOD_FLUID              ON

              – WITH_MOD_OCEANSIM           OFF

              OpenGL:

              – WITH_GLEW_ES                OFF

              – WITH_GLU                    ON

              – WITH_GL_EGL                 OFF

              – WITH_GL_PROFILE_COMPAT      ON

              – WITH_GL_PROFILE_CORE        OFF

              – WITH_GL_PROFILE_ES20        OFF

              Other:

              – WITH_OPENNL                 ON

             

            — Configuring incomplete, errors occurred!

            See also “/Users/dr/blender-build/build_darwin/CMakeFiles/CMakeOutput.log”.

            See also “/Users/dr/blender-build/build_darwin/CMakeFiles/CMakeError.log”.

            make: *** [all] Error 1

            #16156 Likes: 0
            Reiner
            Participant

              Hi ubi_laptop,

              As told, i am lost here, sorry. You have more clue here than i have :)

              #16157 Likes: 0
              Reiner
              Participant

                I found somebody to have a closer look at the Cmake error code. And it seems that we have a bug in the Cmake files somewhere. The compiler tries to find Blender files where it should search for Bforartists files. I will have a look at it.

                CMake Error at source/creator/CMakeLists.txt:938

                ERROR: File Not Found. (-43)  on file: /Users/dr/blender-build/build_darwin/bin/blender.app

                 

                What makes it difficult is that i cannot say what change fixes the Mac compilation, and what “fix” breaks Bforartists. That’s something bigger. So give us a bit time :)

                #16159 Likes: 0
                ubi_laptop
                Participant

                  .

                  #16160 Likes: 0
                  ubi_laptop
                  Participant

                    ok !

                    D

                    #16162 Likes: 0
                    Reiner
                    Participant

                      Mox Fulder has fixed the Cmake files now. Please update your repository to the latest version.

                      We cannot say if the fixes really fixes the issues though. We have no Mac to test.

                      Kind regards

                      Reiner

                      #16164 Likes: 0
                      ubi_laptop
                      Participant

                        a step foward !

                        the system now configures correctly and start building, then hangs !

                        I did try three times, same result.

                        Not sure if is a question of memory usage or incorrect configuration.

                        Console_output is enclosed.

                        #16165 Likes: 0
                        ubi_laptop
                        Participant

                          after that, I try again the other path, through GUI, as stated in https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac

                          At least a have an option to understand where the build fails, as stated in screenshot.

                          Daniele

                          #16166 Likes: 0
                          Reiner
                          Participant

                            Great to hear that our fixes had an effect. Sorry that it still does not work. But to repeat: we don’t have a Mac to test. Which makes things pretty complicated.

                            One last thought: OSL seems to be the trouble maker here. Not sure if wrong configured or dependencies missing*. You could try to turn off WITH_CYCLES_OSL in Cmake.

                            And in case you compile with Cuda ( the correct version is this one: https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx) , be very patient. This can take several minutes to finish.

                            *EDIT says, Mox Fulder means the OSL version that you use here is simply too new. But i have no idea where to find the older version that works with Bforartists.

                            As told, try to compile without OSL. OSL is not required. It is a scripting language for shaders. It’s a nice to have feature in case you are crazy enough to write your own shaders for Cylces.

                            And thanks for your patience. You helped us to fix at least the Cmake files :)

                             

                            #16168 Likes: 0
                            ubi_laptop
                            Participant

                              I did try again with “WITH_CYCLES_OSL” turned off in Cmake.

                              The build works for a while with many “warning issues” and then fails with following error:

                              ld: can’t map file, errno=22 file ‘/Users/dr/blender-build/lib/darwin-9.x.universal/python/lib/python3.4/libpython3.4m.a’ for architecture x86_64

                              witch tell me nothing,as the answer in

                              http://stackoverflow.com/questions/16436333/cant-map-file-errno-22-for-architecture-x86-64

                              maybe should I install python 3.4 libraries again from scratch ?

                              D

                              #16169 Likes: 0
                              MoxFulder
                              Keymaster

                                ld: can’t map file, errno=22 file ‘/Users/dr/blender-build/lib/darwin-9.x.universal/python/lib/python3.4/libpython3.4m.a’ for architecture x86_64

                                What’s the content of the directories (if there are any at all)?

                                /Users/dr/blender-build/lib/darwin-9.x.universal/

                                /Users/dr/blender-build/lib/darwin-9.x.universal/python/

                                /Users/dr/blender-build/lib/darwin-9.x.universal/python/lib/

                                /Users/dr/blender-build/lib/darwin-9.x.universal/python/lib/python3.4/

                                It seems there is something going wrong with the building of python. Initially Blender comes with it’s own integration of Python and so do BFA. 

                                #16170 Likes: 0
                                ubi_laptop
                                Participant

                                  Hi MoxFulder,

                                  Right, I have “libpython3.4m.a” as symlink pointing to “/Library/Frameworks/Python.framework/Versions/3.4/Python”.

                                  The updated version of Blender library for mac come with “libpython3.5m.a”, so I did manually copy “libpython3.4m.a” to the correspondig directory.

                                  Copyng the hard version of same file brings anyway to an error in xcode.

                                  I don’t know exactly how to get a copy of libraries for python 3.4.

                                  Output of “ls -aslhR” command is included for “darwin-9.x.universal/” as well for subdirectory python.

                                Viewing 15 posts - 1 through 15 (of 19 total)
                                • You must be logged in to reply to this topic.