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

Having trouble to install OpenSeaseis on Ubuntu 18.02 LTS #11

Open
lewistgoss opened this issue Oct 5, 2019 · 3 comments
Open

Having trouble to install OpenSeaseis on Ubuntu 18.02 LTS #11

lewistgoss opened this issue Oct 5, 2019 · 3 comments

Comments

@lewistgoss
Copy link

Having trouble to install OpenSeaseis on Ubuntu 18.02 LTS

@lewistgoss
Copy link
Author

src/cs/geolib/methods_sampleInterpolation.cc: In function ‘void cseis_geolib::sincFunction(T)’:
src/cs/geolib/methods_sampleInterpolation.cc:239:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 1.0;
^~~
src/make/linux/Makefile_libs:184: recipe for target '/home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/methods_sampleInterpolation.o' failed
make: *** [/home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/methods_sampleInterpolation.o] Error 1
g++ -fPIC -shared -Wl,-soname,libsegy.so -o /home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/lib/libsegy.so /home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/csSegyTraceHeader.o /home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/csSegyHdrMap.o /home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/csSegyWriter.o /home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/csSegyBinHeader.o /home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/obj/csSegyReader.o -L/home/lewisgoss/opt/OpenSeaSeis-master/../lib_v2.05/lib -lgeolib -lc
/usr/bin/ld: cannot find -lgeolib

@lewistgoss
Copy link
Author

I switched global flag from pedantic to permissive, seems to have helped and been necessary.

@lewistgoss
Copy link
Author

OK, I got it to install using the permissive flat instead of pedantic. However, when I try to run SeaView.sh, I get the following complaint:
Exception in thread "main" java.lang.NoClassDefFoundError: cseis/seaview/SeaView
Caused by: java.lang.ClassNotFoundException: cseis.seaview.SeaView
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: cseis/seaview/SeaView. Program will exit.

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

1 participant