Comments (5)
I have straced SoalFilm3D and:
openat(AT_FDCWD, "assets/twobubbles.txt", O_RDONLY) = 3
read(3, "scene\t\t\ttwobubbles\ntime-step\t\t0."..., 8191) = 684
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
it seems that it is crashing reading the config file. Could this be an encoding problem too?
Best Regards,
Can
from soapfilm3d.
The working directory should be exactly the directory containing assets
. If so I'm not sure what's going on there.
You may find the config file reader at Options::parseOptionFile
in SimOptions.cpp
, which is a pretty standard file reading function with std::ifstream
. Maybe you can print something to find which line causes the crashing?
from soapfilm3d.
If the output-png* and output-mesh* lines from each config file is removed, the program works, showing a wireframe bubble, and runs the simulation when space is pushed.
Maybe I have a library missing relating to png export? Would it compile if dependencies were missing and raise a run time error?
I also had to copy Apps directory under assets, so it stopped complaining about not find the env and PR files.
Also, in render mode 2 and 3, I got some black surfaces. Is this normal? I get a blank screen for render mode 1, and 1 and 4 works. (wireframe and 3d render in environment)
Best Regards,
Can
from soapfilm3d.
The output-png is a deprecated feature and has already been removed. Do both the output-png and output-mesh have to be removed or does only output-png need to be removed to make it work?
The render modes 2 and 3 are also supposed to be deprecated and will be removed in the future version.
from soapfilm3d.
both of them need to be removed.
from soapfilm3d.
Related Issues (12)
- cmake issues HOT 1
- About Soapbubble film 3D HOT 2
- Help please HOT 1
- Help please
- I need your help HOT 1
- thanks for your reply. but I can't open HOT 1
- reserved identifier violation
- Remove unnecessary null pointer checks
- compilation error on ubuntu 20.04 HOT 4
- windows binaries missing libpng16.dll HOT 1
- PRRenderer.cpp 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 soapfilm3d.