Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the openwrt "packages" folder? #2

Open
jfrux opened this issue Feb 7, 2013 · 7 comments
Open

Where is the openwrt "packages" folder? #2

jfrux opened this issue Feb 7, 2013 · 7 comments

Comments

@jfrux
Copy link

jfrux commented Feb 7, 2013

Not finding it anywhere...
I'm running an actual bleeding edge version of OpenWRT instance via VirtualMin?

Not sure where to put the package?

@jfrux
Copy link
Author

jfrux commented Feb 7, 2013

fyi, this is what I used to install my own OpenWRT instance? http://ediy.com.my/index.php/blog/item/31-openwrt-in-virtualbox

@hubaiz
Copy link
Owner

hubaiz commented Feb 7, 2013

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 [email protected]:

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//issues/2#issuecomment-13244172.

@jfrux
Copy link
Author

jfrux commented Feb 7, 2013

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?

@hubaiz
Copy link
Owner

hubaiz commented Feb 7, 2013

Check in your /usr/include folder where is libusb.h installed.

On Thu, Feb 7, 2013 at 6:01 PM, Joshua Rountree [email protected]:

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//issues/2#issuecomment-13246147.

@jfrux
Copy link
Author

jfrux commented Feb 7, 2013

Yep, it's installed in /usr/include/libusb-1.0/libusb.h

@jfrux
Copy link
Author

jfrux commented Feb 7, 2013

But... there is no libusb related items within the x86_64-linux-gnu folder...?

@hubaiz
Copy link
Owner

hubaiz commented Feb 7, 2013

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 [email protected]:

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//issues/2#issuecomment-13246444.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants