Giter Club home page Giter Club logo

Comments (6)

evd0kim avatar evd0kim commented on August 26, 2024

Hey.
I guess, there must be #include "IOdictionary.H" in the surfaceNoise.C.

from libacoustics.

VatutinKirill avatar VatutinKirill commented on August 26, 2024

Hello. Can you show us you system environment? I think there are some problems. Make sure that you use libAcoustics from branch digitef-dev-1812.

from libacoustics.

phantazord avatar phantazord commented on August 26, 2024

Hi. Thank you for the reply. I'm using the branch digitef-dev-1812, but now appears this new error:

In file included from surfaceNoise.C:101:0:
createFields.H: In function ‘int main(int, char**)’:
createFields.H:26:35: error: ‘class Foam::IOdictionary’ has no member named ‘get’; did you mean ‘set’?
fileName inputFileName = dict.get("inputFileName");
^~~
set
createFields.H:26:43: error: expected primary-expression before ‘>’ token
fileName inputFileName = dict.get("inputFileName");
^
*** [Make/linux64GccDPInt32Opt/surfaceNoise.o] Error 1

from libacoustics.

VatutinKirill avatar VatutinKirill commented on August 26, 2024

Type command "export" in terminal and copy output here, let's check OpenFOAM environment.

from libacoustics.

phantazord avatar phantazord commented on August 26, 2024

That?

declare -x CLUTTER_IM_MODULE="xim"
declare -x COLORTERM="truecolor"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=ed9329a749e1c09bb7a2bd9c5daa1907"
declare -x DBUS_STARTER_ADDRESS="unix:path=/run/user/1000/bus,guid=ed9329a749e1c09bb7a2bd9c5daa1907"
declare -x DBUS_STARTER_BUS_TYPE="session"
declare -x DEFAULTS_PATH="/usr/share/gconf/ubuntu.default.path"
declare -x DESKTOP_SESSION="ubuntu"
declare -x DISPLAY=":0"
declare -x FOAM_APP="/opt/openfoam6/applications"
declare -x FOAM_APPBIN="/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin"
declare -x FOAM_ETC="/opt/openfoam6/etc"
declare -x FOAM_EXT_LIBBIN="/opt/ThirdParty-6/platforms/linux64GccDPInt32/lib"
declare -x FOAM_INST_DIR="/opt"
declare -x FOAM_JOB_DIR="/opt/jobControl"
declare -x FOAM_LIBBIN="/opt/openfoam6/platforms/linux64GccDPInt32Opt/lib"
declare -x FOAM_MPI="openmpi-system"
declare -x FOAM_RUN="/home/juliano/OpenFOAM/juliano-6/run"
declare -x FOAM_SETTINGS=""
declare -x FOAM_SIGFPE=""
declare -x FOAM_SITE_APPBIN="/opt/site/6/platforms/linux64GccDPInt32Opt/bin"
declare -x FOAM_SITE_LIBBIN="/opt/site/6/platforms/linux64GccDPInt32Opt/lib"
declare -x FOAM_SOLVERS="/opt/openfoam6/applications/solvers"
declare -x FOAM_SRC="/opt/openfoam6/src"
declare -x FOAM_TUTORIALS="/opt/openfoam6/tutorials"
declare -x FOAM_USER_APPBIN="/home/juliano/OpenFOAM/juliano-6/platforms/linux64GccDPInt32Opt/bin"
declare -x FOAM_USER_LIBBIN="/home/juliano/OpenFOAM/juliano-6/platforms/linux64GccDPInt32Opt/lib"
declare -x FOAM_UTILITIES="/opt/openfoam6/applications/utilities"
declare -x GDMSESSION="ubuntu"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_SHELL_SESSION_MODE="ubuntu"
declare -x GNOME_TERMINAL_SCREEN="/org/gnome/Terminal/screen/88bc4c8f_56de_41cd_bec5_88b852ff3b78"
declare -x GNOME_TERMINAL_SERVICE=":1.558"
declare -x GPG_AGENT_INFO="/run/user/1000/gnupg/S.gpg-agent:0:1"
declare -x GTK_IM_MODULE="ibus"
declare -x GTK_MODULES="gail:atk-bridge"
declare -x HOME="/home/juliano"
declare -x IM_CONFIG_PHASE="2"
declare -x INVOCATION_ID="934c8cdff9b14a01ae1aec6e6bcb085c"
declare -x JOURNAL_STREAM="9:32573"
declare -x LANG="pt_BR.UTF-8"
declare -x LANGUAGE="pt_BR:pt:en"
declare -x LD_LIBRARY_PATH="/opt/ThirdParty-6/platforms/linux64Gcc/gperftools-svn/lib:/opt/paraviewopenfoam56/lib:/opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/openmpi-system:/opt/ThirdParty-6/platforms/linux64GccDPInt32/lib/openmpi-system:/usr/lib/x86_64-linux-gnu/openmpi/lib:/home/juliano/OpenFOAM/juliano-6/platforms/linux64GccDPInt32Opt/lib:/opt/site/6/platforms/linux64GccDPInt32Opt/lib:/opt/openfoam6/platforms/linux64GccDPInt32Opt/lib:/opt/ThirdParty-6/platforms/linux64GccDPInt32/lib:/opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/dummy"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="juliano"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:"
declare -x MANAGERPID="1478"
declare -x MANDATORY_PATH="/usr/share/gconf/ubuntu.mandatory.path"
declare -x MANPATH
declare -x MPI_ARCH_PATH="/usr/lib/x86_64-linux-gnu/openmpi"
declare -x MPI_BUFFER_SIZE="20000000"
declare -x OLDPWD
declare -x PATH="/opt/ThirdParty-6/platforms/linux64Gcc/gperftools-svn/bin:/opt/paraviewopenfoam56/bin:/home/juliano/OpenFOAM/juliano-6/platforms/linux64GccDPInt32Opt/bin:/opt/site/6/platforms/linux64GccDPInt32Opt/bin:/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin:/opt/openfoam6/bin:/opt/openfoam6/wmake:/home/juliano/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
declare -x PV_PLUGIN_PATH="/opt/openfoam6/platforms/linux64GccDPInt32Opt/lib/paraview-5.6"
declare -x PWD="/home/juliano/libAcoustics/Sources"
declare -x ParaView_DIR="/opt/paraviewopenfoam56"
declare -x ParaView_GL="mesa"
declare -x ParaView_INCLUDE_DIR="/opt/paraviewopenfoam56/include/paraview-5.6"
declare -x ParaView_MAJOR="5.6"
declare -x ParaView_VERSION="5.6.0"
declare -x QT4_IM_MODULE="xim"
declare -x QT_ACCESSIBILITY="1"
declare -x QT_IM_MODULE="ibus"
declare -x SESSION_MANAGER="local/juliano:@/tmp/.ICE-unix/1509,unix/juliano:/tmp/.ICE-unix/1509"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AGENT_PID="1606"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
declare -x TERM="xterm-256color"
declare -x TEXTDOMAIN="im-config"
declare -x TEXTDOMAINDIR="/usr/share/locale/"
declare -x USER="juliano"
declare -x USERNAME="juliano"
declare -x VTE_VERSION="5202"
declare -x WINDOWPATH="2"
declare -x WM_ARCH="linux64"
declare -x WM_ARCH_OPTION="64"
declare -x WM_CC="gcc"
declare -x WM_CFLAGS="-m64 -fPIC"
declare -x WM_COMPILER="Gcc"
declare -x WM_COMPILER_LIB_ARCH="64"
declare -x WM_COMPILER_TYPE="system"
declare -x WM_COMPILE_OPTION="Opt"
declare -x WM_CXX="g++"
declare -x WM_CXXFLAGS="-m64 -fPIC -std=c++0x"
declare -x WM_DIR="/opt/openfoam6/wmake"
declare -x WM_LABEL_OPTION="Int32"
declare -x WM_LABEL_SIZE="32"
declare -x WM_LDFLAGS="-m64"
declare -x WM_LINK_LANGUAGE="c++"
declare -x WM_MPLIB="SYSTEMOPENMPI"
declare -x WM_OPTIONS="linux64GccDPInt32Opt"
declare -x WM_OSTYPE="POSIX"
declare -x WM_PRECISION_OPTION="DP"
declare -x WM_PROJECT="OpenFOAM"
declare -x WM_PROJECT_DIR="/opt/openfoam6"
declare -x WM_PROJECT_INST_DIR="/opt"
declare -x WM_PROJECT_USER_DIR="/home/juliano/OpenFOAM/juliano-6"
declare -x WM_PROJECT_VERSION="6"
declare -x WM_THIRD_PARTY_DIR="/opt/ThirdParty-6"
declare -x XAUTHORITY="/run/user/1000/gdm/Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-ubuntu:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="ubuntu:GNOME"
declare -x XDG_DATA_DIRS="/usr/share/ubuntu:/home/juliano/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
declare -x XDG_MENU_PREFIX="gnome-"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_DESKTOP="ubuntu"
declare -x XDG_SESSION_ID="2"
declare -x XDG_SESSION_TYPE="x11"
declare -x XDG_VTNR="2"
declare -x XMODIFIERS="@im=ibus"
declare -x ZEITGEIST_DATA_PATH="/home/juliano/.local/share/zeitgeist"

from libacoustics.

VatutinKirill avatar VatutinKirill commented on August 26, 2024

You are using wrong version of OpenFOAM, you can download right version here: https://www.openfoam.com/releases/openfoam-v1812
If you already install it you should source correct bashrc(OpenFOAM-v1812 environment instead OpenFOAM-6 environment)

from libacoustics.

Related Issues (20)

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.