OK, I had built mine with Gcc 4.6, so I apparently also had even more issues than your build has.
I've switched to Gcc 4.4.6 as well on my Ubuntu 11.10. For that, I've modified OpenFOAM's "etc/bash" to have these settings: Code:
export WM_CC='gcc-4.4' Code:
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed |
:mad: If I hadn't inspected the "make.log" sooner, it would have been a wasted hour... here's the necessary patch, which without the settings from bashrc won't propagate to wmake (swap "linux64Gcc" to "linuxGcc" for 32bit):
Code:
diff --git a/wmake/rules/linux64Gcc/c b/wmake/rules/linux64Gcc/c Code:
wclean all Code:
export WM_NCOMPPROCS=4 |
Hi Yuri,
OK, I've finished confirming this. With the info from the last 2 posts, you should succeed in building everything. Keep in mind:
Bruno |
That is a great news, Bruno! I'm trying to compiling the OF also, utilizing yours implementations, I rope that this time it will work.
I will post the results here soon. |
Hi Bruno,
I really want to thank you so much for your support! The OF17x compilation worked. In addition to your corrections, I changed the variable WM_ARCH_OPTION, which was set by default 64, but my Ubuntu is 32 bits. Could be this one of the reasons for the previous failures? After this, I finally compiled successfully the fireFoam.1.7.x_0.4! So, the big deal was really the OF17x compilation. Thanks again for your help! |
Hii
Hi,
I am getting error while compiling the OF 1.7.x. I have followed till the previous step but unable to understand comment #22 . Which files i have to swap as i am using ubuntu 32bit If possible can you change in the git repository It will be of great help ... Thank You Regards, Trinath Rao |
Greetings Trinath Rao,
Quote:
If I'm not mistaken, this is what it should be like for "linuxGcc": Quote:
Bruno |
Compiled !!
Hi Bruno,
Thank you for replying my query. I build openfoam 1.7.x successfully. and started working perfectly. Merry Christmas and Very Happy New Year 2013 !!! Thanks a lot...!! Regards, Trinath Rao :):) |
All times are GMT -4. The time now is 19:40. |