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

problems buildin' on Windows 11 x64 #146

Open
Nardianian opened this issue Jun 18, 2024 · 5 comments
Open

problems buildin' on Windows 11 x64 #146

Nardianian opened this issue Jun 18, 2024 · 5 comments

Comments

@Nardianian
Copy link

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
Copy link
Member

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
Copy link
Author

Nardianian commented Jun 18, 2024

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
Copy link
Member

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
Copy link
Author

Nardianian commented Jun 18, 2024

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
Copy link
Member

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.

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