build-tools

Compile zbar for Python 3.x

痴心易碎 提交于 2020-02-29 05:38:39
问题 A few years ago I spent some time finding a way to make zbar work with Python 2.7 + Windows x64, and I posted this working solution: How to decode a QR-code image in (preferably pure) Python? Now I notice pip install zbar still does not work out-of-the-box with Python 3.7, so I'm trying to compile it from source. Here is what I did: Install "Microsoft Visual C++ Build Tools 2015" (see here) Get the zbar source from: https://github.com/NaturalHistoryMuseum/ZBarWin64 msbuild zbar64.sln /p

Specifying app startup order with erlang.mk

杀马特。学长 韩版系。学妹 提交于 2020-01-16 00:44:31
问题 I'm trying to covert over from an antiquated unmaintained build tool to erlang.mk. I have a release created using erlang.mk, but it fails when starting up, I believe because apps are starting up in the wrong order. How do I specify the startup order of the apps? I would have thought that it would start up apps in the same order as specified in the LOCAL_DEPS variable of the Makefile, but that doesn't seem to be happening. I've looked everywhere I can in the docs, plus googled, but haven't

Android preview build tools alpha 5 won't deploy APK

假装没事ソ 提交于 2020-01-13 14:04:38
问题 Whenever I try to start an app, either by debugging or playing, after compiling with: dependencies { classpath 'com.android.tools.build:gradle:2.0.0-alpha5' } I get the message: No local changes detected, not deploying APK. I get this even when there most certainly are changes, so I am unable to push any new changes to the device without actually moving the APK to the device and installing it manually. I've tried unchecking the "Skip installation if APK has not changed" configuration option,

Apply visual styling to echo commands used in npm scripts via package.json

久未见 提交于 2020-01-13 05:57:11
问题 Have recently put together a build tool with npm and package.json scripts, and I have a few echo commands to state which parts of the pipeline are currently running. For example (from my package.json ): { "scripts": { "clean": "rimraf a-directory/", "preclean": "echo \"\n[ Cleaning build directories ]\n\"" } } When I Bash: npm run clean it prints my echo message, and then cleans the appropriate directory. I'd like to change colour, font weight, background text colour to make these echo

Apply visual styling to echo commands used in npm scripts via package.json

佐手、 提交于 2020-01-13 05:57:09
问题 Have recently put together a build tool with npm and package.json scripts, and I have a few echo commands to state which parts of the pipeline are currently running. For example (from my package.json ): { "scripts": { "clean": "rimraf a-directory/", "preclean": "echo \"\n[ Cleaning build directories ]\n\"" } } When I Bash: npm run clean it prints my echo message, and then cleans the appropriate directory. I'd like to change colour, font weight, background text colour to make these echo

Android: No resource found powered_by_google_light icon in build tools 23.0.3?

爷,独闯天下 提交于 2020-01-03 17:24:08
问题 I have always used the powered_by_google icons as I'm using the Google Places API . They look like this: On this site, it says the icons are included within the Google Play services library: https://developers.google.com/places/android-api/attributions The 'Powered by Google' image is included in the Google Play services library, in the correct sizes for Android apps. You may not resize or modify these images in any way: For use on a light background: @drawable/powered_by_google_light For use

How to install old version of Android build tools from command line?

一个人想着一个人 提交于 2019-12-29 10:36:21
问题 I am installing android SDK to create an automated build server. I got into a problem where many Gradle-based Android projects I manage rely on different build tools version. Some of the projects still requiring old build-tools version (e.g. v19.1.0). My android-sdk package was downloaded when build-tools version 20 has just released, so that's the only version available to download via android update sdk -u --filter build-tools . I have tried to invoke android update sdk -u --filter build

Using node-sass watch option with npm run-script

此生再无相见时 提交于 2019-12-29 04:15:09
问题 So I'm running tasks in npm package scripts but I want to pass the watch option in npm start . This works: "scripts": { "scss": "node-sass src/style.scss dist/style.css -w" } This doesn't compile, watch, or throw any error: "scripts": { "scss": "node-sass src/style.scss dist/style.css", "start": "parallelshell \"npm run scss -- -w\"" } Doesn't work without parallelshell either or without shorthand. I assume the problem is the run-script is passing the extra argument in quotes, so the command

The build tools for Visual Studio 2008 (Platform Toolset = 'v90') cannot be found

Deadly 提交于 2019-12-23 16:32:55
问题 I'm trying to build project c++ on vs2017 but there error appear: "The build tools for Visual Studio 2008 (Platform Toolset = 'v90') cannot be found " after navigation, I must download VS 2008 I have installed it, but problem still exist . any Suggestion ? 回答1: The projects are targeting the v90 platform toolset. The solution is to either open the .sln file with VS2008 (i.e. use the right tool), or spend some time updating the projects to target the latest platform toolset (i.e. VS2017). To

RSRuntimeException: Loading of ScriptC script failed (build tools 19.0.2)

允我心安 提交于 2019-12-23 02:45:09
问题 Here's my entire output: 02-26 09:55:50.410 625-640/com.vsco.cam E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1 java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:299) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) at java.util.concurrent.FutureTask.setException(FutureTask.java:219) at java.util.concurrent.FutureTask.run(FutureTask.java:239) at android.os.AsyncTask$SerialExecutor$1.run