How to solve error in qt creator in ubuntu? - qt-creator

While running a project in qt creator in ubuntu I got the following error: "No rule to make target for 'isledialog.ui' needed by 'ui_isledialog.h'.Stop."

Related

Install xdebug failing on Mac

I am running MacOS Big Sur (ver 11.4) w/ PHP 7.4.19. I am trying to install xdebug w/ homebrew:
pecl install xdebug
but it fails with:
5 warnings and 4 errors generated.
make: *** [xdebug.lo] Error 1
ERROR: `make' failed
I tried downloading source and running make but I get the same error:
In file included from /usr/local/Cellar/php#7.4/7.4.19_1/include/php/Zend/zend.h:356:
/usr/local/Cellar/php#7.4/7.4.19_1/include/php/Zend/zend_operators.h:523:10: error:
'asm goto' constructs are not supported yet
__asm__ goto(
I have Googled to no avail. Has anyone else encountered this?
This is because of a mismatch between compilers. You didn't enough include information about which part was compiled by which compiler, but one of them was compiled by LLVM, and the other with GCC. This causes a mismatch.
You need to make sure that you're using the same compiler for both.

Where is the intel sgx psw and making intel sgx work with ubunut 18.04

I've tried following the intel instructions to install sgx, but it requires the sgx_linux_x64_psw_.bin file, which i cannot find anywhere. I've got the driver installer (sgx_linux_x64_driver_1.35.bin) and the sdk installer(sgx_linux_x64_sdk_2.10.100.2.bin), intel seems not to have a psw for linux? If so, how do i properly work with sgx? I tried simply executing the driver and sdk .bin files, but the sample code in the sdk would not compile (after make SGX_MODE=SIM), even after setting the sgxsdk directory to /opt/intel/sgxsdk. I'd get the following compile error:
/usr/bin/ld: warning: libsgx_uae_service_sim.so, needed by /opt/intel/sgxsdk/lib64/libsgx_urts_sim.so, not found (try using -rpath or -rpath-link)
/opt/intel/sgxsdk/lib64/libsgx_urts_sim.so: undefined reference to `get_launch_token'
collect2: error: ld returned 1 exit status
Makefile:235: recipe for target 'app' failed
make[1]: * [app] Error 1
make[1]: Leaving directory '/opt/intel/sgxsdk/SampleCode/SampleEnclave'
Makefile:180: recipe for target 'all' failed
make: * [all] Error 2
Any help with either issue would be much appreciated!
So at least in my case, it seems the issue was that I was A, using a virtual machine, which can ONLY run in simulation mode, so getting a fully working version of sgx is impossible. Secondly, I was using an outdated installation guide, for anyone else trying to use this stuff, make sure to get the installation guide from the intel download page along with the version you are downloading.
download source code from https://github.com/intel/linux-sgx, compile according to the instructions and then install psw.

Boost Compilation Failed for Installation of LightGBM on Windows: Name clash for '<pC:\boost\boost-build\lib>libboost_atomic.a'

I am trying to install LightGBM GPU version on Windows systems (I am using Anaconda on Windows for Python). I followed the installation guide from the beginning.
I have succefully completed the first two tasks:
Install the appropriate OpenCL SDK
Install MinGW
However, I encountered error after this command for Boost Compilation:
b2 install --build_dir="C:\boost\boost-build" --prefix="C:\boost\boost-build" toolset=gcc --with=filesystem,system threading=multi --layout=system release
The Error Message are as followed:
error: Name clash for 'libboost_atomic.a'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error: - 64
error: - 32
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.
Please share me any suggestions on how should I rectify the problem?

Qt dependencies not found

I am trying to compile the bitcoin-core on my Mac and I want to use QT to develop the project also. Here is the instruction on GitHub:
https://github.com/bitcoin/bitcoin/blob/0.14/doc/build-osx.md
And I have set up my QT:
$ qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/local/Cellar/qt#5.5/5.5.1_1/lib
then when i run
./configure --with-gui
it throws the error below:
checking for Qt5Core Qt5Gui Qt5Network Qt5Widgets... no
checking for QtCore QtGui QtNetwork... no
configure: error: Qt dependencies not found
and i can't run ./src/qt in QT. It throws these error:
make[1]: *** No rule to make target `bitcoin_qt'. Stop.
make: *** [all] Error 2
11:24:14: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project bitocin (kit: Desktop)
When executing step "Make"
My English's bad, hope you could understand. Thank you for help!

Windows 7 Qt Creator libqxt

SDK: Qt Creator 2.4.1 (Qt 4.7.4 (32 bit)) running on Windows 7
Software: libqxt
Final target platform: Harmattan (Nokia N9)
I am developing an application that is suppose to use qt-Brisa which in turn uses libqxt so I am trying to install libqxt.
In the end I am doing a Nokia N9 (Harmattan) application so I need static library of libqxt
However I get problems when trying to install libqxt both if I try the command prompt or with Qt Creator.
What is the correct approach, I assume using the Qt Creator is the correct way to build it?
Try 1
Using command Prompt approach (according to http://dev.libqxt.org/libqxt/wiki/user_guide)
C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin
configure.bat -static -no-db -debug_and_release
Testing for qmake...
Testing for mingw32-make...
Testing for nmake...
Testing for GNU make...
Using GNU make.
Testing for optional external libraries.
If tests fail, some features will not be available.
Testing for Zero Conf...
Zero Conf disabled.
Configuration successful.
Generating makefiles...
Project MESSAGE: building docs
Project MESSAGE: building core module
Project MESSAGE: building widgets module
Project MESSAGE: building network module
Project MESSAGE: building sql module
Project MESSAGE: building web module
Reading C:/temp/Project/libqxt/libqxt/tools/3rdparty/qdoc3/qdoc3.pro
Reading C:/temp/Project/libqxt/libqxt/src/core/core.pro
Reading C:/temp/Project/libqxt/libqxt/src/widgets/widgets.pro
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Reading C:/temp/Project/libqxt/libqxt/src/designer/designer.pro
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: widgets
Reading C:/temp/Project/libqxt/libqxt/src/network/network.pro
Reading C:/temp/Project/libqxt/libqxt/tools/jsonrpcclient/jsonrpcclient.pro
Reading C:/temp/Project/libqxt/libqxt/src/sql/sql.pro
Reading C:/temp/Project/libqxt/libqxt/src/web/web.pro
Makefiles generated. Run make now.
make
Makefile:280: *** multiple target patterns. Stop.
Why is it using GNU make and not qmake or am I doing somethign wrong ?
Try 2
Using Qt Creator
I also tried to load the libqxt project into the Creator (which I would like to prefer)
but the compile output windows show the following
11:05:50: Running build steps for project libqxt...
11:05:50: Starting: "c:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake.exe"
C:\temp\Project\libqxt\libqxt\libqxt.pro -r -spec win32-msvc2010 "CONFIG+=declarative_debug"
WARNING: features.path is not defined: install target not created
11:05:50: The process "c:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake.exe" exited normally.
11:05:50: Starting: "C:\QtSDK\QtCreator\bin\jom.exe"
jom 1.0.6 - empower your cores
11:05:51: The process "C:\QtSDK\QtCreator\bin\jom.exe" exited normally.
But that did not compile either
(WARNING: features.path is not defined: install target not created)
When it compiles, how do I "add" the libqxt to the rest of the Qt environment so another project can "see" the libqxt libraries, is it by "Deploy All" ?
Regards Stefan

Resources