I installed a lot of dependencies (gtk, libc-dev, gcc-multilib and anothers) trying to solve this problem, but with no success.
I tried run the command cc with all the flags and got an error too:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
Hello, I don't think it's a library problem (if this type of issue for help isn't allowed, I delete it), but I would like some help.
I tried to reproduce the example "egui", but found some errors, so I did a minimal example:
However, when i run
cargo build
i got this error:I installed a lot of dependencies (gtk, libc-dev, gcc-multilib and anothers) trying to solve this problem, but with no success.
I tried run the command
cc
with all the flags and got an error too:OS: Pop OS 22.04 (Cosmic)
Sorry for the poor English.