84 | | and then, if you try, it will fail to build openscad. if you get that far, go into the openscad build directory, and `sudo make clean` to clean out the wrongly built binaries. |
| 84 | and then, if you try, it will fail to build openscad. |
| 85 | |
| 86 | {{{ |
| 87 | :info:build 2 warnings generated. |
| 88 | :info:build /opt/local/bin/clang++-mp-3.7 -headerpad_max_install_names -stdlib=libc++ -o OpenSCAD.app/Contents/MacOS/OpenSCAD objects/OffscreenContextCGL.o objects/CocoaUtils.o objects/PlatformUtils-mac.o objects/scintillaeditor.o objects/scadlexer.o objects/version_check.o objects/ProgressWidget.o objects/mathc99.o objects/linalg.o objects/Camera.o objects/handle_dep.o objects/value.o objects/expr.o objects/stackcheck.o objects/func.o objects/localscope.o objects/module.o objects/feature.o objects/node.o objects/context.o objects/modcontext.o objects/evalcontext.o objects/csgterm.o objects/csgtermnormalizer.o objects/Geometry.o objects/Polygon2d.o objects/clipper-utils.o objects/polyset-utils.o objects/GeometryUtils.o objects/polyset.o objects/csgops.o objects/transform.o objects/color.o objects/primitives.o objects/projection.o objects/cgaladv.o objects/surface.o objects/control.o objects/render.o objects/text.o objects/dxfdata.o objects/dxfdim.o objects/offset.o objects/linearextrude.o objects/rotateextrude.o objects/printutils.o objects/fileutils.o objects/progress.o objects/parsersettings.o objects/stl-utils.o objects/boost-utils.o objects/PlatformUtils.o objects/LibraryInfo.o objects/nodedumper.o objects/traverser.o objects/GeometryEvaluator.o objects/ModuleCache.o objects/GeometryCache.o objects/Tree.o objects/DrawingCallback.o objects/FreetypeRenderer.o objects/FontCache.o objects/settings.o objects/rendersettings.o objects/highlighter.o objects/Preferences.o objects/OpenCSGWarningDialog.o objects/editor.o objects/GLView.o objects/QGLView.o objects/AutoUpdater.o objects/grid.o objects/builtin.o objects/calc.o objects/export.o objects/export_png.o objects/import.o objects/renderer.o objects/colormap.o objects/ThrownTogetherRenderer.o objects/CSGTermEvaluator.o objects/svg.o objects/OffscreenView.o objects/fbo.o objects/system-gl.o objects/imageutils.o objects/lodepng.o objects/openscad.o objects/mainwin.o objects/UIUtils.o objects/Dock.o objects/FontListDialog.o objects/FontListTableView.o objects/launchingscreen.o objects/legacyeditor.o objects/LibraryInfoDialog.o objects/clipper.o objects/bucketalloc.o objects/dict.o objects/geom.o objects/mesh.o objects/priorityq.o objects/sweep.o objects/tess.o objects/imageutils-macosx.o objects/OpenCSGRenderer.o objects/cgalutils.o objects/cgalutils-tess.o objects/cgalutils-polyhedron.o objects/CGALCache.o objects/CGALRenderer.o objects/CGAL_Nef_polyhedron.o objects/cgalworker.o objects/Polygon2d-CGAL.o objects/AppleEvents.o objects/moc_scintillaeditor.o objects/moc_ProgressWidget.o objects/moc_QGLView.o objects/moc_MainWindow.o objects/moc_Preferences.o objects/moc_OpenCSGWarningDialog.o objects/moc_AboutDialog.o objects/moc_FontListDialog.o objects/moc_FontListTableView.o objects/moc_highlighter.o objects/moc_editor.o objects/moc_Dock.o objects/moc_AutoUpdater.o objects/moc_launchingscreen.o objects/moc_legacyeditor.o objects/moc_LibraryInfoDialog.o objects/moc_cgalworker.o objects/moc_EventFilter.o objects/qrc_openscad.o objects/parser_yacc.o objects/lexer_lex.o -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -L/opt/local/lib -framework Cocoa -framework ApplicationServices -lCGAL -lmpfr -lgmp -lopencsg -lGLEW -lboost_thread-mt -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_regex-mt -L/opt/local/lib -lglib-2.0 -lintl -liconv -lharfbuzz -lfreetype -lfontconfig -L/opt/local/libexec/qt4/lib -lqscintilla2 -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -framework QtOpenGL -F/opt/local/Library/Frameworks -framework QtGui -framework QtCore -framework OpenGL -framework AGL |
| 89 | :info:build Undefined symbols for architecture x86_64: |
| 90 | :info:build "save_framebuffer(OffscreenContext*, std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from: |
| 91 | :info:build OffscreenView::save(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) in OffscreenView.o |
| 92 | :info:build "write_png(std::ostream&, unsigned char*, int, int)", referenced from: |
| 93 | :info:build save_framebuffer(OffscreenContext*, std::ostream&) in OffscreenContextCGL.o |
| 94 | :info:build save_framebuffer_common(OffscreenContext*, std::ostream&) in OffscreenContextCGL.o |
| 95 | :info:build "CocoaUtils::nslog(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, void*)", referenced from: |
| 96 | :info:build _main in openscad.o |
| 97 | :info:build "std::__basic_file<char>::is_open() const", referenced from: |
| 98 | :info:build save_framebuffer(OffscreenContext*, char const*) in OffscreenContextCGL.o |
| 99 | :info:build "std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from: |
| 100 | :info:build offscreen_context_getinfo(OffscreenContext*) in OffscreenContextCGL.o |
| 101 | :info:build "std::locale::id::_M_id() const", referenced from: |
| 102 | :info:build boost::detail::lcast_put_unsigned<std::char_traits<char>, unsigned int, char>::convert() in PlatformUtils-mac.o |
| 103 | :info:build "std::locale::operator==(std::locale const&) const", referenced from: |
| 104 | :info:build boost::detail::lcast_put_unsigned<std::char_traits<char>, unsigned int, char>::convert() in PlatformUtils-mac.o |
| 105 | }}} |
| 106 | |
| 107 | |
| 108 | if you get that far, go into the openscad build directory, and `sudo make clean` to clean out the wrongly built binaries. |