Closed maremnev closed 12 months ago
I eliminated the warning message by copying libxgates.dylib
into libxgates.so
. But I'm not sure it's correct.
Thanks Mikhail
Yes, this seems to work, I ran into the same issue with a new MacMini I just got. I actually don't know what exactly is happening here ;-) I will investigate and likely update something to make it work across environments. I'll keep you posted.
On Tue, Oct 31, 2023 at 9:02 AM Mikhail Remnev @.***> wrote:
I eliminated the warning message by copying libxgates.dylib into libxgates.so. But I'm not sure it's correct.
— Reply to this email directly, view it on GitHub https://github.com/qcc4cp/qcc/issues/19#issuecomment-1787520516, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSDND6PPF7OHR4SGLYTBQ3YCEOKVAVCNFSM6AAAAAA6PIBE7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGUZDANJRGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Robert Hundt
Hmm, I tried but failed. I think I will have to update the documentation for MacOS and also improve the warning message a bit. Thanks R
On Tue, Oct 31, 2023 at 9:07 AM Robert Hundt @.***> wrote:
Thanks Mikhail
Yes, this seems to work, I ran into the same issue with a new MacMini I just got. I actually don't know what exactly is happening here ;-) I will investigate and likely update something to make it work across environments. I'll keep you posted.
On Tue, Oct 31, 2023 at 9:02 AM Mikhail Remnev @.***> wrote:
I eliminated the warning message by copying libxgates.dylib into libxgates.so. But I'm not sure it's correct.
— Reply to this email directly, view it on GitHub https://github.com/qcc4cp/qcc/issues/19#issuecomment-1787520516, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ASSDND6PPF7OHR4SGLYTBQ3YCEOKVAVCNFSM6AAAAAA6PIBE7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGUZDANJRGY>
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Robert Hundt
— Reply to this email directly, view it on GitHub https://github.com/qcc4cp/qcc/issues/19#issuecomment-1787528541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEWY3GYGNGD5WIHFO4FIUDYCEO23AVCNFSM6AAAAAA6PIBE7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGUZDQNJUGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Robert Hundt
Oh wait, as I write this notice, it turns out the solution may be to just rename the rule in the src/lib/BUILD file to specify the full filename (libxgates.so instead of just xgates). I will check that in and test it for the OSs that I have.
Thanks R
On Sat, Nov 4, 2023 at 9:12 AM Robert Hundt @.***> wrote:
Hmm, I tried but failed. I think I will have to update the documentation for MacOS and also improve the warning message a bit. Thanks R
On Tue, Oct 31, 2023 at 9:07 AM Robert Hundt @.***> wrote:
Thanks Mikhail
Yes, this seems to work, I ran into the same issue with a new MacMini I just got. I actually don't know what exactly is happening here ;-) I will investigate and likely update something to make it work across environments. I'll keep you posted.
On Tue, Oct 31, 2023 at 9:02 AM Mikhail Remnev @.***> wrote:
I eliminated the warning message by copying libxgates.dylib into libxgates.so. But I'm not sure it's correct.
— Reply to this email directly, view it on GitHub https://github.com/qcc4cp/qcc/issues/19#issuecomment-1787520516, or unsubscribe <
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Robert Hundt
— Reply to this email directly, view it on GitHub https://github.com/qcc4cp/qcc/issues/19#issuecomment-1787528541, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABEWY3GYGNGD5WIHFO4FIUDYCEO23AVCNFSM6AAAAAA6PIBE7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGUZDQNJUGE>
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Robert Hundt
— Reply to this email directly, view it on GitHub https://github.com/qcc4cp/qcc/issues/19#issuecomment-1793485914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSDND2OX6TMMV3PQ7SG6ZLYCZSO7AVCNFSM6AAAAAA6PIBE7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ4DKOJRGQ . You are receiving this because you commented.Message ID: @.***>
-- Robert Hundt
The fix seems to work. Checked in. Thank you again (I also added your name to the Thank You notes in the README.md).
Hi!
I tried to run qcc simulator on a MacBook Air with the processor M2. The macOS is Ventura 13.5.2. It works correctly. The python was installed though brew and downloaded by git.
But I can't run it with C++ accelerator, the module returns the message:
All paths are corrected according libraries place that file WORKSPACE takes into accounts the python positions:
And variables PATH and PYTHONPATH are corrected too:
Command
bazel build all
returns no errors. But it made in directoryqcc/bazel-bin/src/lib
fileslibxgates.a
andlibxgates.dylib
, but python searchs for filelibxgates.so
.I guess it's a remainder from Linux.
How to compile the library correctly in Mac? May be it's needed to point the another library in python?