-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elmer build error on 10.11.6 #6
Comments
Can you install qt4 using homebrew at all anymore? If not, then it means that ElmerGUI needs to be migrated to use Qt5. |
I saw that homebrew created three directories: Any suggestions? |
I cleaned everything in homebrew and started again. brew install elmer --HEAD --with-elmergui so I wonder why qt5 is neccesary |
Same problem here. OS X 10.11.6 Changed my local elmer.rb compiler lines to ENV["CC"] = "/usr/local/Cellar/gcc/6.3.0_1/bin/gcc-6"
But
Hoping someone can find away to get the Elmergui to install. |
Observation ElmerGUI depends on qwt in elmer.rb, and the qwt install depends on qt5 see:
|
Got a step further, but bare in mind I am not a software engineer or terminal expert. I commented out a line in the findQT4.cmake file in /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindQt4.cmake There are some lines:
I effectively commented out the qmake option to prevent it loading the one from qt5. I then renamed the qmake file in /usr/local/Cellar/qt/4.8.7_2/bin to qmake4. I then did Now doing gets past the qt5 problem described above. Unfortunately still does not 100% build. Gets to 75%. Here is the make log file found under Users/myname/Library/Logs/Homebrew/elmer Again, if anyone can help it would be appreciated. I can confirm Elmersolver is working from the command line as I tried an example. |
The Elmer wiki: suggests to try commenting out sections of elmerGUI.pri in order to solver compiling problems. I tried modifying the /Users/mayname/Library/Caches/Homebrew/elmer--git/ElmerGUI elmerGUI.pri file but this just keeps getting over written by the one in the GIT repository when I do I think there might be away to download the elmerfem 8.2 archive, modify it, store it locally and change something in the local tap elmer.rb code lines:
but I do not know how. Help! Seems as though the Mac Elmer community might be very small and there is not much interest, or they do not use the elmerGUI, judging by how little info and help there is available. |
Hi, So hopefully He will get it working natively. I do not know when he will finish it or if he succeeds but I will publish the result in the Elmer Forum and also here :) I gave up myself because I have not enough knowledge and my time is limited to do the debugging. :) |
Great Idea othreed. I managed to comment out some options in ElmerGUI.pri but it did not help. I also tried to install the Elmer 8.0 Archive and got to 79%. Both installs give the fatal error
If you google "Elmer QVTKWidget.h" there are some old posts on the web referring to similar problems i.e. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614952. It would be great if someone could get it working. |
Hi,
I started with a fresh brew install on my el Capitan OSX and ran into an Error about qt4.
I ran:
brew install elmer.rb --with-elmergui --HEAD
I got the message while installing dependencies:
==> Installing dependencies for elmer: qt5
But later i get this this error about wrong QT version
How do I resolve the problem with QT4 Not found?
The text was updated successfully, but these errors were encountered: