![]() I've already tried running the sudo g++ main.cpp command and it gives me this error:Ĭlang: error: linker command failed with exit code 1 (use -v to see invocation)īased off my research, I know that clang is the compiler for c++ and a linker error is basically when something can't find the right files or library. Make: /Library/Developer/CommandLineTools/usr/bin/c++: Permission denied Building CXX object CMakeFiles/untitled1.dir/ ![]() Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -build /Users/anshuldaga/untitled1/cmake-build-debug -target untitled1 -j 2 When I try to build or run the program, it gives me these errors: = I'm using MacOS and everything is update in terms of software. I'm trying to run a basic "hello world" kind of program in CLion, except I'm trying to print out a value in the main.cpp file from a header and cpp file. I'm an inexperienced programmer so bear with me if this little sense. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |