Skip to content
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

MacOs arm64 library not found for -lfbclient #317

Closed
Nico-VL opened this issue Jun 7, 2023 · 3 comments
Closed

MacOs arm64 library not found for -lfbclient #317

Nico-VL opened this issue Jun 7, 2023 · 3 comments

Comments

@Nico-VL
Copy link

Nico-VL commented Jun 7, 2023

I'm new to develop apps on MacOs, so this may be a stupid question.
I'm trying to compile flamerobin 0.9.7 on a Mac, but got stuck with finding the right lib and where to place it.
I'm using firebird 4.0.1-2709-ARM64.pkg, and tried using the libfbclient.dylib, libfbclient.so, libfbclient.so.2.
I noticed their is also an extension .a but I couldn't find a file libfbclient.a.
ps: I can confirm that libfbclient.dylib is build for arm64

@rlakis
Copy link
Contributor

rlakis commented Oct 2, 2023

Update CMakeLists.txt

if(APPLE)
# MacOS specific stuff
# TODO: Untested, if any Mac devs want to check, please get in touch
message(WARNING "MacOS build is untested.\n"
"Please get in contact to tell us of your results.")
add_definitions(-DIBPP_DARWIN)
list(APPEND FR_LIBS -lfbclient)

list(APPEND SOURCE_LIST
    ${SOURCEDIR}/gui/mac/StyleGuideMAC.cpp
)

add_definitions(-DFR_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")

#add the Firebird framework path
list(APPEND FR_LIBS -L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries)

@arvanus
Copy link
Collaborator

arvanus commented Oct 2, 2023

If this works, can u do a pull request later as soon as user confirms fix?
Thanks!

@arvanus
Copy link
Collaborator

arvanus commented Oct 11, 2023

Closing as #328 looks like fixes this

@arvanus arvanus closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants