alberto if you do not use the graphics, you only need seisan.a
jens On Mon, 9 Mar 2015, Alberto Núñez Murillo wrote:
I'm sorry, I misplaced a word in my last question. So I would like to know if seisan.a, dismg.a and user32.dll are the libraries I need to link in order to use SEISAN subroutines. Thank you. 2015-03-09 13:17 GMT+01:00 Alberto Núñez Murillo <[email protected]>: Hi Lars, Jens Thank you for your advice. Finally I revised some installations options of the compiler, and managed to create seisan.a, typing make all in LIB. However, I am still unable to complete de compilation of the Makefile in PRO, typing make all in PRO. SEISARCH variable were set to windows throughout the entire process. My question now is focused on which libraries I need to properly use the SEISAN subroutines in my code. According to the PRO/Makefile, I need three: ../LIB/seisan.a ../LIB/dismg.a c:/windows/system32/user32.dll Are there the libraries I need to link? Thank you again. 2015-03-05 18:03 GMT+01:00 Lars Ottemøller <[email protected]>: Hi Alberto, have you set SEISARCH (environmental variable) to windows (I think)? Lars Den 2015-03-05 17:24 skreiv Alberto Núñez Murillo: Hi Jens, Thank you first of all for your advice. Unfortunately, I am not still able to obtain the seisan.a file. I have installed the 10.3 version of SEISAN (latest version). In my MS-DOS shell, and under LIB file, I typed make all and the response was: ------------------------------------------------- ---- COMPILING SEISAN LIBRARIES ----------------- ------------------------------------------------- gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o comp_pc.for make: *** [comp_pc.o] Error 1 Then I tried to do the same in the PRO directory, I typed make all, but the response was: cd ../LIB; make all; cd ../PRO make[1]: Entering directory `/c/Seismo/LIB' ------------------------------------------------- ---- COMPILING SEISAN LIBRARIES ----------------- ------------------------------------------------- gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o comp_pc.for make[1]: *** [comp_pc.o] Error 1 make[1]: Leaving directory `/c/Seismo/LIB' -------------------------------------------------- ---- COMPILING SEISAN 9.0.1 PROGRAMS ----------------- -------------------------------------------------- ----- cripart ----- gfortran -g -I../INC -fdollar-ok -fno-automatic -static -o cripar cripar.for .. /LIB/./seisan.a ../LIB/dismg.a c:/windows/system32/user32.dll -luser32 -lgdi32 -lopengl32 make: *** [cripar] Error 1 I do not know if anything can be done to obtain the seisan.a file with all the library subroutines. Anyway, all help that you or someone could give to me would be highly appreciated. Alberto 2015-03-05 10:03 GMT+01:00 Jens Havskov <[email protected]>: alberto if you have installed compiler according to seisan manual, you do not need to use the GW shell, not sure if it works in thaty shell. use a later version (use latest) of seisan, then not need for libmseed.a if you only need library file, go to LIB and write make all. jens On Wed, 4 Mar 2015, Alberto Núñez Murillo wrote: Good afternoon, I would like to compile a program which calls certain SEISAN subroutines. Therefore, I need to create both ?seisan.a? and 'libmeseed.a' files in order to link to the library subroutines contained in these archives. I have installed in my 32 bit Windows computer the Fortran compiler and the MinGW development toolkit. Being in the PRO directory, I type in the GW shell make all And the response from the shell is make: *** No rule to make target `../INC*.inc', needed by `k2sei'. Stop. I have properly installed SEISAN in my machine, and the directory INC exists. I do not know where the problem is to compile and obtain the ?seisan.a? and 'libmeseed.a' files. I would appreciate if someone could help me. Yours, -- Alberto Núñez Murillo Universidad Politécnica de Madrid [email protected] _______________________________________________ seisan mailing list [email protected] http://mailman.uib.no/listinfo/seisan -- Alberto Núñez Murillo Universidad Politécnica de Madrid [email protected] -- Alberto Núñez Murillo Universidad Politécnica de Madrid [email protected]
_______________________________________________ seisan mailing list [email protected] http://mailman.uib.no/listinfo/seisan
