build

Linking errors for Qt and cvv when building OpenCV in Windows 10

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-28 11:06:15
问题 I am trying to build OpenCV according to these instructions. After generating with CMake I opened OpenCV.sln in the build folder, switched to Release mode and built ALL_BUILD successfully. But when I try to build the INSTALL option under CMake, I get errors like this: Error LNK2001 unresolved external symbol "public: virtual struct QMetaObject const * __cdecl cvv::qtutil::Signal::metaObject(void)const " Error LNK2019 unresolved external symbol "public: void __cdecl cvv::qtutil::ZoomableImage:

Application of settings.gradle to Gradle build with non-standard build name

情到浓时终转凉″ 提交于 2021-01-28 07:32:19
问题 I have an application that is built with a build script named linuxApp.gradle. We have specified in settings.gradle rootProject.name = "JobThreader" As long as the root project folder is also named "JobThreader", when we execute the installApp task from the application plugin, the application is built to JobThreader/build/install/JobThreader However, if the root project folder is any other name, like "workspace" in the case of Jenkins, then the application is built to workspace/build/install

Application of settings.gradle to Gradle build with non-standard build name

不羁岁月 提交于 2021-01-28 07:21:01
问题 I have an application that is built with a build script named linuxApp.gradle. We have specified in settings.gradle rootProject.name = "JobThreader" As long as the root project folder is also named "JobThreader", when we execute the installApp task from the application plugin, the application is built to JobThreader/build/install/JobThreader However, if the root project folder is any other name, like "workspace" in the case of Jenkins, then the application is built to workspace/build/install

Error: Could not find or load main class … - Maven project out of Eclipse

随声附和 提交于 2021-01-28 06:11:30
问题 I created a Maven project with Eclipse and I am able to run the App.java in Eclipse. But now I want to run it out of Eclipse with this command: ..\workspace\subscribe\target\classes> java com.mqtt.subscribe.App EDIT: with executable jar : ..\workspace\subscribe>java -jar target\subscribe-0.0.1-SNAPSHOT.jar and get this error: Error: Could not find or load main class com.mqtt.subscribe.App What I am doing wrong? I don't understand it. I also try to rebuild the project with mvn package and mvn

Build Failure GeoNetwork opensource

混江龙づ霸主 提交于 2021-01-28 05:20:58
问题 I try build GeoNetwork opensource, but I have the following problem when I run "mvn clean install -DskipTests": Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 Apache Maven 3.5.2 Maven home: /usr/share/maven Java version: 1.8.0_191, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: it_IT, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-20-generic", arch: "amd64", family: "unix" [INFO]

Jar is not generated after running build task in android gradle 3.6.1

為{幸葍}努か 提交于 2021-01-28 02:17:31
问题 My build jar task works fine in grade 3.5.3, but it doesn't work in grade 3.6.1. I checked my build files, however, the /build/intermediates/packaged-classes/ dir is weirdly missing. The gradle scripts: task buildJar(dependsOn: ['build'], type: Jar) { doFirst { manifest { attributes 'Jar-VersionName': jarVersionName attributes 'Jar-VersionCode': jarVersionCode } } from zipTree(file('build/intermediates/packaged-classes/release/classes.jar')) appendix = "" baseName = "pp" version =

ASP.NET Core set hosting environment in build process

喜欢而已 提交于 2021-01-28 01:24:06
问题 I have an ASP.NET Core Api where I use the appsettings.{environmentname}.json configuration files. Then I also have the appropriate launchSettings.json file with the different environment options so I can run with any specific environment settings file. In the Startup.cs, we have a conditional setting where if we are in a non-prod environment, then we use a specific set of Jwt authentication (just has some validating checks turned off), then in prod, we load a different version that has all

Build size for LLVM 6.0.0 is huge (42G)

你。 提交于 2021-01-28 00:30:08
问题 I built llvm-6.0.0 from source and everything works fine. I'm just wondering how come its size is so huge ( 42G ). Can I easily erase some object files or other to make the build directory smaller? $ du -hs ~/GIT/llvm-6.0.0/build/ 42G /home/oren/GIT/llvm-6.0.0/build/ 回答1: You're building without shared libraries, which means that a number of very large libraries are linked statically into a large number of (otherwise small) tools. I'm guessing that you may also be building for all targets (32

“ld: unknown option: -Bsymbolic” when trying to build iniparser on OSX

狂风中的少年 提交于 2021-01-27 17:36:08
问题 I'm trying to build http://github.com/ndevilla/iniparser on OSX, but getting: ~/ make compiling src/iniparser.c ... compiling src/dictionary.c ... a - src/iniparser.o a - src/dictionary.o ld: unknown option: -Bsymbolic collect2: ld returned 1 exit status make: *** [libiniparser.so] Error 1 This seems to not be a known issue with the code itself. What do I need to adjust on my system? 回答1: The -Bsymbolic flag specified in the Makefile of that project is specific to the GNU linker and platforms

404 not found ( webpack image )

给你一囗甜甜゛ 提交于 2021-01-27 13:21:10
问题 How can I import an image using this web pack config? I get the following error in the console after I build the app using yarn build . How can I import the image to the dashboard file from the assets/public folder? (please see image). Thanks in advance. this the webpack config file. const webpack = require('webpack'); const path = require('path'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const