After./configure is not creating a makefile.
-
Hi!
I am trying to configure a static build with this command.configure -static -release -nomake examples -no make test -skip qtwebengine -opensource -confirm-license -prefix G:\Qt\6.3.2\Qt6.3.2StaticLinked -feature-network -openssl-linked -I G:\\Qt\\Tools\\OpenSSL\\Win_x64\\include\\openssl -L G:\\Qt\\Tools\\OpenSSL\\Win_x64\\lib -DFEATURE_clangcpp=ON -DFEATURE_clang=ON
Console Output:
Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library. Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available. WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation. Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution. On macOS, you can use Homebrew's llvm package. You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check. WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found. You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check. -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked' To configure and build other Qt modules, you can use the following convenience script: G:/Qt/6.3.2/Qt6.3.2StaticLinked/bin/qt-configure-module.bat If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory -- Configuring done -- Generating done -- Build files have been written to: G:/Qt/6.3.2/Src
Then I tried:
G:\Qt\6 .3.2\Src> mingw32-make -j12 mingw32-make: *** No targets specified and no makefile found. Stop.
I suspect the problem is WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
Then I downloaded LLVM 16 and added all the paths I could to the PATH:
G:\Qt\6.3.2\mingw_64\bin C:\Program Files\LLVM\bin C:\Program Files\LLVM\lib C:\Program Files\LLVM\lib\clang\16\lib\windows
Nothing helps, the makefile does not appear.
Please help me very much.
You may find other errors in my configuration command. -
Hi!
I am trying to configure a static build with this command.configure -static -release -nomake examples -no make test -skip qtwebengine -opensource -confirm-license -prefix G:\Qt\6.3.2\Qt6.3.2StaticLinked -feature-network -openssl-linked -I G:\\Qt\\Tools\\OpenSSL\\Win_x64\\include\\openssl -L G:\\Qt\\Tools\\OpenSSL\\Win_x64\\lib -DFEATURE_clangcpp=ON -DFEATURE_clang=ON
Console Output:
Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library. Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available. WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation. Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution. On macOS, you can use Homebrew's llvm package. You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check. WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found. You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check. -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked' To configure and build other Qt modules, you can use the following convenience script: G:/Qt/6.3.2/Qt6.3.2StaticLinked/bin/qt-configure-module.bat If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory -- Configuring done -- Generating done -- Build files have been written to: G:/Qt/6.3.2/Src
Then I tried:
G:\Qt\6 .3.2\Src> mingw32-make -j12 mingw32-make: *** No targets specified and no makefile found. Stop.
I suspect the problem is WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
Then I downloaded LLVM 16 and added all the paths I could to the PATH:
G:\Qt\6.3.2\mingw_64\bin C:\Program Files\LLVM\bin C:\Program Files\LLVM\lib C:\Program Files\LLVM\lib\clang\16\lib\windows
Nothing helps, the makefile does not appear.
Please help me very much.
You may find other errors in my configuration command.@xlartas said in After./configure is not creating a makefile.:
Qt is now configured for building. Just run 'cmake --build . --parallel'
Once everything is built, you must run 'cmake --install .'
Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked'And why do you ignore what's being told you on how to proceed?
-
@xlartas said in After./configure is not creating a makefile.:
Qt is now configured for building. Just run 'cmake --build . --parallel'
Once everything is built, you must run 'cmake --install .'
Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked'And why do you ignore what's being told you on how to proceed?
@Christian-Ehrlicher
When I was doing this:cmake --build . --parallel cmake --install .
It turns out a build that collects everything except the compiler libraries and when starting the final one .exe swears at the lack of libraries such as:
libcrypto libtiff libssl libpng16 Etc.
-
@Christian-Ehrlicher
When I was doing this:cmake --build . --parallel cmake --install .
It turns out a build that collects everything except the compiler libraries and when starting the final one .exe swears at the lack of libraries such as:
libcrypto libtiff libssl libpng16 Etc.
And what's the problem - did you provide the static libs for those libraries? I mean - you even said that you want to use openssl-linked ... so what do you expect?
I really don't understand the hype to link stuff statically ...
-
X xlartas has marked this topic as solved on