agensgraph.c was a redundant/unnecessary file in the Age-viewer-Go repository, which is causing errors while building through wails build.
But with the merger of this PR all those redundant files have been removed, you can update your local repo with the latest updates and this problem will be solved.
The ageviewer-go branch had some initial commits which contains agensgraph.c. But with the current development of the desktop application it’s no longer needed.You can remove that file and be good to go.
In the future PR, it’ll be removed from the repository as its conflicting in making go workspace as well.
You’re getting this error because there are some older files in the go_viewer branch which are not part of the AGE Viewer Desktop Go app.
These include the (at the project root):
agensgraph.c file
sql directory
expected directory
age-viewer directory
These would be removed in upcoming PRs. For now you can simply go ahead and remove these files and directories and try wails dev again.
5
Answers
Please, try to install the PostgreSQL development libraries by this following commands:
Another way to solve this is verify if the postgresql.h is already in the path.
Search for postgres.h
and add to your path.
agensgraph.c
was a redundant/unnecessary file in the Age-viewer-Go repository, which is causing errors while building throughwails build
.But with the merger of this PR all those redundant files have been removed, you can update your local repo with the latest updates and this problem will be solved.
The
ageviewer-go
branch had some initial commits which containsagensgraph.c
. But with the current development of the desktop application it’s no longer needed.You can remove that file and be good to go.In the future PR, it’ll be removed from the repository as its conflicting in making go workspace as well.
You’re getting this error because there are some older files in the
go_viewer
branch which are not part of the AGE Viewer Desktop Go app.These include the (at the project root):
agensgraph.c
filesql
directoryexpected
directoryage-viewer
directoryThese would be removed in upcoming PRs. For now you can simply go ahead and remove these files and directories and try
wails dev
again.