Repository navigation
Using pasbuild install on fpGUI may be ommiting needed units. #37
|
With [INFO] Reactor Summary:
[INFO]
[INFO] fpgui-svg2hvif ...... SKIPPED
[INFO] fpgui-framework ..... SUCCESS [ 1.486 s]
[INFO] fpgui-ide ........... SKIPPED
[INFO] fpgui-docview ....... SKIPPED
[INFO] fpgui-uidesigner .... SKIPPED
[INFO] fpgui-vertex ........ SKIPPED
[INFO] fpgui-hvif-dump ..... SKIPPED
[INFO] fpgui-imgcnv ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.486 sNotice that fpgui-svg2hvif is But when building a project that uses fpGUI, I get this error [INFO] Resolved: fpgui-framework:2.2.0-SNAPSHOT -> /home/bill/.pasbuild/repository/fpgui-framework/2.2.0-SNAPSHOT/fpc-x86_64-linux-3.2.4/units
[INFO] Checking registry "central" for fpgui-svg2hvif:2.2.0-SNAPSHOT...
[INFO] Not found in "central": HTTP error 404 fetching https://raw.githubusercontent.com/graemeg/pasbuild-registry/main/packages/fp/fpgui-svg2hvif/2.2.0-SNAPSHOT.xml: Unexpected response status code: 404
[ERROR] Dependency "fpgui-svg2hvif:2.2.0-SNAPSHOT" not found in local repository or any configured registry. Run "pasbuild install" in the dependency project first.Specifically : I looked at the project.xml and could not figure out why fpgui-svg2hvif was not getting installed. Suggestions ? |
Replies: 5 comments
|
And with fpGUI 2.1.1 as well [INFO] Not found in "central": HTTP error 404 fetching https://raw.githubusercontent.com/graemeg/pasbuild-registry/main/packages/fp/fpgui-svg2hvif/2.1.1.xml: Unexpected response status code: 404
[ERROR] Dependency "fpgui-svg2hvif:2.1.1" not found in local repository or any configured registry. Run "pasbuild install" in the dependency project first. |
|
Pasbuild is not installing because : [INFO] Building fpgui-svg2hvif [1/1]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping application module (only libraries are installed): fpgui-svg2hvif
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] fpgui-svg2hvif .... SKIPPEDI do not know the code of fpGUI well enough to know what unit is needing this. |
|
Changing the <build>
<projectType>library</projectType>
<mainSource>svg2hvif.pas</mainSource>
<unitPaths>
<path>../../framework/src/main/pascal/corelib</path>
</unitPaths>
</build>.....but..... [INFO] Found 2 source file(s)
[ERROR] umorsegui.pas(15,15) Error: Identifier not found "TfpgButton"
[ERROR] umorsegui.pas(15,25) Error: Error in type definition
[ERROR] umorsegui.pas(16,17) Error: Identifier not found "TfpgLabel"
[ERROR] umorsegui.pas(16,26) Error: Error in type definition
[ERROR] umorsegui.pas(17,18) Error: Identifier not found "TfpgLabel"
[ERROR] umorsegui.pas(17,27) Error: Error in type definition
[ERROR] umorsegui.pas(18,13) Error: Identifier not found "TfpgLabel"
[ERROR] umorsegui.pas(18,22) Error: Error in type definition
[ERROR] umorsegui.pas(19,18) Error: Identifier not found "TfpgEdit"
[ERROR] umorsegui.pas(19,26) Error: Error in type definition
[ERROR] umorsegui.pas(20,19) Error: Identifier not found "TfpgEdit"
[ERROR] umorsegui.pas(20,27) Error: Error in type definition
[ERROR] umorsegui.pas(21,18) Error: Identifier not found "TfpgButton"
[ERROR] umorsegui.pas(21,28) Error: Error in type definition
[ERROR] umorsegui.pas(29,1) Fatal: There were 14 errors compiling module, stoppingSomething does not seem to be working correctly with the file The uses clause of the fpGUI generated unit is : |
|
So there are two problems. Most likely with fpGUI. I manually added I have filed that issue here graemeg/fpGUI#214 and the other issue here graemeg/fpGUI#215 |
|
All fixed and explained (I hope). 🤞🙂 |
All fixed and explained (I hope). 🤞🙂
Please see: graemeg/fpGUI#214 and graemeg/fpGUI#215