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

How to use writeuser class ? #160

Open
TualK opened this issue Jul 27, 2023 · 0 comments
Open

How to use writeuser class ? #160

TualK opened this issue Jul 27, 2023 · 0 comments

Comments

@TualK
Copy link

TualK commented Jul 27, 2023

Hello,

I downloaded NGsolve binary (v 6.2.2304) in order to use nglib.lib. I downloaded Python 3.7. The binary netgen works fine but I wanted to use the lib without using the interface.

So I created an empty Visual Studio 2017 project and copied the file ng_stl.cpp from here as my main file.
Eventhough I included nglib.h and nblig.lib in the project properties, I have an error for every NGLIB_API in nglib.h. I cannot compile my project. It seems that every function in nglib.h with NGLIB_API is not defined in ng_stl.cpp . I have the same issue with nglib_occ.hpp and nglib_occ.cpp. Is there some compiling properties that I forgot to add ?

I have a pretty similar issue, with DLL_HEADER instead of NGLIB_API, in "writeuser" files.

Thanks!

@TualK TualK changed the title Issue understanding NGLIB_API use Error STL Triangle Degenerated Aug 3, 2023
@TualK TualK changed the title Error STL Triangle Degenerated How to use writeuser class ? Aug 3, 2023
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