Closed GoogleCodeExporter closed 9 years ago
Hi Sam,
macs is usually run on Linux environments which these days include boost out of
the box. For a Mac OS, we have run macs too, but you'll need to follow
installation steps in the Boost documentation. I'll summarize on the Wiki
shortly.
Gary
Original comment by gche...@gmail.com
on 2 Nov 2012 at 1:32
Hi Gary
Thanks for getting back to me so quickly. I'm afraid I don't understand the
Boost documentation; it says that boost doesn't need building then goes on to
give a list of libraries that must be built separately and doesn't seem to tell
you how to build them� As I said, I am not a programmer and don't know how
boost fits in with macs, so I don't know which bits are relevant to me. I
really need a line-by-line list of commands. I will have a go at getting boost
from another source (I have seen macports recommended); hopefully that will be
easier.
Thanks again
Sam
On 2 Nov 2012, at 13:33, <macs@googlecode.com>
wrote:
Original comment by DrSamm...@gmail.com
on 2 Nov 2012 at 2:38
Hi Gary
I've used macports to install boost and it's dependencies:
The following ports are currently installed:
boost @1.51.0_1+no_single+no_static (active)
boost-build @2.0-m12_2 (active)
boost-jam @3.1.18_0 (active)
bzip2 @1.0.6_0 (active)
expat @2.1.0_0 (active)
icu @49.1.2_0 (active)
libiconv @1.14_0 (active)
zlib @1.2.7_0 (active)
I can see the boost folder and all the .hpp files (in /opt/local/include/boost)
But I'm still getting the same error message when I make all in macs.
Any suggestions? I am very keen to get simulating!
Thanks!
Sam
On 2 Nov 2012, at 13:33, <macs@googlecode.com>
wrote:
Original comment by DrSamm...@gmail.com
on 2 Nov 2012 at 3:24
Sam,
I don't know how macports works, but please follow the new Wiki I put up and
let me know if something fails.
Gary
Original comment by gche...@gmail.com
on 2 Nov 2012 at 4:23
Thanks Gary, I followed your instructions and it seems to have worked, but I
still get this error:
make all
g++ -Wall -g -I /Users/samanthaoloughlin/boost_1_51_0/include -c simulator.cpp
g++ -Wall -g -I /Users/samanthaoloughlin/boost_1_51_0/include -c algorithm.cpp
algorithm.cpp: In member function �void GraphBuilder::build()�:
algorithm.cpp:1275: error: �uint� was not declared in this scope
algorithm.cpp:1275: error: expected `;' before �iSegLength�
algorithm.cpp:1276: error: �iSegLength� was not declared in this scope
make: *** [algorithm.o] Error 1
Do think this matters, or can I ignore it?
Thanks again
Sam
On 2 Nov 2012, at 16:23, <macs@googlecode.com>
wrote:
Original comment by DrSamm...@gmail.com
on 2 Nov 2012 at 5:21
Please check the last version I uploaded. I added a single line to the header
file.
Original comment by gche...@gmail.com
on 2 Nov 2012 at 5:45
Fantastic!
Many thanks
Sam
On 2 Nov 2012, at 17:45, <macs@googlecode.com>
wrote:
Original comment by DrSamm...@gmail.com
on 2 Nov 2012 at 5:55
OK good. I'm closing the issue now.
Original comment by gche...@gmail.com
on 2 Nov 2012 at 7:12
Original issue reported on code.google.com by
DrSamm...@gmail.com
on 2 Nov 2012 at 12:17