Author Topic: can't build the feappv.exe  (Read 7641 times)

caohao

  • New Member
  • *
  • Posts: 4
can't build the feappv.exe
« on: January 28, 2017, 07:25:55 AM »
hi:
    The codes is download on the website of berkeley ,I have not modify the code.
     I just have build the lib22.lib; And add the lib22.lib to the project feappv.
but when i build the feappv.exe, there comes 7 erros.
  The errors is:

    1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>feappv.obj : error LNK2019: unresolved external symbol _PINSTALL,the symbol function is called by  _MAIN
1>feappv.obj : error LNK2019: unresolved external symbol  _FILNAM,the symbol function is called by  _ _MAIN
1>feappv.obj : error LNK2019:unresolved external symbol  _STIME,the symbol function is called by  _ _MAIN
1>feappv.obj : error LNK2019: unresolved external symbol  _PCONTR,the symbol function is called by  _ _MAIN
1>Lib22.lib(plstop.obj) : error LNK2019: unresolved external symbol  _PTIMPL,the symbol function is called by  __PLSTOP
1>Lib22.lib(fpplps.obj) : error LNK2019: unresolved external symbol  _PCOMP,the symbol function is called by  __FPPLPS
1>Release\feappch.exe : fatal error LNK1120: 6 个无法解析的外部命令

By the way ,my computer's os is windows 10,64bit. And the platform is Visual studio 2010 ,and the complier is Intel ParalLel Studio XE 2011.
Can  you give me help?

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: can't build the feappv.exe
« Reply #1 on: January 28, 2017, 09:30:05 AM »
The error is telling you that you have missed a couple of files when building the library.
Go back and add pinstall.f, filnam.f, stime.f, pcontr.f, ptimpl.f, and pcomp.f to your library (they should all be in the program folder).
Then try again.  You may find other unresolved external symbols at that stage, just repeat the process until you get them all.

caohao

  • New Member
  • *
  • Posts: 4
Re: can't build the feappv.exe
« Reply #2 on: January 28, 2017, 03:31:56 PM »
 :)
It's very kind of you. I'V GOT it
Thanks!

caohao

  • New Member
  • *
  • Posts: 4
Re: can't build the feappv.exe
« Reply #3 on: January 29, 2017, 02:08:41 AM »
The error is telling you that you have missed a couple of files when building the library.
Go back and add pinstall.f, filnam.f, stime.f, pcontr.f, ptimpl.f, and pcomp.f to your library (they should all be in the program folder).
Then try again.  You may find other unresolved external symbols at that stage, just repeat the process until you get them all.

The question have been dealed.
But there comes another question.When all files added,the lib22.lib can't build.
Because of the setmem.f can't be compiled,the data types of the arguments are invalid.,the two arguments are "call free(adr(n))".
Could you give me some help about that?

1>E:\code\Feappv\ch\program\setmem.f(147): error #6362: The data types of the argument(s) are invalid.   [FREE]
1>E:\code\Feappv\ch\program\setmem.f(201): error #6362: The data types of the argument(s) are invalid.   [FREE]

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: can't build the feappv.exe
« Reply #4 on: January 29, 2017, 07:42:44 AM »
Search the forum for free(adr(n))

caohao

  • New Member
  • *
  • Posts: 4
Re: can't build the feappv.exe
« Reply #5 on: January 30, 2017, 01:17:38 AM »
Thanks a lots.
I have build the feappv.exe succesfully!