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

Compilation failed on macos #166

Open
haohanyang opened this issue Feb 14, 2025 · 0 comments
Open

Compilation failed on macos #166

haohanyang opened this issue Feb 14, 2025 · 0 comments

Comments

@haohanyang
Copy link

Compiled with C++ 14 standard
Compiler:

Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Error output

[build] /Users/haohanyang/Developer/ogs5/FEM/matrix_class.cpp:1879:16: error: explicit instantiation of 'Math_Group::vec' must occur in namespace 'Math_Group'
[build] template class vec<int>;
[build]                ^
[build] /Users/haohanyang/Developer/ogs5/FEM/matrix_class.h:440:7: note: explicit instantiation refers here
[build] class vec
[build]       ^
[build] /Users/haohanyang/Developer/ogs5/FEM/matrix_class.cpp:1880:16: error: explicit instantiation of 'Math_Group::vec' must occur in namespace 'Math_Group'
[build] template class vec<long>;
[build]                ^
[build] /Users/haohanyang/Developer/ogs5/FEM/matrix_class.h:440:7: note: explicit instantiation refers here
[build] class vec
[build]       ^
[build] /Users/haohanyang/Developer/ogs5/FEM/matrix_class.cpp:1881:16: error: explicit instantiation of 'Math_Group::vec' must occur in namespace 'Math_Group'
[build] template class vec<double>;
[build]                ^
[build] /Users/haohanyang/Developer/ogs5/FEM/matrix_class.h:440:7: note: explicit instantiation refers here
[build] class vec
[build]       ^
[build] 3 errors generated.
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