Skip to content

Need to make some changes in Makefile #2

@charlielam0615

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 :)

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