Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues on OS X 10.15 #170

Open
anadi198 opened this issue Nov 3, 2019 · 1 comment
Open

Build issues on OS X 10.15 #170

anadi198 opened this issue Nov 3, 2019 · 1 comment

Comments

@anadi198
Copy link

anadi198 commented Nov 3, 2019

error:
out-of-line definition of 'getMinChange' does not match any declaration in
'GRT::MLBase'
Float MLBase::getMinChange() const{
error:
out-of-line definition of 'getRandomiseTrainingOrder' does not match any
declaration in 'GRT::MLBase'
bool MLBase::getRandomiseTrainingOrder() const { return randomiseTrainin...

In a recent merge, bool getUseValidationSet() const; and bool getRandomiseTrainingOrder() const; were commented out inside GRT/CoreModules/MLBase.h.

Uncommenting them removed the make errors.

Was getting errors from fstream inside examples, so had to remove the whole directory for now(since I have to get this working for a project asap). That helped with the make continuing further.

Then finally got errors from all the cpp files inside tools for the #include <GRT/GRT.h>.
Replaced all with #include "../GRT/GRT.h" and that fixed the issue. But I think there was a warning above those includes for this anyway.

@andymule
Copy link

this is right. I uncommented like above. Instead of removing directory (?) i disabled the examples from being built in my cmake options, and replaced all includes like above too. Thanks for the pointers!

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

No branches or pull requests

2 participants