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

Using the FTN95 C++ compiler #32

Closed
pikkedil opened this issue Feb 26, 2019 · 2 comments
Closed

Using the FTN95 C++ compiler #32

pikkedil opened this issue Feb 26, 2019 · 2 comments

Comments

@pikkedil
Copy link

This issue might is related to #28. I have the same difficulties as mentioned in the ticket. I would be able to fix the issue if I can have some guidelines to use another compiler other than the Microsoft C++ compiler.

We use the Silverfrost C++ compiler and can compile the triangle.c source code. The resulting executable works perfectly fine and the basic idea is to combine it with this Python code.

Questions:

  1. Does the Python code requires an executable or a dll? If it requires an executable: what must be the name of the executable and in which directory?
  2. If it requires a dll: Where must I set the compiler options?
@pikkedil pikkedil changed the title Using the the FTN95 C++ compiler Using the FTN95 C++ compiler Feb 26, 2019
@pikkedil
Copy link
Author

pikkedil commented Mar 6, 2019

No response from the site owner. However, at the following site I could get the mesher to work somehow: https://anaconda.org/alges/triangle

@pikkedil pikkedil closed this as completed Mar 6, 2019
@drufat
Copy link
Owner

drufat commented Mar 6, 2019

I have been travelling and had intermittent internet access. If you run 'python setup.py build_ext --inplace --verbose' you should be able to see the exact options that setuptools passes to the compiler to build the library. I believe it should also be possible to tell setuptools to use a compiler other than the default one by setting some environment variables (CC and CXX).

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