Comments (7)
The openmp errors should be fixed in the current version. The problem was a missing compiler flag in the debug build. However, I cannot reproduce the C++11 problem.
from splishsplash.
So,how to solve the openmp errors?
from splishsplash.
Okay, so the errors related to openmp are gone now, thanks! However, I still get the following error:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
I've tried setting the cmake environment variables to reflect the ISO C++ 2011 standard, but no luck. It should be noted that I don't have much experience with cmake, so it's possible I'm overlooking something trivial. I'm building the project using:
cmake CMakeLists.txt -DCMAKE_CXX_COMPILER="/usr/bin/g++" -DCMAKE_CXX_FLAGS="-std=c++11" -DCMAKE_CXX_STANDARD=11
from splishsplash.
This is strange since I set the C++11 standard in the common.cmake file:
set(CMAKE_CXX_STANDARD 11)
from splishsplash.
So, I' building from a new system now: Linux x86_64, 4.15.0-42-generic, Ubuntu 18.04.01, g++ 7.3.0.
ISO C++ problems appears to be gone, however the OpenMP errors are back:
SPlisHSPlasH/Utilities/PoissonDiskSampling.cpp:127:25: error: ‘omp_get_max_threads’ was not declared in this scope
I'm giving up on this now, maybe next year. Merry Christmas 🎄
from splishsplash.
Try to build it in release mode:
cmake -DCMAKE_BUILD_TYPE=Release
from splishsplash.
Building with cmake -DCMAKE_BUILD_TYPE=Release
works. Thanks for helping! Can't wait to play with this during Christmas holidays 😃
Closing...
from splishsplash.
Related Issues (20)
- A compile error and how to solve it HOT 2
- Water column loses volume without increase in density with WCSPH
- Installation does not work using instructions in docs
- Add arm64 Apple Mac M1 architecture to the build matrix
- Benchmarks using different CPUs, GPUs and RAM size.
- deformable solids attached to rigid bodies
- Adding a cff file for citation
- windows GUI interface is not stable HOT 5
- Get force and torque applied to rigid body by fluid
- Installing python bindings after building from source fails due to already existing "build" directory
- .bgeo output files not working with houdini or vray HOT 3
- About the boundary handling with MLS in DFSPH
- Defining a Big geometry in one file and want from splishsplash to recognize all the parts HOT 4
- Example on how to read rigid body bin files
- Windows CMake issue HOT 4
- Running splishsplash in DOS environment
- MySPH does not work in pySPlisHSPlasH HOT 2
- How to Change Phase
- Build Error CuNSearch HOT 1
- VS Build Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splishsplash.