From: Alan C. <ac...@ip...> - 2010-12-29 21:20:15
|
William, I got it to compile on my mac. I have xcode-3.2.5 installed. The biggest problem was getting all of the necessary packages installed. I downloaded most of the stuff using MacPorts. Alan --- Alan Condit 1085 Tierra Ct. Woodburn, OR 97071 Email -- ac...@ip... Home-Office (503) 982-0906 On Dec 29, 2010, at 12:18 PM, pcb...@li... wrote: > Message: 1 > Date: Mon, 06 Dec 2010 10:22:13 -0800 > From: "William \"Chops\" Westfield" <we...@ma...> > Subject: [Pcb2gcode-devel] compiling for Mac > To: pcb...@li... > Message-ID: <A7D...@ma...> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > Has anyone tried compiling pcb2gcode on a Mac? > > The assorted Yum install advice is useless, of course. I use fink as > a package manager and eventually got configure to work, but make > doesn't get very far at all. > It looks like some basic problem with boost data types (sorry, I'm > also only an embedded C programmer, mostly, so a lot of these advanced > C++ libraries go over my head), but I've tried both the boost that > fink wants to install (boost1.41.cmake) and the most recent > sourceforge download (1.45) and they produce the same errors... > > Any advice? > > Thanks > Bill W > > make all-am > g++ -DHAVE_CONFIG_H -I. -I/sw/include -I/sw/include/gtkmm-2.4 -I/sw/ > lib/gtkmm-2.4/include -I/sw/include/giomm-2.4 -I/sw/lib/giomm-2.4/ > include -I/sw/include/pangomm-1.4 -I/sw/lib/pangomm-1.4/include -I/sw/ > include/gtk-2.0 -I/sw/include/gtk-unix-print-2.0 -I/sw/include/ > atkmm-1.6 -I/sw/include/gdkmm-2.4 -I/sw/lib/gdkmm-2.4/include -I/sw/ > include/glibmm-2.4 -I/sw/lib/glibmm-2.4/include -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -I/sw/include/sigc++-2.0 -I/sw/lib/sigc+ > +-2.0/include -I/sw/include/cairomm-1.0 -I/sw/lib/cairomm-1.0/include - > I/sw/include/pango-1.0 -I/sw/include/cairo -I/sw/include/freetype2 -I/ > sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/usr/ > X11R6/include -I/usr/X11/include -I/sw/include/gerbv-2.4.0 -I/sw/ > include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/ > sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/ > include/pango-1.0 -I/sw/include/freetype2 -I/sw/include -I/usr/X11R6/ > include -I/usr/X11/include -g -O2 -MT board.o -MD -MP -MF .deps/ > board.Tpo -c -o board.o board.cpp > board.cpp: In member function 'void Board::createLayers()': > board.cpp:80: error: 'class std::map<std::string, > boost::tuples::tuple<boost::shared_ptr<LayerImporter>, > boost::shared_ptr<RoutingMill>, bool, bool, boost::tuples::null_type, > boost::tuples::null_type, boost::tuples::null_type, > boost::tuples::null_type, boost::tuples::null_type, > boost::tuples::null_type>, std::less<std::string>, > std::allocator<std::pair<const std::string, > boost::tuples::tuple<boost::shared_ptr<LayerImporter>, > boost::shared_ptr<RoutingMill>, bool, bool, boost::tuples::null_type, > boost::tuples::null_type, boost::tuples::null_type, > boost::tuples::null_type, boost::tuples::null_type, > boost::tuples::null_type> > > >' has no member named 'at' > board.cpp:80: error: expected primary-expression before ')' token > board.cpp:113: error: 'class std::map<std::string, > boost::shared_ptr<Layer>, std::less<std::string>, > std::allocator<std::pair<const std::string, boost::shared_ptr<Layer> > >>> ' has no member named 'at' > board.cpp: In member function 'boost::shared_ptr<Layer> > Board::get_layer(std::string)': > board.cpp:154: error: 'class std::map<std::string, > boost::shared_ptr<Layer>, std::less<std::string>, > std::allocator<std::pair<const std::string, boost::shared_ptr<Layer> > >>> ' has no member named 'at' > make[1]: *** [board.o] Error 1 > make: *** [all] Error 2 > |