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

gcc7: some conda builds are failing #20

Closed
looooo opened this issue Nov 22, 2018 · 3 comments
Closed

gcc7: some conda builds are failing #20

looooo opened this issue Nov 22, 2018 · 3 comments

Comments

@looooo
Copy link
Contributor

looooo commented Nov 22, 2018

please have a look at:
conda-forge/netgen-feedstock#14

For linux we build for gcc (4.8 / 7.3) x py (2.7 / 3.6 / 3.7). So this is alread a quite big build-matrix. Maybe someone can have a look and give some hints for the problems. Maybe some modifications in the source could make netgen more solid for compiling on different system / distros.

@looooo
Copy link
Contributor Author

looooo commented Nov 27, 2018

I am now trying to build everything without visualization. But there is still a problem with the visuzalization-stuff:

-O3 -DNDEBUG -fPIC   -std=gnu++14 -MD -MT libsrc/occ/CMakeFiles/occvis.dir/vsocc.cpp.o -MF libsrc/occ/CMakeFiles/occvis.dir/vsocc.cpp.o.d -o libsrc/occ/CMakeFiles/occvis.dir/vsocc.cpp.o -c ../libsrc/occ/vsocc.cpp
In file included from ../libsrc/include/../visualization/visual.hpp:20:0,
                 from ../libsrc/include/visual.hpp:1,
                 from ../libsrc/occ/vsocc.cpp:25:
../libsrc/include/../visualization/../include/incopengl.hpp:12:14: fatal error: GL/glu.h: No such file or directory
 #    include <GL/glu.h>

I guess this file shouldn't be part of the build for -DUSE_GUI=OFF \

@looooo
Copy link
Contributor Author

looooo commented Nov 28, 2018

should be fixed with #21

But now I am seeing another problem for osx:

import: 'netgen'
Traceback (most recent call last):
  File "/Users/distiller/miniconda3/conda-bld/netgen_1543334948821/test_tmp/run_test.py", line 2, in <module>
    import netgen
  File "/Users/distiller/miniconda3/conda-bld/netgen_1543334948821/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.7/site-packages/netgen/__init__.py", line 17, in <module>
    from . import libngpy
ImportError: dlopen(/Users/distiller/miniconda3/conda-bld/netgen_1543334948821/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.7/site-packages/netgen/libngpy.so, 2): Symbol not found: _Ng_Redraw

@luzpaz
Copy link
Contributor

luzpaz commented Jan 6, 2019

@looooo looooo closed this as completed May 9, 2020
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