Skip to content
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

Cannot compile the libAcoustics on Openfoam 4.0 & 4.1 #7

Closed
minghangli-uni opened this issue Apr 15, 2018 · 6 comments
Closed

Cannot compile the libAcoustics on Openfoam 4.0 & 4.1 #7

minghangli-uni opened this issue Apr 15, 2018 · 6 comments

Comments

@minghangli-uni
Copy link

Dear all,

I tried to compile the library on both 4.0 and 4.1 version, while they both failed. Could you please help me out?

The error I met is:
/usr/bin/ld: cannot find -lAcoustics
collect2: ld returned 1 exit status
make: *** [/home/minghangli/OpenFOAM/minghangli-4.1/platforms/linux64GccDPInt64Opt/bin/surfaceNoise] Error 1

I did not find Acoustics.so anywhere. What should I do now?

Thank you.

Kind regards,
Henry LOO

@vkorchagova
Copy link
Collaborator

Hello Henry,

This error appears when you try to compile surfaceNoise application before libAcoustics compilation. Be sure that libAcoustics was compiled successfully.
You should run script ./makeLib.sh to compile libAcoustic and app. If you will meet some errors just send the log.

Best regards,
Victoria

@minghangli-uni
Copy link
Author

minghangli-uni commented Apr 16, 2018 via email

@unicfdlab
Copy link
Owner

Hi Henry,

which version of gcc/g++ are you using?
Please, run 'g++ -v' and paste result here

--
Matvey

@minghangli-uni
Copy link
Author

minghangli-uni commented Apr 16, 2018 via email

@unicfdlab
Copy link
Owner

Actually, yes.
You should switch to something newer, 6.3 or later.
For example, I'm using 7.1

--
Matvey

@minghangli-uni
Copy link
Author

minghangli-uni commented Apr 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants