Open 64n35h4 opened 4 years ago
I'm also having a similar issue on fedora when linking CXX executable. Hoping someone here can help.
[100%] Building CXX object CMakeFiles/huestacean.dir/huestacean_autogen/mocs_compilation.cpp.o
[100%] Linking CXX executable huestacean
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/crt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/huestacean.dir/build.make:114: huestacean] Error 1
make[2]: *** [CMakeFiles/Makefile2:804: CMakeFiles/huestacean.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:811: CMakeFiles/huestacean.dir/rule] Error 2
make: *** [Makefile:208: huestacean] Error 2
So I figured it out. You need to git clone with the v2.6 tag, the current version only works with windows.
Hi, i'm having an issue in make process too..