Author Topic: error creating library  (Read 5382 times)

Marko Lavrencic

  • New Member
  • *
  • Posts: 2
error creating library
« on: November 10, 2016, 12:56:23 AM »
Hello everyone, I am very new to feap and fortran so I have a question which may be a very basic one. I am using feap82 on OS Windows 7, 64x in Intel Visual Fortran using Microsoft Visual Studio 2015. I followed the instructions provided in the installation manual and the ones provided in this tutorial: https://www.youtube.com/watch?v=7QAh6QvOT6s and the result was an error #6362: The data types of the argument(s) are invalid.  [FREE]. The line where this error appears is call free(adr(n)).

After some help from a colegue who worked with fortran in the past, we changed the code of the setmem.f to define integer*8 adr(600) instead of integer adr(600), which seems to solve this error, but I now get another error #10037: could not find 'lib' , after the building of all the selected .f files is done.

Is the first solution ok, and if so, what can I do to solve the second problem?

Please understand that I am very new to fortran or feap so I may have used some uncorrect terms in explaining the problem, but as far as I know, I followed the instructions in the manual and the video but the error still appears.

Since I am new to this, the question is also would you recomend doing some basic fortran tutorials first or is it enough to just follow the manuals for feap? Seeing how many problems it is causing me just to install the program I am thinking that I should learn something about the code before doing anything with feap.

Regards,
Marko Lavrenčič

Marko Lavrencic

  • New Member
  • *
  • Posts: 2
Re: error creating library
« Reply #1 on: November 10, 2016, 05:37:36 AM »
I solved the second error by reinstalling the Visual studio. It seems the problem was there. As for the solution for the first error, I would still like to know if I handled it correctly, because I don't want to mess up the code of the program.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: error creating library
« Reply #2 on: November 10, 2016, 09:12:26 AM »
The correction you made is fine.  In later versions we created an include w_int.h which has the adr(600): in include/integer4 it is just integer; but in include/integer8 it is integer*8.

Ver8.2 was the first version to use 64 bit architecture.  In later versions there were other changes to avoid compiler warnings or in some cases indicated compiler errors so you can still expect some warnings, etc.