Post

Replies

Boosts

Views

Activity

Cpp programs are not running
I tried running a cpp programme straight from the terminal, then using VSCode, and finally from Eclipse's C++ extension, but I kept receiving the same issue. Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) These are all the things I have installed till now is which are needed for running cpp programs, I think ~ % c++ -v Apple clang version 12.0.5 (clang-1205.0.22.9) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ~ % g++ -v                     Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.5 (clang-1205.0.22.9) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ~ % make -v                    GNU Make 3.81 Copyright (C) 2006  Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 What should I do now? I can't program in cpp now anymore And can someone please suggest a IDE for C++ programs and not Xcode(because it takes up a lot of space)
0
0
826
Jul ’21
My postgresql not starting
As soon as I started my postgresql version 13 then this error pops up, for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={LSLine=3665, LSFunction=LSOpenStuffCallLocal} And also this: The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={LSLine=3665, LSFunction=LSOpenStuffCallLocal} (1) Can anyone tell what's going on And this app used to work fine my previous os which was Mojave, I just updated to big sur while formatting my disk
12
2
5.3k
Nov ’20