Giter Site home page Giter Site logo

dynamicfoam's People

Contributors

weigert avatar

Stargazers

 avatar  avatar

Watchers

 avatar

dynamicfoam's Issues

make failed

Hi,

I am trying to build DynamicFoam and failed
with

make all -j8
g++ -std=c++17 main.cpp -Wfatal-errors -O -I/home/beew/opt/tinyengine/include -L/home/beew/opt/tinyengine/lib -lTinyEngine -lX11 -lpthread -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lGL -lGLEW -lboost_system -lboost_filesystem -o main
In file included from main.cpp:6:
include/model.h:3:8: error: redefinition of ‘struct Triangle’
    3 | struct Triangle: Primitive{
      |        ^~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [makefile:8: all] Error 1
bernard@bernard-HP-ProBook-440-G7:~/opt/DynamicFoam$ make -j8
g++ -std=c++17 main.cpp -Wfatal-errors -O -I/home/bernard/opt/tinyengine/include -L/home/bernard/opt/tinyengine/lib -lTinyEngine -lX11 -lpthread -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lGL -lGLEW -lboost_system -lboost_filesystem -o main
In file included from main.cpp:6:
include/model.h:3:8: error: redefinition of ‘struct Triangle’
    3 | struct Triangle: Primitive{
      |        ^~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [makefile:8: all] Error 1

OS is Ubuntu 22.04. Both tinyengine and dynamic foam from master.

Thanks

dynamicfoam often crashes with segfault

Hi,

Just downloaded and compiled tinyengine and dynamicfoam. It compiled but when run main it often segfault. It doesn't crash 100% but often enough.

Ubuntu 20.04, Nvidia gtx1070 driver version 460.73

 These are the outputs when it crashes. 
$ dynamicfoam
3.2.0 NVIDIA 460.73.01
Linker Error: 0(7) : error C0000: syntax error, unexpected '{', expecting "::" at token "{"
0(18) : error C1503: undefined variable "p"
0(18) : error C1503: undefined variable "p"
0(18) : error C1503: undefined variable "p"
0(19) : error C1503: undefined variable "p"
0(19) : error C1503: undefined variable "p"
0(19) : error C1503: undefined variable "p"
0(20) : error C1503: undefined variable "p"
0(20) : error C1503: undefined variable "p"
0(20) : error C1503: undefined variable "p"

/home/bernard/bin/dynamicfoam: line 5: 472383 Segmentation fault      (core dumped) ./main

I use a script in $HOME/bin to start the program since I install TinyEngine in my $HOME (instead of /usr/local) and need to set the LD_LIBRARY_PATH, here is the script:

#!/bin/bash

export LD_LIBRARY_PATH=$HOME/opt/tinyengine/lib

cd $HOME/opt/DynamicFoam-main && ./main

But running ./main directly from its folder crashes in the same way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.