Skip to content

Need to make some changes in Makefile #2

Description

@charlielam0615

On Ubuntu 16.04, the compilation failed. Need to 1) add -std=c++11 in CFLAGS in the Makefile 2) switch the order of $(OBJECTS) and $(LDFLAGS) in the linking phase, as is mentioned in this stackoverflow post, "the library that needs symbols must be first, then the library that resolves the symbol."
After these two tweaks the compilation went smoothly :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions