Hi, thanks for making this programmer. I have the MikroE UNI-DS3 development board with an ATMega128 MCU card. The software configures fine, but when I do make I get this error:
$ make
make all-am
make: Entering directory `/home/tvl/Documents/tools/avrprog2-1.0.0'
g++ -DHAVE_CONFIG_H -I. -DCONFIG_DIR="\"/usr/local/share/avrprog2/\"" -DHOME_CONFIG_DIR="\".avrprog2/\"" -g -O2 -O2 -Wall -std=c++0x -MT src/avrprog2-CAVRDevice.o -MD -MP -MF src/.deps/avrprog2-CAVRDevice.Tpo -c -o src/avrprog2-CAVRDevice.o `test -f 'src/CAVRDevice.cpp' || echo './'`src/CAVRDevice.cpp
src/CAVRDevice.cpp: In static member function ‘static void CAVRDevice::listDevices()’:
src/CAVRDevice.cpp:180:38: error: ‘class boost::filesystem3::path’ has no member named ‘compare’
src/CAVRDevice.cpp:194:38: error: ‘class boost::filesystem3::path’ has no member named ‘compare’
make: *** Error 1
make: Leaving directory `/home/tvl/Documents/tools/avrprog2-1.0.0'
make: *** Error 2
I run Fedora 15 and have boost and boost-devel version 1.46.0 (3.fc15) installed. What's wrong/missing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-12
It compiles on Ubuntu 10.10 (virtualbox install). I installed packages "make gcc g++ doxygen graphviz binutils-dev libusb-1.0-1-dev libboost-filesystem-dev". But my primary OS is Fedora, would like to make it work there as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, thanks for making this programmer. I have the MikroE UNI-DS3 development board with an ATMega128 MCU card. The software configures fine, but when I do make I get this error:
$ make
make all-am
make: Entering directory `/home/tvl/Documents/tools/avrprog2-1.0.0'
g++ -DHAVE_CONFIG_H -I. -DCONFIG_DIR="\"/usr/local/share/avrprog2/\"" -DHOME_CONFIG_DIR="\".avrprog2/\"" -g -O2 -O2 -Wall -std=c++0x -MT src/avrprog2-CAVRDevice.o -MD -MP -MF src/.deps/avrprog2-CAVRDevice.Tpo -c -o src/avrprog2-CAVRDevice.o `test -f 'src/CAVRDevice.cpp' || echo './'`src/CAVRDevice.cpp
src/CAVRDevice.cpp: In static member function ‘static void CAVRDevice::listDevices()’:
src/CAVRDevice.cpp:180:38: error: ‘class boost::filesystem3::path’ has no member named ‘compare’
src/CAVRDevice.cpp:194:38: error: ‘class boost::filesystem3::path’ has no member named ‘compare’
make: *** Error 1
make: Leaving directory `/home/tvl/Documents/tools/avrprog2-1.0.0'
make: *** Error 2
I run Fedora 15 and have boost and boost-devel version 1.46.0 (3.fc15) installed. What's wrong/missing?
It compiles on Ubuntu 10.10 (virtualbox install). I installed packages "make gcc g++ doxygen graphviz binutils-dev libusb-1.0-1-dev libboost-filesystem-dev". But my primary OS is Fedora, would like to make it work there as well.
Hi,
thanks for the report.
avrprog2 will move to boost filesystem version 3 soon. Then it will also compile on fedora 15.
Regards Andreas
… In the meantime maybe it helps to add
in the header file "avrprog.h"
So, now i made the changes. Please checkout the version in the trunk tree.
For building you need autoconf and automake.
Follow these steps:
I did what you suggested, but the compilation failed:
Next, I did the following and that made the compile work:
Programming works too, I just tried with two test programs. Thanks! :-)
Interessting, on my Fedora test installation (32 bit) it compiles without your modifications. Do you use a 64 bit system?
No, I have a 32bit system.
If you need anything else just send me a direct mail at tom$ctors,net. That may work faster. ;-)