Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Remake frontend as a static website - Can't compile #12

Closed
TheRedScreen64 opened this issue Feb 19, 2024 · 1 comment
Closed

Remake frontend as a static website - Can't compile #12

TheRedScreen64 opened this issue Feb 19, 2024 · 1 comment
Assignees
Labels

Comments

@TheRedScreen64
Copy link
Owner

It's unnecessary, stupid and just not a good practice to write the frontend in a way that it needs to be compiled so complicated like here with C.
Please rewrite the frontend using either a frontend framework or just good old static html.
@nosehad You can show off your libraries in many other places but PLEASE NOT IN FRONTEND!!!

For example the compilation is one, but not the only problem that then arrises:

Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit2gtk-4.0' found
In file included from utils/SHashmap.h:12,
                 from utils/SHashmap.c:1:
utils/String/String.h:10:10: fatal error: malloc.h: No such file or directory
   10 | #include <malloc.h>
      |          ^~~~~~~~~~
compilation terminated.
In file included from utils/Convert.c:3:
utils/Convert.h:12:10: fatal error: stdlib.h: No such file or directory
   12 | #include <stdlib.h>
      |          ^~~~~~~~~~
compilation terminated.
In file included from utils/SString.c:1:
utils/SString.h:12:10: fatal error: stdlib.h: No such file or directory
   12 | #include <stdlib.h>
      |          ^~~~~~~~~~
compilation terminated.
In file included from utils/String/String.c:1:
utils/String/String.h:10:10: fatal error: malloc.h: No such file or directory
   10 | #include <malloc.h>
      |          ^~~~~~~~~~
compilation terminated.
In file included from utils/SQTree/SQTreeSlowLocal.c:1:
utils/SQTree/SQTreeSlowLocal.h:11:10: fatal error: malloc.h: No such file or directory
   11 | #include <malloc.h>
      |          ^~~~~~~~~~
compilation terminated.
In file included from utils/debug.c:1:
utils/debug.h:94:10: fatal error: time.h: No such file or directory
   94 | #include <time.h>
      |          ^~~~~~~~
compilation terminated.
app/RadixApplication.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
In file included from app/RadixGTK.h:4,
                 from app/RadixGTK.c:2:
app/../utils/debug.h:94:10: fatal error: time.h: No such file or directory
   94 | #include <time.h>
      |          ^~~~~~~~
compilation terminated.
WSLocal.c:3:10: fatal error: microhttpd.h: No such file or directory
    3 | #include <microhttpd.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Main.c:9:10: fatal error: stdio.h: No such file or directory
    9 | #include "stdio.h"
      |          ^~~~~~~~~
compilation terminated.

(ran on Linux Mint fresh install)

@nosehad
Copy link
Collaborator

nosehad commented Feb 19, 2024

I am very well knowing what I am doing my Goal with this is to create best possible User experience, i will soon create an detailed guide, how to build my software in a virtual machine. Then later I will add some guards to enable cross plattform compile, till then, you have to deal with the compile using a virtual machine and a guide which I will soon create. Please keep in mind that

  • the project is currently under development, hence not ment to be used by unexperienced devs and unsers like you are.
  • I am using a minimal set of libraries ment to fulfill the singular purpose of creating a fast and scalable application frontend, there will be no unused "show off code"
  • all code is way above industrie standards there is no such thing considered as "bad practice"

All of the critics above are your own subjective and also just simply wrong assumptions proven wrong by countless objective performance and stability testing benchmarks. The problems you had lie in a wrong build system and the usage of an C++ compiler for C99 standard code.

When the project is finished, I will add a guide and complete build setup script, to give even gigantig goof-heads like you the possibility to build my systems. Till then learn to wait.
Greetings Noah

@TheRedScreen64 TheRedScreen64 unpinned this issue Feb 26, 2024
@TheRedScreen64 TheRedScreen64 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants