Open jfrux opened 11 years ago
fyi, this is what I used to install my own OpenWRT instance? http://ediy.com.my/index.php/blog/item/31-openwrt-in-virtualbox
You must follow these howto's to checkout and build OpenWrt and packages.
http://wiki.openwrt.org/doc/howto/buildroot.exigence http://wiki.openwrt.org/doc/howto/build
If you wanna just test I think you would be better of with installing some Linux distro into a virtual machine and just compiling it there as building OpenWrt can take over a 30min depending what machine you have. (In my VritualBox linux machine it took ~30min using 4 cores)
Here is the command to compile on a Linux installation (you need the libusb-1.0-dev package to build).
gcc -Wall DslrDashboardServer.cpp -I/usr/include/libusb-1.0/ -L/usr/lib /usr/lib/i386-linux-gnu/libusb-1.0.a -lpthread -lrt -o ddserver
On Thu, Feb 7, 2013 at 5:32 PM, Joshua Rountree notifications@github.comwrote:
fyi, this is what I used to install my own OpenWRT instance? http://ediy.com.my/index.php/blog/item/31-openwrt-in-virtualbox
— Reply to this email directly or view it on GitHubhttps://github.com/hubaiz/DslrDashboardServer/issues/2#issuecomment-13244172.
Alrighty! Unfortunately, now all I have is this problem:
joshua@mccme-ubuntuvbox:~/Projects/DslrDashboardServer/src$ gcc -Wall DslrDashboardServer.cpp -l /usr/include/libusb-1.0/ -L /usr/lib /usr/lib/x86_64-linux-gnu/libusb-1.0.a -lpthread -lrt -o ddserver
In file included from DslrDashboardServer.cpp:20:0:
DslrDashboardServer.h:22:20: fatal error: libusb.h: No such file or directory
compilation terminated.
I installed libusb 1.0 dev but not sure if it's paths are different for this?
Check in your /usr/include folder where is libusb.h installed.
On Thu, Feb 7, 2013 at 6:01 PM, Joshua Rountree notifications@github.comwrote:
Alrighty! Unfortunately, now all I have is this problem:
joshua@mccme-ubuntuvbox:~/Projects/DslrDashboardServer/src$ gcc -Wall DslrDashboardServer.cpp -l /usr/include/libusb-1.0/ -L /usr/lib /usr/lib/x86_64-linux-gnu/libusb-1.0.a -lpthread -lrt -o ddserver In file included from DslrDashboardServer.cpp:20:0: DslrDashboardServer.h:22:20: fatal error: libusb.h: No such file or directory compilation terminated.
I installed libusb 1.0 dev but not sure if it's paths are different for this?
— Reply to this email directly or view it on GitHubhttps://github.com/hubaiz/DslrDashboardServer/issues/2#issuecomment-13246147.
Yep, it's installed in /usr/include/libusb-1.0/libusb.h
But... there is no libusb related items within the x86_64-linux-gnu
folder...?
When you installed the libusb dev it should also installed the libusb package.
Search your /usr/lib folder for libusb. Also check if libusb is installed.
On Thu, Feb 7, 2013 at 6:07 PM, Joshua Rountree notifications@github.comwrote:
But... there is no libusb related items within the x86_64-linux-gnufolder...?
— Reply to this email directly or view it on GitHubhttps://github.com/hubaiz/DslrDashboardServer/issues/2#issuecomment-13246444.
Not finding it anywhere... I'm running an actual bleeding edge version of OpenWRT instance via VirtualMin?
Not sure where to put the package?