Skip to content

quickstart error: symbol(s) not found for architecture arm64 #16

@7flash

Description

@7flash

╭─gur at gur’s MacBook Air in ~/Documents/ultralight-quick-start/build on master✔ 25-06-25 - 6:05:05
╰─⠠⠵ cmake --build . --config Release
[ 33%] Building CXX object CMakeFiles/MyApp.dir/src/MyApp.cpp.o
[ 66%] Building CXX object CMakeFiles/MyApp.dir/src/main.cpp.o
[100%] Linking CXX executable MyApp.app/Contents/MacOS/MyApp
ld: warning: directory not found for option '-L/Users/gur/Documents/ultralight-quick-start/SDK/lib'
ld: warning: ignoring file /Users/gur/Documents/ultralight-quick-start/SDK/bin/libUltralight.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Users/gur/Documents/ultralight-quick-start/SDK/bin/libWebCore.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Users/gur/Documents/ultralight-quick-start/SDK/bin/libUltralightCore.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Users/gur/Documents/ultralight-quick-start/SDK/bin/libAppCore.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"ultralight::ViewListener::OnCreateChildView(ultralight::View*, ultralight::String const&, ultralight::String const&, bool, ultralight::IntRect const&)", referenced from:
vtable for MyApp in MyApp.cpp.o
"ultralight::ViewListener::OnCreateInspectorView(ultralight::View*, bool, ultralight::String const&)", referenced from:
vtable for MyApp in MyApp.cpp.o
"ultralight::App::Create(ultralight::Settings, ultralight::Config)", referenced from:
MyApp::MyApp() in MyApp.cpp.o
"ultralight::String::String(char const*)", referenced from:
MyApp::MyApp() in MyApp.cpp.o
ultralight::Settings::Settings() in MyApp.cpp.o
ultralight::Config::Config() in MyApp.cpp.o
"ultralight::String::String()", referenced from:
ultralight::Config::Config() in MyApp.cpp.o
"ultralight::String::~String()", referenced from:
MyApp::MyApp() in MyApp.cpp.o
ultralight::Settings::Settings() in MyApp.cpp.o
ultralight::Config::Config() in MyApp.cpp.o
ultralight::Config::~Config() in MyApp.cpp.o
ultralight::Settings::~Settings() in MyApp.cpp.o
"ultralight::Window::Create(ultralight::Monitor*, unsigned int, unsigned int, bool, unsigned int)", referenced from:
MyApp::MyApp() in MyApp.cpp.o
"ultralight::Overlay::Create(ultralight::RefPtrultralight::Window, unsigned int, unsigned int, int, int)", referenced from:
MyApp::MyApp() in MyApp.cpp.o
"typeinfo for ultralight::ViewListener", referenced from:
typeinfo for MyApp in MyApp.cpp.o
"vtable for ultralight::ViewListener", referenced from:
ultralight::ViewListener::ViewListener() in MyApp.cpp.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [MyApp.app/Contents/MacOS/MyApp] Error 1
make[1]: *** [CMakeFiles/MyApp.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions