Recent

Author Topic: Problems with the completion of a project fpgui  (Read 3633 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Problems with the completion of a project fpgui
« on: March 30, 2017, 11:51:31 pm »
Hello guys, I downloaded the program

https://github.com/leonardorame/DicomViewer4/

and I tried to compile it. But this error appears:

viewerpanel.pas(572,34) Error: Identifier not found "TfpgWindow"

For this code

d := TfpgDrag.Create(Sender as TfpgWindow);

who help me to solve it?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: Problems with the completion of a project fpgui
« Reply #1 on: March 31, 2017, 11:19:24 am »
No one knows how to help me?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Problems with the completion of a project fpgui
« Reply #2 on: March 31, 2017, 11:34:03 am »
The expert on the topic of fpGUI would be Graeme and he's usually busy or not pay too close attention to these forums.

In case you wish to have a quicker response you could try this. Note that there is also a web front-end.

My suspicion would be that you use(d) a newer fpGUI while DiCom viewer seems a bit older project and therefor some compatibility issues crept in.

Sorry, i can't help you with details atm. but have you at least followed instructions here ?
« Last Edit: March 31, 2017, 11:38:45 am by molly »

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: Problems with the completion of a project fpgui
« Reply #3 on: March 31, 2017, 02:42:15 pm »
Yes yes I followed these instructions
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Graeme

  • Hero Member
  • *****
  • Posts: 1518
    • Graeme on the web
Re: Problems with the completion of a project fpgui
« Reply #4 on: March 31, 2017, 04:21:17 pm »
Replying here as well, so others can benefit too. I assume DicomViewer is written against a older version of fpGUI, as the source code was mostly edited some 3 years ago. So switch the the maint branch and see if that helps. Otherwise look at the fpGUI release tags, and see which release matches the DicomViewer time frame of 3 years ago.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: Problems with the completion of a project fpgui
« Reply #5 on: March 31, 2017, 04:56:06 pm »
Thank you. Now with 1.4.1 version change error

Compila il progetto, Modalità: linux, Destinazione: dicomviewer: Codice di uscita 256, Errori: 1
dicomviewer.lpr(31,0) Error: Error while linking

Where is the problem? My system is osx sierra
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

Fred vS

  • Hero Member
  • *****
  • Posts: 3876
    • StrumPract is the musicians best friend
Re: Problems with the completion of a project fpgui
« Reply #6 on: March 31, 2017, 05:16:54 pm »
Hello.

Please, ask your question in fpGUI news, you will find more people to help you:

http://geldenhuys.co.uk/webnews/

Choose a user name + enter.

Then click on fpgui.support

PS: Huh, I have try to compile dicomviewer without success, maybe you may add a issue in:
https://github.com/leonardorame/DicomViewer4/

Fre;D

I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018