CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[foam-extend.org] foam-extend 3.2 Paraview installation problem on Ubuntu 18.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2018, 12:10
Default foam-extend 3.2 Paraview installation problem on Ubuntu 18.04
  #1
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello,

I tried to install foam-extend 3.2 on Ubuntu 18.04 LTS by following the instructions in https://openfoamwiki.net/index.php/I...oam-extend-3.2 and https://openfoamwiki.net/index.php/I...end-3.2/Ubuntu. I thought I succeeded. Because I saw time steps in case folder. Then I typed paraFoam. It failed. Lastly I realised ParaView is missing:
Quote:
========================================
Starting ThirdParty AllMake: Stage4
========================================

WARNING:
WARNING: Skipping the installation of ParaView-4.x.x.
WARNING: Please make sure the QT_BIN_DIR environment variable properly
WARNING: initialized in the file prefs.sh or prefs.csh
WARNING: The command $QT_BIN_DIR/qmake needs to be valid
WARNING:
========================================
Done ThirdParty AllMake: Stage4
========================================
I edited my prefs.sh file. Now it looks like this:
Quote:
export WM_THIRD_PARTY_USE_BISON_27=1
export QT_BIN_DIR=/home/emre/usr/bin/qmake
Here is my first installation file : https://www.dropbox.com/s/u9v9twjbm4nlh1e/log.emre?dl=0

Here is the file that I created after I went to ThirdParty folder, then typed ./AllClean and ./AllMake:
3RDPARTYLOG.tar.gz

Regard,
Emre

Last edited by ordinary; August 29, 2018 at 14:00.
ordinary is offline   Reply With Quote

Old   August 29, 2018, 14:56
Default
  #2
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello I also have same problem with Paraview. I did all the things have been said (tried both export QT_BIN_DIR=/home/emre/usr/bin/ and export QT_BIN_DIR=/home/emre/usr/bin/qmake in prefs.sh file). There is no feedback for which paraview command. I can't install Paraview. I tried to ./AllMake.stage4 and ./AllMake but it gives me same weird message:
Quote:
========================================
Starting ThirdParty AllMake: Stage4
========================================

WARNING:
WARNING: Skipping the installation of ParaView-4.x.x.
WARNING: Please make sure the QT_BIN_DIR environment variable properly
WARNING: initialized in the file prefs.sh or prefs.csh
WARNING: The command $QT_BIN_DIR/qmake needs to be valid
WARNING:
========================================
Done ThirdParty AllMake: Stage4
========================================
I posted my question here: foam-extend 3.2 Paraview installation problem on Ubuntu 18.04

Any help is appreciated.

Best regards,

Emre

[Moderator note: Moved this post from here: paraview not runing? (foam extended 3.2 and ubuntu 15.04)]

Last edited by wyldckat; September 1, 2018 at 13:51. Reason: see "Moderator note:"
ordinary is offline   Reply With Quote

Old   August 29, 2018, 15:57
Default
  #3
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello again,

Somehow I managed code to run:

Code:
emre@toshiba:~/foam/foam-extend-3.2/ThirdParty$ ./AllMake.stage4

This system rpm command: rpm --force-debian

========================================
Starting ThirdParty AllMake: Stage4
========================================

Using system installed QT

Building ParaView 4.3.1
Package name      : ParaView-4.3.1
Package URL       : http://downloads.sourceforge.net/pro...-source.tar.gz
RPM spec file name: ParaView-4.3.1.spec
Additional flags  : --define=_qmakePath $QT_BIN_DIR/qmake
Updating the ThirdParty environment variables before building package ParaView-4.3.1
RPM file name     : /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.3.1-linux64GccDPOpt.x86_64.rpm
Download ParaView-v4.3.1-source.tar.gz from : http://downloads.sourceforge.net/pro...-source.tar.gz
--2018-08-29 22:40:27--  http://downloads.sourceforge.net/pro...-source.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://datapacket.dl.sourceforge.ne...-source.tar.gz [following]
--2018-08-29 22:40:27--  https://datapacket.dl.sourceforge.ne...-source.tar.gz
Resolving datapacket.dl.sourceforge.net (datapacket.dl.sourceforge.net)... 185.152.64.70
Connecting to datapacket.dl.sourceforge.net (datapacket.dl.sourceforge.net)|185.152.64.70|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50842525 (48M) [application/x-gzip]
Saving to: ‘ParaView-v4.3.1-source.tar.gz’

ParaView-v4.3.1-sou 100%[===================>]  48,49M   928KB/s    in 52s     

2018-08-29 22:41:21 (947 KB/s) - ‘ParaView-v4.3.1-source.tar.gz’ saved [50842525/50842525]

Making package ParaView-4.3.1 using RPM.
Building package ParaView-4.3.1 using SPEC file : ParaView-4.3.1.spec. Optional args: --define=_qmakePath $QT_BIN_DIR/qmake
Executing(%prep): /bin/sh -e /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/tmp/rpm-tmp.1JbbLd
+ umask 022
+ cd /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD
+ cd /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD
+ rm -rf ParaView-v4.3.1-source
+ /bin/gzip -dc /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/SOURCES/ParaView-v4.3.1-source.tar.gz
+ /bin/tar -xof -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd ParaView-v4.3.1-source
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/tmp/rpm-tmp.1Z199d
+ umask 022
+ cd /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD
+ cd ParaView-v4.3.1-source
+ [ -n gcc ]
+ export CC=gcc
+ [ -n g++ ]
+ export CXX=g++
+ [ -n -m64 -fPIC ]
+ export CFLAGS=-m64 -fPIC
+ [ -n -m64 -fPIC ]
+ export CXXFLAGS=-m64 -fPIC
+ [ -n -m64 ]
+ export LDFLAGS=-m64
+ set +x

Compilation options:
     _withVerbose     : false
     _withMesa        : false
     _withMPI         : false
     _withPython      : false
     _withQt          : true
     _qmakePath       : /usr/bin//qmake
     _mesaIncludePath : Undefined
     _mesaLibPath     : Undefined
     _pythonLibPath   : Undefined

+ addCMakeVariable BUILD_SHARED_LIBS:BOOL=ON
+ [ -n BUILD_SHARED_LIBS:BOOL=ON ]
+ CMAKE_VARIABLES= -DBUILD_SHARED_LIBS:BOOL=ON
+ shift
+ [ -n  ]
+ addCMakeVariable CMAKE_BUILD_TYPE:STRING=Release
+ [ -n CMAKE_BUILD_TYPE:STRING=Release ]
+ CMAKE_VARIABLES= -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release
+ shift
+ [ -n  ]
+ addCMakeVariable BUILD_TESTING:BOOL=OFF
+ [ -n BUILD_TESTING:BOOL=OFF ]
+ CMAKE_VARIABLES= -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF
+ shift
+ [ -n  ]
+ addCMakeVariable PARAVIEW_ENABLE_PYTHON:BOOL=ON
+ [ -n PARAVIEW_ENABLE_PYTHON:BOOL=ON ]
+ CMAKE_VARIABLES= -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_ENABLE_PYTHON:BOOL=ON
+ shift
+ [ -n  ]
+ addCMakeVariable PARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
+ [ -n PARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON ]
+ CMAKE_VARIABLES= -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
+ shift
+ [ -n  ]
+ addCMakeVariable QT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin//qmake
+ [ -n QT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin//qmake ]
+ CMAKE_VARIABLES= -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin//qmake
+ shift
+ [ -n  ]
+ echo CMAKE_VARIABLES:  -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin//qmake
CMAKE_VARIABLES:  -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin//qmake
+ mkdir -p ./buildObj
+ cd ./buildObj
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/emre/foam/foam-extend-3.2/ThirdParty/packages/ParaView-4.3.1/platforms/linux64GccDPOpt -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin//qmake ..
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- Could not use git to determine source version, using version 4.3.1
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - /usr/bin/f95
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/f95
-- Check for working Fortran compiler: /usr/bin/f95  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/f95 supports Fortran 90
-- Checking whether /usr/bin/f95 supports Fortran 90 -- yes
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.7.0") 
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
CMake Error at VTK/CMake/vtkCompilerExtras.cmake:42 (if):
  if given arguments:

    "gcc: error: ARGS: No such file or directory

  gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0

  Copyright (C) 2017 Free Software Foundation, Inc.

  This is free software" " see the source for copying conditions.  There is
  NO

  warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
  PURPOSE.

  

  " "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
  "HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
  "AND" "NOT" "CYGWIN"

  Unknown arguments specified
Call Stack (most recent call first):
  VTK/CMakeLists.txt:239 (include)


-- Configuring incomplete, errors occurred!
See also "/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeOutput.log".
See also "/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeError.log".
error: Bad exit status from /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/tmp/rpm-tmp.1Z199d (%build)


RPM build errors:
    Bad exit status from /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/tmp/rpm-tmp.1Z199d (%build)
Installing package: ParaView-4.3.1
  Uninstalling ParaView-4.3.1 using RPM: ParaView-4.3.1-linux64GccDPOpt.x86_64
  Installing ParaView-4.3.1 using RPM file: /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.3.1-linux64GccDPOpt.x86_64.rpm
error: open of /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.3.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package 

========================================
Done ThirdParty AllMake: Stage4
========================================
As you might see, there is a CMakeError. I post it below:
Code:
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3105029847/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3105029847.dir/build.make CMakeFiles/cmTryCompileExec3105029847.dir/build
make[1]: Entering directory '/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp'
/home/emre/foam/foam-extend-3.2/ThirdParty/packages/cmake-3.2.2/platforms/linux64GccDPOpt/bin/cmake -E cmake_progress_report /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec3105029847.dir/CheckSymbolExists.cxx.o
/usr/bin/g++    -m64 -fPIC   -I/usr/include/qt4    -o CMakeFiles/cmTryCompileExec3105029847.dir/CheckSymbolExists.cxx.o -c /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)':
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_WIN' was not declared in this scope
   return ((int*)(&Q_WS_WIN))[argc];
                   ^~~~~~~~
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: 'Q_WS_X11'
   return ((int*)(&Q_WS_WIN))[argc];
                   ^~~~~~~~
                   Q_WS_X11
CMakeFiles/cmTryCompileExec3105029847.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec3105029847.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTryCompileExec3105029847.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec3105029847/fast' failed
make: *** [cmTryCompileExec3105029847/fast] Error 2

File /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3445289600/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3445289600.dir/build.make CMakeFiles/cmTryCompileExec3445289600.dir/build
make[1]: Entering directory '/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp'
/home/emre/foam/foam-extend-3.2/ThirdParty/packages/cmake-3.2.2/platforms/linux64GccDPOpt/bin/cmake -E cmake_progress_report /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec3445289600.dir/CheckSymbolExists.cxx.o
/usr/bin/g++    -m64 -fPIC   -I/usr/include/qt4    -o CMakeFiles/cmTryCompileExec3445289600.dir/CheckSymbolExists.cxx.o -c /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)':
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_QWS' was not declared in this scope
   return ((int*)(&Q_WS_QWS))[argc];
                   ^~~~~~~~
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: 'Q_WS_X11'
   return ((int*)(&Q_WS_QWS))[argc];
                   ^~~~~~~~
                   Q_WS_X11
CMakeFiles/cmTryCompileExec3445289600.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec3445289600.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTryCompileExec3445289600.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec3445289600/fast' failed
make: *** [cmTryCompileExec3445289600/fast] Error 2

File /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2237777324/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2237777324.dir/build.make CMakeFiles/cmTryCompileExec2237777324.dir/build
make[1]: Entering directory '/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp'
/home/emre/foam/foam-extend-3.2/ThirdParty/packages/cmake-3.2.2/platforms/linux64GccDPOpt/bin/cmake -E cmake_progress_report /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2237777324.dir/CheckSymbolExists.cxx.o
/usr/bin/g++    -m64 -fPIC   -I/usr/include/qt4    -o CMakeFiles/cmTryCompileExec2237777324.dir/CheckSymbolExists.cxx.o -c /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)':
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_MAC' was not declared in this scope
   return ((int*)(&Q_WS_MAC))[argc];
                   ^~~~~~~~
/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: 'Q_WS_X11'
   return ((int*)(&Q_WS_MAC))[argc];
                   ^~~~~~~~
                   Q_WS_X11
CMakeFiles/cmTryCompileExec2237777324.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2237777324.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTryCompileExec2237777324.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec2237777324/fast' failed
make: *** [cmTryCompileExec2237777324/fast] Error 2

File /home/emre/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_MAC
  return ((int*)(&Q_WS_MAC))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Last edited by wyldckat; September 1, 2018 at 13:52. Reason: [QUOTE]->[CODE]
ordinary is offline   Reply With Quote

Old   September 1, 2018, 22:01
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
For future readers: Start reading from post #7 at How to install foam-extend 4.0 in UBUNTU 18.04 - for a few possible solutions. I believe they should also work with foam-extend 3.2.
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
foam extend 3.2, openfoam installation, ubuntu 18.04


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sig Density Based Solver installation with FOAM Extend 3.2 qjh888 OpenFOAM Bugs 0 September 21, 2016 08:16
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 Wley OpenFOAM Installation 2 September 28, 2012 06:06
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38


All times are GMT -4. The time now is 12:07.