So I recently switched to mac and wanted to make a game with SDL2 and C++ and when I compiled some basic code to make a blank window with g++ it gave me an error with clang, I found out that clang links to GCC and g++, is there a way to remove this link so I can compile with g++? I installed it with Homebrew.
remove the link between clang++ and g++ on macos mojave
132 Views Asked by Flowings At
0
There are 0 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in GCC
- gcc static library compilation
- Different behavior of async with Visual Studio 2013(Windows8.1) and GCC 4.9(Ubuntu14.10)
- How to add directories to Cygwin gcc default search path
- Usage of #ifndef directive
- Failure to link a program with gcc -static
- Text as parameter in inline assembly (ARM)?
- Alternatives for strrspn and strfind functions(libgen functions in Solaris) in AIX?
- Incorrect format specifier with gcc compiler
- Why should I use a closing bracket in this?
- How can I compile *without* various instruction sets enabled?
- Automatically wrap C/C++ function at compile-time with annotation
- gcc compiled library: can successfully link with, how come it's "undefined symbol" when run the program?
- compiling caffe on Yosemite
- error - /usr/bin/ld: cannot find -lavutil in ubuntu 15.04
- Compatibility of libstdc++.so libgcc_s.so when upgrading GCC 4.1 to GCC 4.8.2
Related Questions in G++
- Using std::vector<> and std::shared_ptr<> should cause error
- C++ string and char* manipulation acting weird
- Seg fault when trying to compile PhantomJS from source on CentOS 7
- There is a way in gcc to get a warning when a constexpr can't be evaluated at compile time?
- GCC expected template-name before ‘<’ token error
- C++ What determines which version of C++ can run on a specific architecture (like Arduino)
- C++ unsigned long doesn't wrap around after 4294967295
- Exception not caught on -O2
- Relationship between gcc, g++, cygwin, and wingw?
- Getting unexpected "undefined reference to" errors when compiling with a static library
- SIGSEGV with std::map of pointers to template objects
- OpenGl XUbuntu 14.04 glShaderSource, glCompileShader, glCreateProgram functions not declared
- g++: error: unrecognized command line option ‘-stdlib=libstdc++’
- OpenMP support on OpenBSD
- Is it possible to merge coverage data from two executables with gcov/gcovr?
Related Questions in CLANG++
- os kern error : "ld: symbol(s) not found for architecture x86_64"
- clang 3.4 C++14 support
- Using std::stoi and std::stod with clang++ in Windows
- Clang (3.6.0) ignores warnings from included header files
- Does g++ linker optimizes unused libraries out when creating shared libraries?
- Linking a shared library in executable vs. another shared lib
- Cannot compile code with clang, but works with gcc
- Confusing clang error attempting to instantiate std::thread with a pointer
- Variable getting destroyed before calling lambda
- __uint128_t not working with Clang and libstdc++
- Lambda return of value without capture
- How to create and open a file system through the Chrome Pepper C API?
- OS X equivalent of --unresolved-symbols=ignore-in-object-files
- Why initial auto-vectorication loads from aligned std::array are scalar? (g++/clang++)
- Parameter with non-deduced type after parameter pack
Related Questions in MACOS-MOJAVE
- OSError when setting SIGKILL handler in mac os and python
- AppleScript insert text into Microsoft Word document
- dyld: cannot load 'my_program' (load command 0x80000034 is unknown)
- the keyboard python library is not working on MacOS Mojave
- remove the link between clang++ and g++ on macos mojave
- In need of a little assistance in configuring my python installation
- macOS Mojave 'ruby/config.h' file not found
- MacOS clang via Homebrew broken under Mojave `wchar.h`
- how to close an active document in Mac OS using shell script
- An error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue
- OpenGL (GLFW) does not show image on macOS Mojave
- node app fails to run on mojave: ReferenceError: internalBinding is not defined
- Letting a nested enum, passed as generic to superclass, conform to a protocol inline with its declaration results in infinite compiling
- Travis cli installation fails on mac
- SIGSEGV signal while executing "Eclipse Application" run configuration for my Xtext project
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?