You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build entire G+Smo with gsUnstructuredSplines with make (using gcc 11.2), there is an example from gsUnstructuredSplines that does not compile and several warnings.
In file included from [...]/gismo/optional/gsUnstructuredSplines/examples/kirchhoff-Love_weak_multipatch_buckling_example.cpp:23:0:
[...]/gismo/optional/gsSpectra/gsSpectra.h:23:10: fatal error: Spectra/include/Spectra/SymEigsSolver.h: No such file or directory
#include <Spectra/include/Spectra/SymEigsSolver.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[...]/gismo/optional/gsUnstructuredSplines/examples/biharmonic2_eigenvalue_example.cpp:273:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
GISMO_ENSURE((omegas.size()>=values.rows()),"Too few analytical eigenvalues");
~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[...]/gismo/optional/gsUnstructuredSplines/examples/create_multipatch.cpp:110:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index_t p=0; p!=mp.nPatches(); p++)
~^~~~~~~~~~~~~~~
create_multipatch.cpp
[...]/gismo/optional/gsUnstructuredSplines/examples/create_multipatch.cpp:112:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (hbasis = dynamic_cast<gsHTensorBasis<2,real_t> *>(&mp.basis(p)))
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
create_multipatch.cpp
[...]/gismo/optional/gsUnstructuredSplines/examples/create_multipatch.cpp:127:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index_t p=0; p!=mp.nPatches(); p++)
~^~~~~~~~~~~~~~~
biharmonic_planar_example.cpp
[...]/gismo/optional/gsUnstructuredSplines/examples/biharmonic_planar_example.cpp:416:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index_t p = 0; p != geom.nPatches(); p++)
~~^~~~~~~~~~~~~~~~~~
biharmonic_planar_example.cpp
[...]/gismo/optional/gsUnstructuredSplines/examples/biharmonic_planar_example.cpp:487:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index_t p = 0; p != geom0.nPatches(); p++)
~~^~~~~~~~~~~~~~~~~~~
biharmonic_planar_eigenvalue_example.cpp
[...]/gismo/optional/gsUnstructuredSplines/examples/biharmonic_planar_eigenvalue_example.cpp:553:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index_t p = 0; p!=mp.nPatches(); p++)
~^~~~~~~~~~~~~~~
[...]/gismo/optional/gsUnstructuredSplines/examples/biharmonic_planar_eigenvalue_example.cpp:572:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
GISMO_ENSURE(omegas.size()>=values.rows(),"Too few analytical eigenvalues");
~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[...]/gismo/optional/gsUnstructuredSplines/examples/biharmonic_surface2_example.cpp:1069:10: warning: variable ‘laplace_u_ex’ set but not used [-Wunused-but-set-variable]
auto laplace_u_ex = ev.getVariable(laplace, G);
^~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
You are correct. external/Spectra was still on my machine, hence it was fine, eventhough I disabled Spectra. Now I added the ifdefs.
I added it in PR #21 , closing this issue officially. The commits in main before should have also been in a separate PR, but I was too fast -_-
When I build entire G+Smo with gsUnstructuredSplines with
make
(using gcc 11.2), there is an example from gsUnstructuredSplines that does not compile and several warnings.The text was updated successfully, but these errors were encountered: