CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   foam-extend-3.0 installed error in Ubuntu about ThirdParty AllMake.stage4 (https://www.cfd-online.com/Forums/openfoam-installation/128274-foam-extend-3-0-installed-error-ubuntu-about-thirdparty-allmake-stage4.html)

hua1015 January 8, 2014 03:28

foam-extend-3.0 installed error in Ubuntu about ThirdParty AllMake.stage4
 
Hi,dear foamer,
Ubuntu_13.10, for x86_64,install foam-extend-3.0,follow http://openfoamwiki.net/index.php/In...u#Ubuntu_13.10 step by step;
but fail in ThirdParty allMake.stage4.
anyone has ideas?
here is the first error:

Generating moc_pqXYChartDisplayPanel.cxx
[ 87%] [ 87%] Generating moc_pqXYChartOptionsEditor.cxx
[ 87%] [ 87%] Generating ui_pqAbortAnimation.h
Generating ui_pqAboutDialog.h
[ 88%] [ 88%] Generating ui_pqAnimationSettings.h
Generating ui_pqApplicationOptions.h
uic: Error in line 115, column 61 : Unexpected attribute alignment
File '/home/junhuapan/foam/foam-extend-3.0/ThirdParty/rpmBuild/BUILD/ParaView-v4.0.1-source/Qt/Components/Resources/UI/pqApplicationOptions.ui' is not valid
make[2]: *** [Qt/Components/ui_pqApplicationOptions.h] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Qt/Components/CMakeFiles/pqComponents.dir/all] Error 2

hua1015 January 8, 2014 06:40

I have solved this problem.
Just do ./AllMake.stage4 again.

Santiago January 22, 2014 11:06

I'm having the same issue

How did you fixed it???

wyldckat January 22, 2014 18:36

Greetings to all!

@Santiago: Did you try what Hua said in post #2? Namely:
Quote:

Originally Posted by hua1015 (Post 469116)
Just do ./AllMake.stage4 again.

Best regards,
Bruno

miro2000 January 30, 2014 15:19

I'm having the same problem. I tried to compile again, but the problem is still there.
I am also having the same problem on OF 1.6-ext.

- miro

e: file: .../ThirdParty/rpmBuild/BUILD/ParaView-v4.0.1-source/Qt/Components/Resources/UI/pqApplicationOptions.ui' is not valid

wyldckat February 2, 2014 14:55

Greetings to all!

Since I'm unable to replicate this problem, please provide the following information:
  1. From inside the folder "ThirdParty", what does this file contain:
    Code:

    rpmBuild/BUILD/ParaView-v4.0.1-source/buildObj/Qt/Components/ui_pqApplicationOptions.h
  2. What does this command give you:
    Code:

    uic -v
  3. What do these commands give you:
    Code:

    gcc --version
    g++ --version
    ld --version

With this information, I should be able to try and replicate the same error.


Best regards,
Bruno

miro2000 February 2, 2014 16:38

Code:

rpmBuild/BUILD/ParaView-v4.0.1-source/buildObj/Qt/Components/ui_pqApplicationOptions.h
I have no such file.

Code:

uic -v
Qt User Interface Compiler version 4.7.4

Code:

gcc --version; g++ --version; ld --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
GNU ld (GNU Binutils for Ubuntu) 2.22



I think I messed something up with the environment variables. Is there a way to list them all?

Thank you very much

wyldckat February 2, 2014 18:18

If you run this command:
Code:

export
It will show the whole shell environment.

miro2000 February 3, 2014 17:43

Well, environment variables seem correct, which is bad news.

Is there a way to completely remove OF-3.0 from my system (all traces of it), so I could install it again? I think that is my best bet.

Regards
- miro

wyldckat February 4, 2014 14:27

Hi Miro,

Well, the simplest way to uninstall is likely this one:
Code:

cd ~/foam
rm -r foam-extend-3.0

Then start a new terminal, to ensure you have a clean shell environment.

Best regards,
Bruno

mbeaudoin February 4, 2014 14:51

Hello,

> Qt User Interface Compiler version 4.7.4

I have the same problem on a Centos system.

Basically, ParaView 4.0.1 will not compile with Qt 4.7.4, even if you try it 10 times...

Still, I was able to compile ParaView 4.0.1 with Qt 4.8.5, the latest stable release for Qt4.

So if your Ubuntu installation is offering a newer version than Qt 4.7.4, just install this newer version instead , including the corresponding Qt dev packages. Then use this system-installed version of Qt to compile ParaView 4.0.1.

Otherwise, wait a little bit, I will propose an upgrade to Qt 4.8.5 with the appropriate .spec file for the ThirdParty packages.

Martin


Quote:

Originally Posted by miro2000 (Post 473031)
Code:

rpmBuild/BUILD/ParaView-v4.0.1-source/buildObj/Qt/Components/ui_pqApplicationOptions.h
I have no such file.

Code:

uic -v
Qt User Interface Compiler version 4.7.4

Code:

gcc --version; g++ --version; ld --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
GNU ld (GNU Binutils for Ubuntu) 2.22



I think I messed something up with the environment variables. Is there a way to list them all?

Thank you very much


miro2000 February 8, 2014 09:24

This solved the problem. Thank you very much.

Ola Widlund February 19, 2014 04:10

Hi Martin,

I tried your bugfix branch for qt 4.8.5 yersterday. It works fine, but I noticed you forgot to do the version change in Allclean.stage4.

Best regards,

Ola



Quote:

Originally Posted by mbeaudoin (Post 473417)
Hello,

> Qt User Interface Compiler version 4.7.4

I have the same problem on a Centos system.

Basically, ParaView 4.0.1 will not compile with Qt 4.7.4, even if you try it 10 times...

Still, I was able to compile ParaView 4.0.1 with Qt 4.8.5, the latest stable release for Qt4.

So if your Ubuntu installation is offering a newer version than Qt 4.7.4, just install this newer version instead , including the corresponding Qt dev packages. Then use this system-installed version of Qt to compile ParaView 4.0.1.

Otherwise, wait a little bit, I will propose an upgrade to Qt 4.8.5 with the appropriate .spec file for the ThirdParty packages.

Martin



All times are GMT -4. The time now is 17:28.