Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » Clang cannot find DLLs
Clang cannot find DLLs [message #61467] Tue, 18 February 2025 18:17 Go to next message
Leander is currently offline  Leander
Messages: 13
Registered: January 2019
Promising Member
Hello folks.

Cannot compile currently with Clang, as it is ranting these two DLLs were missing:
libc++.dll
libunwind.dll

The obvious reason are these to libs I have linked:
-lunwind
-lstdc++

Without them there is no issue but I need them, as it doesnt know the new/delete otherwise. I also tried the update of Win 10 but didnt help. Couldnt find them at clang.org or llvm.org, nor in the web. Could you please give me a hint where to download them? Has anyone experienced the same, or is there a Clang forum?

Sincerely
Martin
Re: Clang cannot find DLLs [message #61468 is a reply to message #61467] Tue, 18 February 2025 22:31 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1099
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Martin,

Did you compile using TheIDE and UMK with CLANG.bm build method? I saw in your previous posts that you were trying to call compiler binary by your own. You should do it. Use TheIDE and UMK since they are compatible with our framework. If you want to use command line for compilation just use UMK.

Klugier


U++ - one framework to rule them all.
Re: Clang cannot find DLLs [message #61469 is a reply to message #61468] Wed, 19 February 2025 08:02 Go to previous messageGo to next message
Leander is currently offline  Leander
Messages: 13
Registered: January 2019
Promising Member
Hello Klugier

"Did you compile using TheIDE and UMK ..."
No, didnt. I am just using a BAT like so:
@C:\upp-win-16660\upp\bin\clang\bin\clang.exe main.cpp etc.


Didnt know about UMK and will do my best to find out.
Thanks so much for the help.
Martin
Re: Clang cannot find DLLs [message #61470 is a reply to message #61469] Wed, 19 February 2025 08:53 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 1202
Registered: August 2007
Senior Contributor
Hello Martin,

umk is Upp's command line builder. It can drastically simplify building Upp apps if you don't prefer to use TheIDE. On Windows its executable (umk.exe) is located in the upp's folder (along with TheIDE).

Its documentation.

If you have any questions, let us know.


Best regards,
Oblivion


[Updated on: Wed, 19 February 2025 08:53]

Report message to a moderator

Re: Clang cannot find DLLs [message #61476 is a reply to message #61470] Thu, 20 February 2025 16:39 Go to previous messageGo to next message
Leander is currently offline  Leander
Messages: 13
Registered: January 2019
Promising Member
Hi Oblivion

I am friend of the command line. In contrast to MS-Visual i just need two files:
exe.bat
main.cpp

I am glad to go ahead with the UMK now, and then write again.
Thanks so much for the hints.

Martin

[Updated on: Thu, 20 February 2025 17:00]

Report message to a moderator

Re: Clang cannot find DLLs [message #61484 is a reply to message #61476] Fri, 21 February 2025 23:11 Go to previous message
Leander is currently offline  Leander
Messages: 13
Registered: January 2019
Promising Member
Hi folks.

Obviously I am totally wrong with the UMK. The help says:
Quote:
UMK (U++ MaKe) is a command line utility to build the U++ program.

I dont use U++, but my own lib only.

Tried with THEIDE. Have to provide my include path and the libs being required, but cannot find the dialog to do so. A properties-dialog for each new-method (console without etc.) could be a solution.
Need a help for both please.

Martin

[Updated on: Sat, 22 February 2025 22:52]

Report message to a moderator

Previous Topic: Make THISFN simpler and more powerful
Goto Forum:
  


Current Time: Fri Apr 25 07:59:35 CEST 2025

Total time taken to generate the page: 0.00546 seconds