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

Eigen::Matrix3f A; gives no matching constructor for initialization of 'Eigen::Matrix3f' #500

Open
RajS999 opened this issue Oct 23, 2023 · 0 comments

Comments

@RajS999
Copy link

RajS999 commented Oct 23, 2023

I installed eigen, jupyterlab and xeus-cling as follows:

conda install -c conda-forge eigen
conda install -c conda-forge jupyterlab 
conda install -c conda-forge xeus-cling 

Then I started jupyter lab as follows:

~/workspaces/conda_py310_jupyter$ jupyter lab . 

Then I tried following in new C++ notebook:

#include <eigen3/Eigen/Core>
Eigen::Matrix3f A;

But it gives me following error

input_line_27:2:18: error: no matching constructor for initialization of 'Eigen::Matrix3f' (aka 'Matrix<float, 3, 3>')
 Eigen::Matrix3f A;
                 ^
Interpreter Error:

Here is the screenshot:
image

Here is the yaml file of my conda environment (renamed to have txt extension since github does not allow to upload yaml):
conda_env_py310.txt

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

1 participant