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

Error CS0234: 'Processors' namespace not found in 'GeometricAlgebraFulcrumLib' #1

Open
jorgeven98 opened this issue Jun 30, 2023 · 3 comments

Comments

@jorgeven98
Copy link

When attempting to use the provided examples of the GeometricAlgebraFulcrumLib library in Windows with Visual Studio Code, I consistently encounter the following error: "CS0234: The type or namespace 'Processors' does not exist in the namespace 'GeometricAlgebraFulcrumLib' (are you missing an assembly reference?)" It appears that the example is not detecting the libraries used by the GeometricAlgebraFulcrumLib library. As a beginner in C#, I would greatly appreciate any guidance on installing and using the library.

@ga-explorer
Copy link
Owner

Dear Jorge,
Thank you for trying out the library. It seems you tried to execute some sample code on the Readme page of the repository, I'm sorry I haven't updated this code in a while, I'm continually refactoring the library code, and I should also update the description in the landing page. You can, however, try the samples here https://github.com/ga-explorer/GeometricAlgebraFulcrumLib/tree/main/GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib.Samples

If you try a sample and still have any problems, please let me know so I could help. I will try to update the code in the Readme page so this is not a problem in the future, thanks again.

@jorgeven98
Copy link
Author

Thank you for your prompt response and providing an alternative location for the samples. Unfortunately, I encountered another issue when attempting to build the project from the GeometricAlgebraFulcrumLib.Samples directory. I consistently receive the following error: "error CS0246: The type or namespace name 'Expr' could not be found (are you missing a using directive or an assembly reference?)".

Apologies for reaching out again, but I need your help in resolving this issue. It seems like there's a missing reference or using directive for the 'Expr' type.

Thank you for your support, and I'm looking forward to your guidance.

Best regards,
Jorge

@ga-explorer
Copy link
Owner

You are welcome at any time Jorge,
This issue is related to Wolfram Mathematica, you have two alternatives to solve it:

1- If you have Wolfram Mathematica installed, please add a reference in the projects giving this error to the Wolfram.NETLink.dll library. On my local device it's located at: "C:\Program Files\Wolfram Research\Mathematica\13.1\SystemFiles\Links\NETLink"

2- If you don't want to use Wolfram Mathematica for symbolic processing, I've just refactored the code in the solution so that all code that needs Wolfram Mathematica is only inside two separate projects: "GeometricAlgebraFulcrumLib.Mathematica" and "GeometricAlgebraFulcrumLib.SymbolicApplications". Please download the latest version of the library from GitHub, and open the solution and remove these two projects from the solution, this should be working fine without the need for Wolfram Mathematica, but of course no symbolic processing is possible now.

If you have any other issues at any time, please don't hesitate to contact me, I will try to help as soon as possible.

Best regards,
Ahmad

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