Last active
November 17, 2023 17:10
-
-
Save jbl0ndie/e46349ab534c7e32429b to your computer and use it in GitHub Desktop.
clang: error: linker command failed with exit code 1 (open frameworks)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This means you have two files which have a function called "main" in them -- the compiler compiles all the code fine, but when it goes to link, it sees two object symbols that have the same name. | |
This usually happens when you include the example code from the an addon (by dragging the addon into a project, for example, but neglecting to remove the addon's example code). |
It's been a long time, @vincentNtabaazi but as far as I can tell from my gist, you've probably got two main.cpp
files in your project.
There must only be one main.cpp
file or you will get that error.
Do you have a public repository in GitHub?
Hello how can ı solve it
Linker command failed with exit code 1 (use -v to see invocation)
MacOS xcode app
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how do we solve it ??