Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
This is the same thing as before.  Before reporting a bug, take a little time 
first.  Clearly in this case, you are missing the linux/hidraw.h header; this 
is part of the kernel headers, which you will need for your toolchain/target 
system.

Yes, we could document a little better the library requirements here.  

Regards.

Original comment by [email protected] on 6 Sep 2011 at 2:08

from open-zwave.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Sorry, I am quite new to linux (first of all), to C/C++ coding and 
cross-compilation, so have to ask such questions. Hope, this is right place for 
them. I'll try to find hidraw.h and compile that for my target system.

I also tried to compile hidapi and got the following errors:

user@ubuntu1004desktop:~/open-zwave/cpp/hidapi/linux$ make
mipsel-linux-gcc -I../hidapi -Wall -g -c `pkg-config libusb-1.0 --cflags` 
hid-libusb.c -o hid-libusb.o
hid-libusb.c:44:19: error: iconv.h: No such file or directory
hid-libusb.c: In function 'get_usb_string':
hid-libusb.c:313: error: 'iconv_t' undeclared (first use in this function)
hid-libusb.c:313: error: (Each undeclared identifier is reported only once
hid-libusb.c:313: error: for each function it appears in.)
hid-libusb.c:313: error: expected ';' before 'ic'
hid-libusb.c:341: error: 'ic' undeclared (first use in this function)
hid-libusb.c:341: warning: implicit declaration of function 'iconv_open'
hid-libusb.c:351: warning: implicit declaration of function 'iconv'
hid-libusb.c:361: warning: implicit declaration of function 'wcsdup'
hid-libusb.c:361: warning: assignment makes pointer from integer without a cast
hid-libusb.c:364: warning: implicit declaration of function 'iconv_close'
make: *** [hid-libusb.o] Error 1

Looks like I also should find iconv.h and compile that, right?

Original comment by [email protected] on 6 Sep 2011 at 2:50

from open-zwave.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
This is not really the right place.  I assume you're targeting DD-wrt.  You 
should consult its forums for general questions on cross compilation for your 
system, especially if you are a novice.  If you think there are specific issues 
related to cross-compilation (which works fine for me on OpenWrt) then you can 
bring them here.

Original comment by [email protected] on 6 Sep 2011 at 3:24

  • Changed state: Invalid

from open-zwave.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I am targeting another firmware (wl500g.info). 
I've raised the same questions at according forum, but I am not getting answers 
there since this library is not so popular as well as open z-wave not popular.

Could you please publish your steps (probably, as wiki article) to compile that 
for OpenWrt? Or publish binary version?
Thanks a lot in advance.

Original comment by [email protected] on 6 Sep 2011 at 3:41

from open-zwave.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
My binaries are of no use to you.  The openzwave build is not special in any 
way.  I refer you to previous discussion on the list about this matter:

http://groups.google.com/group/openzwave/browse_thread/thread/cf1f970962714d9d/a
93a9ccc3f6039c9?lnk=gst&q=openwrt#

Adding openzwave to any cross compilation environment is not different to 
adding anything else.  If you have further openzwave specific issues, then 
start a new thread on the mailing list.

Original comment by [email protected] on 6 Sep 2011 at 3:59

from open-zwave.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.