hubaiz / DslrDashboardServer

DslrDashboard Server for OpenWrt
GNU General Public License v3.0
160 stars 60 forks source link

Problems whith Compiling on the Raspberry Pi #5

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi,

I'm trying to install the ddserver on a Raspberry Pi but after I cloned the Git I have Problems with the compiling. I tryed the the following: $ g++ -Wall main.cpp communicator.cpp -I/usr/include/libusb-1.0/ -L/usr/lib /usr/lib/arm-linux-gnueabihf/libusb-1.0.a lpthread -lrt -lstdc++ -o ddserver

But it always says: $ g++ -Wall main.cpp communicator.cpp -I/usr/include/libusb-1.0/ -L/usr/lib /usr/lib/arm-linux-gnueabihf/libusb-1.0.a lpthread -lrt -lstdc++ -o ddserver g++: error: lpthread: No such file or directory

I have no Idea what to do and I didn't find anything on google too. I hope you can help me, because a friend showed me that and it's just fantastc. And since I have a Raspberry Pi that I didn't need anymore I wanted to try it out.

PS: Sorry for my bad english and that (maybe) stupid question

hubaiz commented 10 years ago

Hi

There is a small error in README

you are missing the '-' before lpthread

g++ -Wall main.cpp communicator.cpp -I/usr/include/libusb-1.0/ -L/usr/lib /usr/lib/arm-linux-gnueabihf/libusb-1.0.a -lpthread -lrt -lstdc++ -o ddserver

Zoltan

On Sat, May 24, 2014 at 11:10 AM, Frazer1 notifications@github.com wrote:

Hi,

I'm trying to install the ddserver on a Raspberry Pi but after I cloned the Git I have Problems with the compiling. I tryed the the following: $ g++ -Wall main.cpp communicator.cpp -I/usr/include/libusb-1.0/ -L/usr/lib /usr/lib/arm-linux-gnueabihf/libusb-1.0.a lpthread -lrt -lstdc++ -o ddserver

But it always says: $ g++ -Wall main.cpp communicator.cpp -I/usr/include/libusb-1.0/ -L/usr/lib /usr/lib/arm-linux-gnueabihf/libusb-1.0.a lpthread -lrt -lstdc++ -o ddserver g++: error: lpthread: No such file or directory

I have no Idea what to do and I didn't find anything on google too. I hope you can help me, because a friend showed me that and it's just fantastc. And since I have a Raspberry Pi that I didn't need anymore I wanted to try it out.

PS: Sorry for my bad english and that (maybe) stupid question

— Reply to this email directly or view it on GitHubhttps://github.com/hubaiz/DslrDashboardServer/issues/5 .

ghost commented 10 years ago

Thanks a lot Now it's working :D