-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build on MacOS Big Slur fails. #144
Comments
short update:
however, i have not yet found out how to append that to all compilations... |
you could try with https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS.html
|
thankyou @NeroBurner now i get another error: Undefined symbols for architecture x86_64: |
looks to me like not-exported symbols. Does mac need to mark headers as exported like MSVC does? maybe #25 helps? |
This one has the same problem: #127 is it OK to close this one as duplicate? |
dear all, i close this build since at the end the solution has been to
|
dear all,
cmake --build build -j4
[ 11%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/mouse.c.o
In file included from /Users/bingo/InfiniSim/lv_drivers/indev/keyboard.c:9:
/Users/bingo/InfiniSim/lv_drivers/indev/keyboard.h:36:10: fatal error: 'SDL2/SDL.h' file not found
#include MONITOR_SDL_INCLUDE_PATH
however SDL2 are properly installed and the following test works fine
g++ main.cpp -o main -I/Library/Frameworks/SDL2.framework/Headers -F/Library/Frameworks -framework SDL2
#include
#include <SDL.h>
int main(int argc, char **argv){
if (SDL_Init(SDL_INIT_EVERYTHING) != 0){
std::cout << "SDL_Init Error: " << SDL_GetError() << std::endl;
return 1;
}
SDL_Quit();
return 0;
}
Thanks.
The text was updated successfully, but these errors were encountered: