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

Unknown exception error #2

Closed
behzaadh opened this issue Oct 11, 2019 · 2 comments
Closed

Unknown exception error #2

behzaadh opened this issue Oct 11, 2019 · 2 comments

Comments

@behzaadh
Copy link
Contributor

Hi Ehsan,

Why do I receive an "Unknown exception" error when my code reaches 934 in the PhreeqcRM class? this line calls function in C shared library as shown in the following line
status = calllib('libphreeqcrm','RM_RunFile', obj.id, workers, initial_phreeqc, utility, chem_name)

@simulkade
Copy link
Owner

This runs an input Phreeqc file. See if you can run the specified input file in phreeqc itself. This version from Tony Appelo is the one that I use myself.

@behzaadh
Copy link
Contributor Author

The problem comes from the compiler. Installing Visual C++ Redistributable for VC 2015 does not help. The solution is that C++ tools from visual studio installer must be installed.

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