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

Can't link runtime_info using program on Windows #4624

Closed
SeanTAllen opened this issue Feb 21, 2025 · 0 comments · Fixed by #4625
Closed

Can't link runtime_info using program on Windows #4624

SeanTAllen opened this issue Feb 21, 2025 · 0 comments · Fixed by #4625

Comments

@SeanTAllen
Copy link
Member

I get the follow when trying to link a Lori stress test on Windows. It has no issues on Linux or MacOS:

corral run -- ponyc --debug --define openssl_0.9.0  --path D:\a\lori\lori --output "D:\a\lori\lori\build\debug" "D:\a\lori\lori\stress-tests\open-close"
  exit: Exited(-1)
  out:
   Creating library D:\a\lori\lori\build\debug\open-close.lib and object D:\a\lori\lori\build\debug\open-close.exp
open-close.obj : error LNK2019: unresolved external symbol pony_schedulers referenced in function runtime_info_Scheduler_box_schedulers_oI
  Hint on symbols that are defined and could potentially match:
    "unsigned int __cdecl pony_schedulers(void)" (?pony_schedulers@@YAIXZ)
D:\a\lori\lori\build\debug\open-close.exe : fatal error LNK[11](https://github.com/ponylang/lori/actions/runs/13448059752/job/37577454470?pr=127#step:8:12)20: 1 unresolved externals
  err:
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Feb 21, 2025
SeanTAllen added a commit that referenced this issue Feb 21, 2025
Note this would have been caught much earlier if we were building
examples on Windows as part of CI as there is a runtime info example
that would fail on Windows.

Closes #4624
SeanTAllen added a commit that referenced this issue Feb 21, 2025
Note this would have been caught much earlier if we were building
examples on Windows as part of CI as there is a runtime info example
that would fail on Windows.

Closes #4624
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Feb 21, 2025
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

Successfully merging a pull request may close this issue.

2 participants