CNMAT / CNMAT-Externs

CNMAT Max/MSP externals
Other
96 stars 11 forks source link

problems buildin' on Windows 11 x64 #146

Open Nardianian opened 2 months ago

Nardianian commented 2 months ago

On Windows 11 x64 build interrupt with this error cc1: fatal error: src/granubuf~/granubuf~.c: No such file or directory granbuf external is only for Mac (i read this on json list) but i can't find where i can delete this line thanks

ramagottfried commented 2 months ago

hi @Nardianian, how are you building the objects? are you using the makefile?

I see that granubuf~ was removed from the src folder (kind of a newer object than the legacy objects in there). If so, then I think you probably need to remove it from the list of objects to build in the Makefile. does that fix it?

or, if you are interested specifically in granubuf, there is a newer mc version that as far as I can tell should build fine for Windows (but I don't have a windows machine to test on at the moment) -- let me know and I can point you to that.

Nardianian commented 2 months ago

thanks for your reply Where is the newer mc version? I build with cygwin64 as administrator, with these command make win64 I followed the directions in the readme here in the repo. I not find any granubf word into makefile, i don't fid where i can remove it. Granubf is named as granubuf.mxo in the default-package-info.json file. Thanks

ramagottfried commented 2 months ago

ok, for building the CNMAT-Externals with the Makefile, try removing granubuf~ from the list, here: https://github.com/CNMAT/CNMAT-Externs/blob/main/Makefile#L64

the newest and recently improved granubuf.mc~ is not yet pushed to github, but the semi-recent version is here: https://github.com/ramagottfried/tilde

Nardianian commented 2 months ago

thanks i was readin' in the wrong line now build is ok but with many warnings also the libo repo is missing osc_expr_scanner.h i duplicate .l file (osc_expr_scanner.L) and renamed it as .h to compile cnmat externals, after find the right line to delete granubuf (because here it's mac only external code) from the makefile, thanks to you

ramagottfried commented 2 months ago

ok good that it's building! re: osc_expr_scanner.l, if I remember correctly that is created when you build libo, which is a requirement for some objects -- so best is to build libo first, and then the CNMAT-Externals.