Linux build#1
Open
emmanuel-deloget wants to merge 4 commits intoaigamedev:masterfrom
emmanuel-deloget:linux-build
Open
Linux build#1emmanuel-deloget wants to merge 4 commits intoaigamedev:masterfrom emmanuel-deloget:linux-build
emmanuel-deloget wants to merge 4 commits intoaigamedev:masterfrom
emmanuel-deloget:linux-build
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.