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
137 Views Asked by Flowings At
0
There are 0 best solutions below
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in GCC
- File refuses to compile std::erase() even if using -std=g++23
- the difference between two style of inline ASM
- Why veneer code generated by gcc for cortex-m0 seems 8-byte aligned?
- How to compile the Linux kernel with -O0 for more detailed debug?
- GMP Windows installation "configure: error: could not find a working compiler"
- Unable to run get .exe file from assembly NASM
- Problem with compiling c++ project that is running python code using Python.h -> undefined reference
- How to use a newer linker and glibc in a Kotlin/Native project?
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- Trying to compile GCC returns a bunch of errors
- Compiling with gcc fno-common option causes performance degradation
- On cygwin I get errors containing -lintl and -liconv when running gcc
- Constant function pointer optimization
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- How to fix this error in terminal while writing hello world code in VS Code on C?
Related Questions in G++
- File refuses to compile std::erase() even if using -std=g++23
- Can't resolve undefined reference to box2D C++
- Is this a GCC optimiser bug or a feature?
- Problem with compiling c++ project that is running python code using Python.h -> undefined reference
- weird > thing when compiling for sdl2 in g++
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- g++ / vscode apparently cannot see my src folder? "cc1plus.exe: fatal error: src/glad.c No such file or directory"
- compile masstree from source in riscv64
- C++: undefined reference to `xxx`
- Problem with g++ on Mac using std::thread and exceptions
- Why is the size of the bit-field structure different from what I think?
- g++ ok but clang no: return rvalue to lvalue
- Trouble setting up c++ with VSCode. Include error, missing binary operator and xlocale.h not found
- Trying to understand the fields of std::_Sp_counted_base in gcc's bits/shared_ptr_base.h header file
- g++: fatal error: cannot execute ‘d21’: execvp: No such file or directory compilation terminated
Related Questions in CLANG++
- File refuses to compile std::erase() even if using -std=g++23
- Get search paths for headers in the standard library in Clang?
- Is this a GCC optimiser bug or a feature?
- How can I switch from clang11 to clang14 on freebsd?
- Why breakpoint location is +4 bytes to the function address?
- How to fix loop not unrolled: the optimizer was unable to perform the requested transformation in clang?
- Problem with g++ on Mac using std::thread and exceptions
- g++ ok but clang no: return rvalue to lvalue
- how to fuzz program using libfuzzer?
- Why is bitset::set() triggering undefined behavior
- Android NDK: Linker Script .ld: OVERLAY : gives ld:4: malformed number: :
- How to generate binary executable from linked LLVM IR of CUDA files?
- How to use clang -cc1 to link object files
- clang 18 gives error "non C++20 importable modules" for "import std"
- Why is jthread not presented in libc++ (using clang 18, c++26)
Related Questions in MACOS-MOJAVE
- Cannot use vscode on macOS 10.14.6
- how to move mouse to specific point with keyboard shortcut
- dyld: cannot load 'my_program' (load command 0x80000034 is unknown)
- SQLitePCLRaw on macOS Mojave : Unable to load shared library 'e_sqlite3' or one of its dependencies
- How to create phar files on Mac?
- Pg dump version different from server error - docker
- Install Spyder OS Mojave
- What am I doing wrong with '--allow-fs-read=*'? Getting 'zsh: no matches found' error on Mac using Node.js Permission Model
- Configuration error: Querying "UUID" failed (VERR_CFGM_VALUE_NOT_FOUND)
- How to Restore Tables in a Database from csv files in PgAdmin (PostgreSQL)
- Error opening archive: Unrecognized archive format
- Which mac os version is working pretty good with Valgrind?
- How do I successfully build OpenSSL 0.9.8 on MacOS Mojave?
- remove the link between clang++ and g++ on macos mojave
- I followed this YY video: https://youtu.be/ZB3GLtQvgME?t=2003 but cannot 'chainlink node
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 # Hahtags
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?