Previous Thread  Next Thread

chat icon framework not found 3DconnexionClient

Fluxo

Posted: Tue Oct 16, 2012 2:04 pm
Joined: 15 Oct 2012
Posts: 3
Hey there,

I just checked out svn to make a custom build.

I am on Mac OS 10.8 and Xcode 4.5.1

It compiles quite a long time and then fails:


Code:
Ld /Users/Jan/blender-build/cmake/bin/Debug/blender.app/Contents/MacOS/blender normal x86_64
    cd /Users/Jan/blender-build/blender
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/Jan/blender-build/cmake/bin/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/jpeg/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/jpeg/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/png/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/png/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/freetype/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/freetype/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/python/lib/python3.2/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/python/lib/python3.2 -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/gettext/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/gettext/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/sdl/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/sdl/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openexr/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openexr/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/tiff/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/tiff/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/boost/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/boost/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openimageio/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openimageio/lib -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/opencolorio/lib/Debug -L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/opencolorio/lib -F/Users/Jan/blender-build/cmake/bin/Debug -filelist /Users/Jan/blender-build/cmake/source/creator/Blender.build/Debug/blender.build/Objects-normal/x86_64/blender.LinkFileList -mmacosx-version-min=10.5 -fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QTKit -weak_framework 3DconnexionClient -Wl,-search_paths_first -Wl,-headerpad_max_install_names /Users/Jan/blender-build/cmake/lib/Debug/libbf_windowmanager.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_api.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_action.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_buttons.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_console.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_file.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_graph.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_image.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_info.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_logic.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_nla.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_node.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_outliner.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_script.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_sequencer.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_time.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_userpref.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_view3d.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_space_clip.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_text.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_transform.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_util.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_uvedit.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_curve.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_armature.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_gpencil.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_interface.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_mesh.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_metaball.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_object.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_physics.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_render.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_screen.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_sculpt_paint.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_sound.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_animation.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_datafiles.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_mask.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_editor_io.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_render.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_opennl.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_python.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_python_ext.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_python_mathutils.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_python_bmesh.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_ikplugin.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_modifiers.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_bmesh.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_compositor.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_opencl.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_blenkernel.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_nodes.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_gpu.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_blenloader.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_imbuf.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_blenlib.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_ghost.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_string.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_avi.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_imbuf_cineon.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_imbuf_openexr.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_imbuf_dds.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_bsp.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_decimate.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_elbeem.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_iksolver.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_memutil.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_guardedalloc.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_ctr.a /Users/Jan/blender-build/cmake/lib/Debug/libge_blen_routines.a /Users/Jan/blender-build/cmake/lib/Debug/libge_converter.a /Users/Jan/blender-build/cmake/lib/Debug/libge_phys_dummy.a /Users/Jan/blender-build/cmake/lib/Debug/libge_phys_bullet.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_smoke.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_minilzo.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_lzma.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_colamd.a /Users/Jan/blender-build/cmake/lib/Debug/libge_logic_ketsji.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_recastnavigation.a /Users/Jan/blender-build/cmake/lib/Debug/libge_phys_common.a /Users/Jan/blender-build/cmake/lib/Debug/libge_logic.a /Users/Jan/blender-build/cmake/lib/Debug/libge_rasterizer.a /Users/Jan/blender-build/cmake/lib/Debug/libge_oglrasterizer.a /Users/Jan/blender-build/cmake/lib/Debug/libge_logic_expressions.a /Users/Jan/blender-build/cmake/lib/Debug/libge_scenegraph.a /Users/Jan/blender-build/cmake/lib/Debug/libge_logic_network.a /Users/Jan/blender-build/cmake/lib/Debug/libge_logic_ngnetwork.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_bullet.a /Users/Jan/blender-build/cmake/lib/Debug/libge_logic_loopbacknetwork.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_moto.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_openjpeg.a /Users/Jan/blender-build/cmake/lib/Debug/libge_videotex.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_rna.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_dna.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_blenfont.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_audaspace.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_mikktspace.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_dualcon.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_cycles.a /Users/Jan/blender-build/cmake/lib/Debug/libcycles_render.a /Users/Jan/blender-build/cmake/lib/Debug/libcycles_bvh.a /Users/Jan/blender-build/cmake/lib/Debug/libcycles_device.a /Users/Jan/blender-build/cmake/lib/Debug/libcycles_kernel.a /Users/Jan/blender-build/cmake/lib/Debug/libcycles_util.a /Users/Jan/blender-build/cmake/lib/Debug/libcycles_subd.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_raskter.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_opencolorio.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_libmv.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_ceres.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_glew.a /Users/Jan/blender-build/cmake/lib/Debug/libbf_intern_itasc.a /Users/Jan/blender-build/cmake/lib/Debug/libextern_carve.a -framework OpenGL -framework AGL -lpng -lz -lbz2 -lfreetype -lpython3.2 -lintl -liconv -framework OpenAL -lSDL -ltiff /Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openimageio/lib/libOpenImageIO.a -lpng -ljpeg -ltiff -lIex -lHalf -lIlmImf -lImath -lIlmThread -lz -lbz2 -lOpenColorIO -ltinyxml -lyaml-cpp -lboost_date_time-mt -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -ljpeg -lIex -lHalf -lIlmImf -lImath -lIlmThread -lstdc++ -lpng -lz -lbz2 -lfreetype -lpython3.2 -lintl -liconv -framework OpenAL -lSDL -ltiff /Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openimageio/lib/libOpenImageIO.a -lOpenColorIO -ltinyxml -lyaml-cpp -lboost_date_time-mt -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lstdc++ -o /Users/Jan/blender-build/cmake/bin/Debug/blender.app/Contents/MacOS/blender

ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/jpeg/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/png/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/freetype/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/python/lib/python3.2/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/gettext/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/sdl/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openexr/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/tiff/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/boost/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/openimageio/lib/Debug'
ld: warning: directory not found for option '-L/Users/Jan/blender-build/blender/../lib/darwin-9.x.universal/opencolorio/lib/Debug'
ld: framework not found 3DconnexionClient
clang: error: linker command failed with exit code 1 (use -v to see invocation)


The 3dConnexion framework is installed and findable under /Library/Frameworks/

Also, Xcode doesn't find #include <3DconnexionClient/ConnexionClientAPI.h>

I followed the tutorial on http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Mac#Install_Subversion


And hint on whats going wrong?

Thanks, Fluxo.
Reply with quote


kliu

Posted: Sat Dec 15, 2012 6:25 am
Joined: 15 Dec 2012
Posts: 1
Fluxo wrote:
Hey there,

I just checked out svn to make a custom build.

I am on Mac OS 10.8 and Xcode 4.5.1

It compiles quite a long time and then fails:

...

The 3dConnexion framework is installed and findable under /Library/Frameworks/

Also, Xcode doesn't find #include <3DconnexionClient/ConnexionClientAPI.h>

I followed the tutorial on http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Mac#Install_Subversion


And hint on whats going wrong?

Thanks, Fluxo.


I just spent a couple of days beating on this myself, but I think I solved it -- Mac OS X 10.8.2, Xcode 4.5.2.

Before running cmake, I set the environment to use gcc not cc (which cmake detects as clang):
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

Then, in ccmake, I had to manually tell it to search the /Library/Frameworks directory for frameworks. So I had to go into expert mode in ccmake and paste in:
-F/Library/Frameworks
Into:
CMAKE_CXX_FLAGS
CMAKE_C_FLAGS
CMAKE_EXE_LINKER_FLAGS

Before doing the configure/generate steps.
After doing this, blender built and linked successfully (at least, no crashes so far.)

(From what I found, the compilation problem appears to be a combination of maybe cmake not *quite* setting up the build files right to use /Library/Frameworks, and maybe a linking bug in the llvm/clang linker stumbling over the 3Dconnexion drivers with certain linker flags. Switching to gcc/g++ and manually setting the framework path seems to solve it, anyways.)
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group