Skip to content

Conversation

DuFF14
Copy link
Member

@DuFF14 DuFF14 commented May 6, 2015

Stuck on trying to get past this error: https://gist.github.com/DuFF14/e40e07deb07988f062c4#file-gistfile1-txt-L308

Tried this solution but no luck: http://stackoverflow.com/questions/12179154/undefined-reference-to-boostprogram-optionsoptions-descriptionm-default-l

Also concerned about this line here: https://gist.github.com/DuFF14/e40e07deb07988f062c4#file-gistfile1-txt-L148
If I add a JSONCPP_LIBRARY arg with a path to the directory it installs to, this notification disappears, but the error on line 136 remains (Local JSONCPP submodule not found. To download with Git, run git submodule update --init)

@rpavlik
Copy link
Member

rpavlik commented May 6, 2015

The "local jsoncpp submodule not found" is just a warning that VRPN itself won't have json support - that happens on PC too, and is not a problem.

I am getting a "reference is not a tree" on the osvr-core submodule (I think): did you make a commit in one of the submodules without pushing it? (You have to commit and push the submodule itself, since it's a git repo, as well as commit and push the currently-active tree for that submodule in superproject)

@rpavlik
Copy link
Member

rpavlik commented May 6, 2015

And the boost error looks like it's trying to link against your host/native version of boost (Mac) rather than the android version - I bet you tripped on one of the "find_host_package" bad-advices out there on the internets. (That works for people using header-only Boost libraries since there's no difference between the headers on the different platforms - they're not actually getting the "boost for android" they tried to build - but is flawed at the conceptual level)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line and ones like it only make sense if you are providing multiple options - it serves to populate the dropdown in the CMake GUI.

@rpavlik
Copy link
Member

rpavlik commented May 6, 2015

Closing in favor of branch with fixed email.

@rpavlik rpavlik closed this May 6, 2015
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.

2 participants