slivingston/rrgstar

Failure to build due to missing bin directory

Closed this issue · 2 comments

@slivingston I'm getting linking errors when I try to compile the individual examples. Any thoughts?

Mac OS X 10.6.8
gcc version 4.8.3 (MacPorts gcc48 4.8.3_0)

-Eric

localhost:single_integrator ewolff$ pwd
/Users/ewolff/rrgstar/trunk/examples/standalone/rrt/single_integrator
localhost:single_integrator ewolff$ make
make targets
g++ standalone_rrt_single_integrator.o /Users/ewolff/rrgstar/trunk/examples/standalone/rrt/single_integrator/../../../..//src/smp/external_libraries/kdtree/kdtree.o  -o /Users/ewolff/rrgstar/trunk/examples/standalone/rrt/single_integrator/../../../..//bin/example_standalone_rrt_single_integrator -lm -L /usr/local/lib   
ld: can't open output file for writing: /Users/ewolff/rrgstar/trunk/examples/standalone/rrt/single_integrator/../../../..//bin/example_standalone_rrt_single_integrator, errno=2 for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [/Users/ewolff/rrgstar/trunk/examples/standalone/rrt/single_integrator/../../../..//bin/example_standalone_rrt_single_integrator] Error 1
make: *** [all] Error 2

It is due to the bin directory not existing. I was about to commit an updated Makefile that will make it if necessary.

As of 98c5158, the bin directory is created automatically when invoking trunk/Makefile.