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

Windows API Multiple defined symbols #230

Closed
Coldzer0 opened this issue Dec 3, 2023 · 1 comment
Closed

Windows API Multiple defined symbols #230

Coldzer0 opened this issue Dec 3, 2023 · 1 comment

Comments

@Coldzer0
Copy link
Sponsor Contributor

Coldzer0 commented Dec 3, 2023

Hello @synopse

I was working on my project ImGui-Pascal, and It requires linking with some Windows libraries, one of them is msvcrt
And I was recreating one of my projects to use it as a UI and mORMot2 as the backend.

Now the problem is these APIs are already defined in src\lib\mormot.lib.static.pas

Error: Multiple defined symbol "__strtod"
Error: Multiple defined symbol "__imp__localtime64"

__strtod is only used by src\lib\mormot.lib.quickjs.pas, which can be handled with an IFDEF if QuickJS is used.

But the real problem is imp_localtime64 := @localtime64; which I assume is used for some other library (not sure).

So, what do you think about this case?

@synopse
Copy link
Owner

synopse commented Dec 4, 2023

Please use the forum to discuss this.

Then ReOpen the issue if needed.

@synopse synopse closed this as completed Dec 4, 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

2 participants