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 » compiling issue with Clang (doesnt eat my libs)
compiling issue with Clang [message #58734] Wed, 10 August 2022 19:48
Leander is currently offline  Leander
Messages: 13
Registered: January 2019
Promising Member
Hi to all.

Tried the "hello" project at upp/clang at Win 11 with a BAT:
C:\upp\bin\clang\bin\armv7-w64-mingw32-c++.exe main.cpp -I C:\cpp\include -L libkernel32.a libuser32.a libgdi32.a libadvapi32.a libshell32.a libwinmm.a libwinspool.a libcomdlg32.a libole32.a liboleaut32.a libuuid.a libodbc32.a libodbccp32.a libopengl32.a libglu32.a libglaux.a -fpermissive -w -mwindows      2> C:\cpp\return.txt

Got the return:
clang-14: error: no such file or directory: 'libuser32.a'
clang-14: error: no such file or directory: 'libgdi32.a'
clang-14: error: no such file or directory: 'libadvapi32.a'
clang-14: error: no such file or directory: 'libshell32.a'
clang-14: error: no such file or directory: 'libwinmm.a'
clang-14: error: no such file or directory: 'libwinspool.a'
clang-14: error: no such file or directory: 'libcomdlg32.a'
clang-14: error: no such file or directory: 'libole32.a'
clang-14: error: no such file or directory: 'liboleaut32.a'
clang-14: error: no such file or directory: 'libuuid.a'
clang-14: error: no such file or directory: 'libodbc32.a'
clang-14: error: no such file or directory: 'libodbccp32.a'
clang-14: error: no such file or directory: 'libopengl32.a'
clang-14: error: no such file or directory: 'libglu32.a'
clang-14: error: no such file or directory: 'libglaux.a'

Found some of them in this dir
C:\upp\bin\clang\armv7-w64-mingw32\lib\

but were "not found" in spite.
Could it be that some of my lib files are obsolete?
Is the compiler (in the BAT) the best choice?

Martin
 
Read Message
Previous Topic: Capture division by zero
Next Topic: Math - GaussJordan function
Goto Forum:
  


Current Time: Sun Jul 06 20:09:34 CEST 2025

Total time taken to generate the page: 0.03871 seconds