I installed SOIL on my Mac (BigSur) in the normal way with make and make install. When I do cmake . to my OpenGL Project, everything is ok and SOIL is found. But when i do make, i get following warning/error: ld: warning: ignoring file /usr/local/lib/libSOIL.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64.
I tried everything i found on the internet. I also included -m64 in the Makefile.
Does somebody know to solve this issue?
libSOIL.a file is getting ignored on MacOS
185 views Asked by JoniMot At
2
There are 2 answers
Related Questions in MACOS
- Error installing Nativescript on Mac M2 Sonoma 14.4.1
- macOS - Most secure way of a GUI SUDO_ASKPASS
- When using onDrag in SwiftUI on Mac how can I detect when the dragged object has been released anywhere?
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- ZSH function parameters conundrum
- how to make read only file/directory in Mac writable
- macOS BigSur - Unable to run bundled php version or brew php 8
- 9 Digit Addresses in Hexadecimal System in MacOS
- MacOS Bash-Script: while read p and echo
- How to make a range for tail rows on a categorized table in Numbers with JXA scripts?
- Cannot build a basic project with curl on Mac (M2) for Raspberry Pi Pico
- How to recover deleted files from create vite react project
- Can't run built SFML project from Xcode template
- React Native - RealmJS - Linker command failed with exit code 1
- How can I manually add a keyboard shortcut to a Shortcut Action Service directly via the system files, without going through the System Prefs GUI?
Related Questions in OPENGL
- How to fix "Access violation executing location" when using GLFW and GLAD
- getting Access violation writing location when calling glDrawElements caused by shader
- Experimenting with GLFW library: window boundary problem and normalized coordinates
- OpenGL Framebuffer/FBO RTT subpixel movement discrepancy
- Why isn't my glfw window showing anything?
- How can glPushMatrix affect the rotation of an object around a rotating object?
- g++ / vscode apparently cannot see my src folder? "cc1plus.exe: fatal error: src/glad.c No such file or directory"
- Does addition-assignment cause dependency chain in GLSL?
- Compiling C++ program with Opengl and Glut in windows
- Using Silk.NET in WinForms
- What happens when rendering an OpenGL buffer that has been padded with NULL (or another value)?
- How can I make a sphere follow an eight-like path in Python using OpenGL?
- OpenGL only rendering second triangle, first triangle not visible
- OpenGL shows black texture on quad
- My Visual Studio 2022 consistently gives me errors saying that the GLchar variable type is undefined
Related Questions in MAKEFILE
- How to refer to the filepath of test data in test sourcecode?
- Can't connect to postgres with Adminer using Docker on MacOS
- Flint installation error: make: *** [build/generic_files/memory_manager.lo] Error 1
- How to compile the Linux kernel with -O0 for more detailed debug?
- Makefile:7: *** missing separator. Stop (HELP NEEDED)
- Trying to compile GCC returns a bunch of errors
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- Turn a makefile into a list of build commands
- make test error with Golang: make: *** [Makefile:47: manifests] Error 126
- Passing optional arguments from makefile to shell script
- GNU make file pairwise combinations of files in folder
- make Error 2, The system cannot find the file specified
- Why do I get a make: *** No target specified and no makefile error?
- why does Make give error while compiling?
- CMake always rebuilding included file even if it didn't change
Related Questions in CMAKE
- Build issue in my STM32-NUCLEO project using the Eclipse IDE
- CMake: "dereference" INCLUDE commands to create a single CMakeLists.txt
- Conda CMAKE CXX Compiler error while compiling Pytorch
- How to setup nist nbis in raspbian raspberry pi 4
- Compiling c++ code by VS Code is always blocked by clang-tidy error 'Error running 'clang-tidy'
- library X11_Xmu_LIB is not found
- Cannot build a basic project with curl on Mac (M2) for Raspberry Pi Pico
- How to install spdlog library?
- How to generate vulkan project so it is cross-platform? (Using CMake)
- If target A depends on B, are B's POST_BUILD commands guaranteed to be executed before A starting to build?
- i have installed qt version 6.0.3 and this error QMYSQL driver not loaded displaying again and again
- Configure CmakeLists.txt to avoid manually copying dlls
- Cmake is not building an executable
- How to use "wx_dpi_aware.manifest" of wxWidgets wxMSW with MinGW and CMake?
- Try to Install GLFW on Steam Deck
Related Questions in SOIL
- OpenGL Texture won't draw
- SOIL Library Linking Errors
- opengl-soil try to put a texture for first time
- Wrong UV mapping applied on object OpenGl
- OpenGL using SOIL to produce jpg only the image size is incorrect
- opengl displaying white box instead of texture
- opengl generating a white box instead of a texture
- Weird mip map related issue using SOIL - OpenGL
- Error undefinde reference
- Soil texture triangle with plotrix with different soil classes
- Including headers in an Xcode 4.2.1 project
- Undefined reference linking static libSOIL.a on g++ linux
- How to load different images (loop) using SOIL for OpenGL c++?
- cannot get visual studios 2019 to render properly using soil
- libSOIL.a file is getting ignored on MacOS
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?
Popular Tags
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)
libSOIL uses the Carbon API (see here). The Carbon API has been deprecated with Montain Lion and removed with Catalina. I have removed libSOIL from a project for this reason, it is unlikely you can get it to work without rewriting some of its code.
A possible replacement would be libSDL along with SDL_image. These libs are much more heavy-weight, but can be used while still doing raw OpenGL rendering and ignoring the SDL rendering API.