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

Problem installing Cando #7

Open
kellonb opened this issue Feb 13, 2020 · 6 comments
Open

Problem installing Cando #7

kellonb opened this issue Feb 13, 2020 · 6 comments

Comments

@kellonb
Copy link

kellonb commented Feb 13, 2020

Dear Developers,

I am at the build stage. I have installed the dependencies of Cando,
./build-more-systems.sh configure build_cboehm install_cboehm

I am getting an error at this point.
../../include/clasp/core/array.h:1058:85: error: no member named 'initial_element_from_object' in 'geom::SimpleVectorCoordinate_O'
gctools::smart_ptr<simple_type> newData = simple_type::make(size,simple_type::initial_element_from_object(initElement,initElementSupplied),true,initialContentsSize,&(*sv)[start]);

Can you help with this?

@Bike
Copy link
Member

Bike commented Feb 18, 2020

Are you using the dev branch for both Cando and Clasp?

@kellonb
Copy link
Author

kellonb commented Feb 18, 2020

I am using the dev branch for Clasp. I clone clasp after installing the dependencies and did a branch checkout from dev and git pull. After that I followed the instructions on the installation page for cando

@Bike
Copy link
Member

Bike commented Feb 18, 2020

I ask because initial_element_from_object is a function that was removed several months ago. Your error specifically looks like your Clasp is from that time ago and still wants that function, but your Cando is too new to have it. Could you double check that your Clasp is up to date? If you run git log -n 1 --oneline in the Clasp source directory, what do you see? It should be one of the recent commits here: https://github.com/clasp-developers/clasp/commits/dev

@kellonb
Copy link
Author

kellonb commented Feb 18, 2020

37e76f536 (HEAD -> dev, origin/dev) Add include file

1 similar comment
@kellonb
Copy link
Author

kellonb commented Feb 18, 2020

37e76f536 (HEAD -> dev, origin/dev) Add include file

@Bike
Copy link
Member

Bike commented Feb 19, 2020

Alright, well, I just checked that commit, and even the text initial_element_from_object appears nowhere in the source. I don't know why you are seeing this error. Try running ./waf distclean first to ensure everything from any previous builds is removed?

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