Skip to content

Corrected issues when compiling on Linux#7

Open
LucasCampos wants to merge 2 commits into
idmillington:masterfrom
LucasCampos:master
Open

Corrected issues when compiling on Linux#7
LucasCampos wants to merge 2 commits into
idmillington:masterfrom
LucasCampos:master

Conversation

@LucasCampos
Copy link
Copy Markdown

There were two problems when compiling aicore

i) NULL not defined
ii) Programs were not being compiled with -lrt.

The first issue was solved by adding #include to aicore/include/aicore/aicore.h.
The second issed was solved by adding

IF(UNIX)
target_link_libraries(aicore -lrt)
ENDIF(UNIX)

to aicore/build/CMakeLists.txt.

These errors were found and solved using Ubuntu 12.04, g++ 4.6.3 and cmake 2.8.7

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.

1 participant