building

How to build latest Qt from Git repository on windows?

北城以北 提交于 2019-12-24 02:51:46
问题 I have tried to build a latest Qt from the Git repository on Windows with the following commands: mkdir c:\qt\latest cd c:\qt\latest git clone git://gitorious.org/qt/qt.git cd qt set PATH=%PATH%;c:\qt\latest\qt\bin configure.exe Unfortunately configuration stops very early with error the following error: Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators

How to build latest Qt from Git repository on windows?

落花浮王杯 提交于 2019-12-24 02:51:10
问题 I have tried to build a latest Qt from the Git repository on Windows with the following commands: mkdir c:\qt\latest cd c:\qt\latest git clone git://gitorious.org/qt/qt.git cd qt set PATH=%PATH%;c:\qt\latest\qt\bin configure.exe Unfortunately configuration stops very early with error the following error: Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators

Post-build powershell script

安稳与你 提交于 2019-12-22 06:04:05
问题 I have the following post-build event: powershell Set-ExecutionPolicy Unrestricted powershell -file "$(SolutionDir)Obfuscation\_obfuscate.ps1" "$(SolutionDir)" "$(ProjectDir)" powershell Set-ExecutionPolicy Restricted and PS script beginning with: param ( [string]$slnDir, [string]$projectDir ) when MSBuild trys to run it, my first parameter "$(SolutionDir)" is splitted in two parameters because the solution path contains a space character: D:\Projects\Dion2 Mercurial\repo\Dion2Web\ . So my

Post-build powershell script

自闭症网瘾萝莉.ら 提交于 2019-12-22 06:03:35
问题 I have the following post-build event: powershell Set-ExecutionPolicy Unrestricted powershell -file "$(SolutionDir)Obfuscation\_obfuscate.ps1" "$(SolutionDir)" "$(ProjectDir)" powershell Set-ExecutionPolicy Restricted and PS script beginning with: param ( [string]$slnDir, [string]$projectDir ) when MSBuild trys to run it, my first parameter "$(SolutionDir)" is splitted in two parameters because the solution path contains a space character: D:\Projects\Dion2 Mercurial\repo\Dion2Web\ . So my

boost lib naming are missing

梦想与她 提交于 2019-12-20 03:23:05
问题 I've downloaded boost and built it, and not for the first time, but then things started to seem weird. At first I got these errors while compiling my project (which uses boost): /usr/local/include/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:223: undefined reference to `boost::system::system

How and when should I use _POSIX_C_SOURCE in C programs?

放肆的年华 提交于 2019-12-19 03:11:16
问题 I've gotten myself into having to maintain some C project which should also compile on older platforms. At the moment, for some platforms, the macro _POSIX_C_SOURCE is defined. I was wondering - if it's acceptable to have it defined, should I not just define it always, on all platforms? And perhaps with the highest relevant value? To generalize, I suppose I'm asking: When and under what conditions should _POSIX_C_SOURCE be used? 回答1: _POSIX_C_SOURCE makes different functionality available.

Android Studio is installing old apk on device

好久不见. 提交于 2019-12-17 17:56:10
问题 I am developing an Android app using Android Studio (0.89 Build #AI-135.1404660, Built on Sept 3,2014) using both emulator and Nexus 4 device. I had the same issue with a version prior to that. The problem is that after I changed my code and resource files, I still get the old apk installed on the device or emulator. What do I need to do to get it to run current code? Is it a building config? Is it a known issue with Android Studio? Or with a Nexus 4 device? This is the second time it has

Hadoop on Windows Building/ Installation Error

让人想犯罪 __ 提交于 2019-12-17 15:58:22
问题 I am trying to install Apache Hadoop 2.7.1 on Windows x64 (8.1 and Server 2012 R2), but I am failing at goal: [INFO] Apache Hadoop Common ............................... FAILURE [ 37.925 s] In the past days, I think I followed the steps of all tutorials, like HadoopOnWindows, or this one. I did all the prerequisites, but as I Googled, the relevant ones for my problem are the following: Set path to MSBuild.exe like: C:\Windows\Microsoft.NET\Framework64\v4.0.30319; in Path Set path to CMake

Android/Cyanogenmod building: remove-project from roomservice.xml

大兔子大兔子 提交于 2019-12-14 02:18:27
问题 I want to remove a device-related project from the roomservice.xml generated by brunching in CM and add a different repo myself. Theoretically (in my localmanifest, called mint.xml), I should just need to <remove-project name="Cyanogenmod/... . But repo sync tells me that remove-project element specifies non-existant project Is that because my local manifest is sourced before the roomservice.xml? The question is a bit related to this one: trouble-with-cyanogenmod-local-manifest Additional

TeamCity - Where is the automation

♀尐吖头ヾ 提交于 2019-12-13 14:28:25
问题 We installed TeamCity and TFS and they work fine. My question is how are these two supposed to make our workflow efficient? Once I make changes to code on my dev machine, I have to go to TeamCity UI to run the builds and tests? Where is the automation in this.. I am manually doing it anyway... am I missing an important piece here? I can run builds and unit tests on my dev machine too. All developers making changes, need to go to TeamCity UI to build with updated code? I was kind of expecting