irllabs / ml-lib

A machine learning library for Max and Pure Data
Other
274 stars 40 forks source link

Issues compiling in Xcode #131

Closed retiutut closed 5 years ago

retiutut commented 7 years ago

I am having a multitude of problems and error codes trying to compile ml-lib for Max. I think the PureData externals were able to compile, but not the ones for Max (which is what I need). I keep getting the error:

/Users/Richard/Desktop/Source Code/ml-lib-master/sources/ClassificationModules/BAG/BAG.h:52:2: Expected member name or ';' after declaration specifiers

screen shot 2017-02-20 at 6 07 56 pm

I'm using latest version of Xcode with Max and PureData installed. Am I missing a library or using the wrong settings to compile?

jamiebullock commented 5 years ago

Hi @retiutut, sorry for the massively slow reply. Did you ever get this working? If not, if you're still interested in building ml-lib from source, perhaps you could try the latest sources and let me know if this is still an issue.

retiutut commented 5 years ago

I'll try to compile from the dev branch using the new Xcode later. In other news, I did download the latest release and tested the compiled Max objects with Max 8 and the library seems to work!

jamiebullock commented 5 years ago

Hi again. I'm closing this now unless further build issues are reported.

retiutut commented 5 years ago

Sorry for the slow response. I tried building from the master branch and it fails with the latest version of Xcode and OS X Mojave. Here is a screenshot and log:

screen shot 2018-12-17 at 9 58 38 am

ml-lib build fail 12-17-18.txt

ml-lib analyze build all max 12-17-18.txt

There was also an option at some point to update from 32 to 64 bit. I clicked "Perform Changes" and those errors went away.

jamiebullock commented 5 years ago

Thanks @retiutut. I'm reopening this. "Multiple commands produce ..." that's an interesting error! Not seen that one before. Will look into it.

retiutut commented 5 years ago

Closing this issue since the 64-bit ml-lib is now in the Max Package manager.