Comments (7)
Thanks for report and solution.
r90 should fix this issue, code review wanted.
Regarding tools that use some bitutils.h functions, that's not a libbitutils but
libnfc :-), so theses tools should not use theses functions, or theses functions
should be macros.
Original comment by [email protected]
on 3 Sep 2009 at 3:28
- Changed state: Fixed
from libnfc.
Well, but they do. And they become part of libnfc at compile time of course.
Attached
patch fixes Windows building and adds the exports which are required by some
tools. I
wish they weren't needed :-)
Windows does not have usleep, but needs Sleep instead.
Original comment by fkooman%[email protected]
on 3 Sep 2009 at 6:00
Attachments:
from libnfc.
And what about wanting to use C++ on Windows? This is not taken care of by your
approach?
I'm playing way too much with Windows! I don't even use it...
Original comment by fkooman%[email protected]
on 3 Sep 2009 at 6:01
from libnfc.
Hey Fkooman,
Patch have been applied in r92, r93 and r94. Thank you.
About wanting to use C++ on Windows, it seems that "__cplusplus" is also
defined by
Windows C++ compilers (according to web search), so LIBNFC_EXPORT will put
"extern
"C"" as expected. But maybe Windows C++ compiler needs specific code ?
Original comment by [email protected]
on 4 Sep 2009 at 9:04
from libnfc.
My point was that what if you need both the DLL exports and the C++ extern "C"
thingy.
I don't pretend to understand how it works for C++, but it is needed in front
of all
functions as well? So now you can either have DLL exports or C++ support...
Original comment by fkooman%[email protected]
on 4 Sep 2009 at 9:34
from libnfc.
Can you have a look at r97: considering your point, I had try to handle
LIBNFC_EXPORT
define another way.
Original comment by [email protected]
on 4 Sep 2009 at 2:06
- Added labels: OpSys-Windows
from libnfc.
That seems nice! Although I have no way of testing this with C++ apps, maybe
the dude
of Issue 16 can confirm this. Maybe reopen his issue until he confirms fixed.
Original comment by fkooman%[email protected]
on 4 Sep 2009 at 9:03
from libnfc.
Related Issues (20)
- SAK value problem HOT 1
- P2P using NDEP example fails on to DeSelect HOT 1
- No NFC device found on Intel Ultrabook HOT 6
- Support higher speeds for Type A tags HOT 1
- Add cmake config files HOT 1
- Timeout SCL3711 mfoc HOT 2
- list HOT 1
- error libnfc.chip.pn53x Unexpected PN53x reply!
- ./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr HOT 5
- Wrong open mode for file descriptor 4 in utils/nfc-relay-picc.c
- cmake soversion doesn't match autotools
- nfc-mfsetuid: Write complete Block0, instead of onle UID
- I am new to libnfc stuff , could anyone provide me with some links where I can learn more about implementing libnfc on raspberry pi? thank you in advance
- Invalid RDR_to_PC_DataBlock frame with ACR122U HOT 1
- Support for ACS ACR1251U Reader HOT 1
- udev rule is executed to early
- libnfc tries to access a smartcard reader HOT 2
- Patch for compilating under Cygwin HOT 1
- PN532 frame preamble parsing shortcoming
- libnfc is now officially on GitHub
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libnfc.