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

Linux build #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Linux build #1

wants to merge 4 commits into from

Conversation

emmanuel-deloget
Copy link

Adds a Makefile for linux, and fix a few small things regarding C++ headers.

The Makefile allows one to build the libbtsk.so library, as well as btsk-test - the library test program.
Variable V used on the command line allows one to see the full build log.

Build-tested with both g++-4.9 and clang++. The built btsk-test program reports no error.

Not that stdint.h is going to be dangerous, but cstdint put the
right things in the rights place (i.e. it put all newly defined
types into namespace std).
It seems that MSVC is not impacted by this change but gcc (and clang)
are, so add the correct include to fix "undefined symbol" errors
when using these compilers.
The Makefile has been tested with GNU make.
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

Successfully merging this pull request may close these issues.

None yet

1 participant