call gRPCTargets.cmake can't found libgpr.so - grpc

I import grpc project use gRPCConfig.cmake file. But the following error occurred
CMake Error at /home/openwrt/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_glibc-2.22_eabi/usr/lib/cmake/grpc/gRPCTargets.cmake:178 (message):
The imported target "gRPC::gpr" references the file
"/usr/lib/libgpr.so"
but this file does not exist. Possible reasons include:
The file was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and contained
/home/openwrt/openwrt/staging_dir/target-arm_cortex-a53+neon-vfpv4_glibc-2.22_eabi/usr/lib/cmake/grpc/gRPCTargets.cmake
but not all the files it references.

Related

Cant find Qt5Core.lib

When building a project with
cmake .
the command
find_package(Qt5Core REQUIRED)
in the CMakeLists fails.
It throws
CMake Error at C:/Qt/Tools/QtDesignStudio/qt5_design_studio_reduced_version/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
The imported target "Qt5::Core" references the file
"C:/Qt/Tools/QtDesignStudio/qt5_design_studio_reduced_version/lib/Qt5Core.lib"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"C:/Qt/Tools/QtDesignStudio/qt5_design_studio_reduced_version/lib/cmake/Qt5Core/Qt5CoreConfig.cmake"
but not all the files it references.
as an error.
When searching for Qt5Core.lib through regular file explorer I can only find Qt5Core.prl and Qt5Core.dll but no Qt5Core.lib. How do I get Qt5Core.lib? Why doesn't it exist?
The code in Qt5CoreConfig.cmake in line 13 to 23:
if(NOT EXISTS "${file}" )
message(FATAL_ERROR "The imported target \"Qt5::Core\" references the file
\"${file}\"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
\"${CMAKE_CURRENT_LIST_FILE}\"
but not all the files it references.
")
endif()

Ignore temporary files or suppress "Invalid Exclude: filename. File not found." message from Swift Package Manager

I have a Swift Package which consists only of C files. It builds and works great as part of my iOS app. However, the directory also contains a Makefile and a simple REPL to use for adhoc development and testing. Accordingly, there will often, but not always, be .o files, as well as support files like tags during active development.
I use the SPM Package { targets: [.target( exclude ... setting to make sure those files are never included while building the app which includes this package. However, it means that in a "clean" environment like a CI machine there will be build messages like:
Invalid Exclude '..../Packages/SchemeC/Sources/SchemeC/s7repl.o': File not found.
Invalid Exclude '..../Packages/SchemeC/Sources/SchemeC/s7sqlite.o': File not found.
Invalid Exclude '..../Packages/SchemeC/Sources/SchemeC/s7.o': File not found.
Invalid Exclude '.../Packages/SchemeC/Sources/SchemeC/TAGS.scheme': File not found.
Is there a way to mark a file as "Ignore" for Swift Package Manager? (I.e. similar to including a file in .gitignore?)

SqLite header and source version mismatch for sqlite3

I am searching for a way to get rid of the error message
SqLite header and source version mismatch 2016-04-08 15:09:49
fe7d3b75fe1bde41511b323925af8ae1b910bc4d 2015-07-29 20:00:57
cf538e2783e468bbc25e7cb2a9ee64d3e0e80b2f
when ,e.g., typing in sqlite3. I had to check a python script, using SQLite. I had to overwrite the libsqlite.so in my folder /usr/lib/x86_64-linux-gnu/ due to a project specific libsqlite.so-file.
But older files libsqlite3.la, libsqlite3.so.0 and libsqlite3.so.0.8.6 remained unchanged.
My folder /usr/local/lib does not contain any sqlite files. I found this hint to change the source_id in the .c- and .h-file:
https://forum.ubuntuusers.de/topic/header-and-source-version-mismatch-bei-sqlite3/2/
I did this for the file sqlite3.h, but the file sqlite3.c is also missing.
Any other suggestions how I can fix this annoying problem?
Update:
After deleting and re-installing sqlite3 and libsqlite3-dev, I am receiving the same error message. The delete process also included the deletion of the file libsqlite3.so, that was substituted by the use case specific libsqlite3.so.
I also deleted the files libsqlite3.so.0 and libsqlite3.so.0.8.6 in the folder /usr/lib/x86_64-linux-gnu/. This leads to the error message:
sqlite3: error while loading shared libraries: libsqlite3.so.0: cannot open > shared object file: No such file or directory
Kind regards
If you don't want to use the SQLite version that happens to be shipped with your distribution, put all the source files (sqlite3.h and sqlite3.c of the "amalgamation") of the desired version into your project, just like any other source file.

Malformed inclusion path for Meteor Ionic

I am trying to set up my Meteor app with Ionic (using meteoric:ionic). I followed the instructions given (#import statements), also accounting for the known issue with the files being copied only on the second run. Still, I get this error:
=> Errors prevented startup:
While processing files with fourseven:scss (for target web.browser):
/client/style/app.scss: Scss compiler error: File to import:
{}/client/style/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic
not found in file: /Users/me/repos/brkn/{}/client/style/app.scss
While processing files with fourseven:scss (for target web.cordova):
/client/style/app.scss: Scss compiler error: File to import:
{}/client/style/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic
not found in file: /Users/me/repos/brkn/{}/client/style/app.scss
=> Your application has errors. Waiting for file change.
Somehow, all paths are prepended by {}/client/style/, which is the location of my app.scss file (can't explain the curly braces).
Can anyone tell what may cause this? How would I fix it?
That repo is no longer maintained.
Please use this official ionic package for meteor meteor add driftyco:ionic

error ASPPARSE: Could not load type error with msbuild on teamcity

I'm receiving error ASPPARSE: Could not load type error when building a project on team city.
The file it is failing on is a folder which is not referenced in the project but is just there for source control.
C:\TC\Agents\3\work\fd3ea8938fa12582>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler -v /DummyDeployWeb -p C:\TC\Agents\3\work\fd3ea8938fa12582\Project C:\TC\Agents\3\work\fd3ea8938fa12582\PreCompiled\Project-fixednames -u
ERROR
/DummyDeployWeb/common/files/somefilename.ascx(1): error ASPPARSE: Could not load type 'Project.somefilename'
How can I get the project to build and ignore these folders that arent referenced?
The ASP.NET compiler knows nothing about project files, it simply processes the entire contents of the folder you point it at.
There is no way to tell the compiler to exclude specific files and so if this is a requirement for you then one solution would be to move these files out of the folder before you run the compiler and then copy them into the deployment folder after the compilation is complete.

Resources