build

Build fails because mstest keeps unittest dlls open

Hello all, I have a build running through TFS. The build process was 'customised' by overloading the 'BeforeDropBuild' target, where create an installer, remvoe all original build output and leave only our installers there. We also run some unit tests through the build. The problem is that during 'BeforeDropBuild' target, the deletion ...

How do I script a complex link in visual studio (FIPS / Static Link Lib / VS.2008)

Question What's the right way to build a complex fips link into the Visual Studio vcproj projects while continuing to allow developers to arrange libraries via the properties GUI? Situation I'm using VS 2008 and have a bunch of projects that use openssl statically linked. Thus far the link has been simple, but now I'm switching to a ...

How can I import one Gradle script into another?

Hi all, I have a complex gradle script that wraps up a load of functionality around building and deploying a number of netbeans projects to a number of environments. The script works very well, but in essence it is all configured through half a dozen maps holding project and environment information. I want to abstract the tasks away i...

How to compile Blender from source?

I just downloaded blender souce. How do I build it? I tried make command, but I am getting this: Btw, I am doing this on Windows using Cygwin. ...

Spring builder is slow in Eclipse - can I speed it up?

When building our Java applications in Eclipse, the Spring builder is very slow and gives no status updates. Specifically, I start building a project, and Eclipse's Progress pane displays Invoking 'Spring Project Builder' on 'project name'... for multiple minutes at a time, with no additional details. I've already turned off the ...

What is a 'make target'?

Why do I need to make a make target before being able to build my source code? More specifically, what is make target exactly? ...

XCODE auto save code when build and run?

How to tell Xcode to save the source code automatically without prompting, each time I hit on the build and run? thanks in advance ...

Is there an equivalent to CustomizableOutDir in Team Build 2010?

Is there a 2010 version of CustomizableOutDir for TFS? I want to run a Silverlight and .NET project such as what is being talked about in this guidance article, and need the CustomizableOutDir functional to do something like this for my build to separate out Silverlight projects from .NET projects, some of whom have the same assembly na...

Error when building OpenCV on my mac: 'Py_ssize_t' issues

I've been following the instructions here: http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port, and have just finished the make -j8 step. Although the make completes to 100%, I am getting errors make[2]: *** [interfaces/python/CMakeFiles/cvpy.dir/cv.o] Error 1 make[1]: *** [interfaces/python/CMakeFiles/cvpy.dir/all] Error 2 make: ...

How to get a class file by Eclipse?

I wrote an application in the Eclipse, which was successfully compiled and run. After that, in a corresponding directory I found *.java and *.class files. Then I have deleted the *.class file and now I do not know how can I get it back. Eclipse writes me "A class file was not written. The project may be inconsistent, if so try refreshi...

Temporarily restrict certain resources from build inclusion in Xcode?

Is there a way to temporarily restrict which resources are included in the build of an iPhone app (via Xcode)? I am testing a use case in my app and want to minimize the installation time on my device. I would like to do this by reducing the resources to only those needed by this use case... i.e. there are over 70MB of .wav and .png fi...

TFS 2008 getting all branches of source code while building one project

When I build one of our projects in TFS 2008 it takes about 30 minutes to build a small project. When I looked at the buildlog text I noticed that it is executing the following task which is getting all branches of our TFS repository (DEV,MAIN, PROD, TEST) and downloading the source before it builds. Is there a way to only get the depen...

Including subprojects using a wildcard in a Gradle settings file

In Gradle you need to define subprojects to be built in a 'settings.gradle' file. To build three child projects, you would do something like this: include "child1", "child2", "child3" The problem I'm having is that I have quite a few projects to include. Is there a way to use a wildcard in this definition? I'm looking for something li...

Benchmarking (gprof) C++ program. Using eclipse environment.

Well I've the following problem. Facts; - Using eclipse - Using MinGW I wanted to benchmark my created C++ program. I searched google and then came; http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html I then wanted to add the "-pg" build command. But how/where do I add it? I went in to the "properties - C/C++ build - Discovery Optio...

Have you replaced makefiles with ruby scripts?

I appreciate makefiles and make in all their glory, but I wonder if there isn't a more intuitive way to maintain my c/c++ builds. Has anyone tried replacing their makefiles with ruby scripts to allow for complex and adaptive builds without sacrificing readability? Are there gems that make this easier? ...

java ant: does ant build files have a @var@ parameters and how to handle them ?

Hiya. I downloaded a red5 ant sample project. (http://osflash.org/red5) the project contains several XML files that contain @new.project.name@ parameter: build.xml ivy.xml src/logback.xml www/WEB-INF/red5-web.properties www/WEB-INF/web.xml now.. should i edit and manually replace @new.project.name@ with the actual project name or is ...

What is the difference between compiling and building?

I always use the terms compile and build interchangeably. What exactly do these terms stand for? ...

I get error LNK2001 in TeamCity but not in Vs 2005...

Hi All, I currently have a solution in VS 2005 which I attempted to trim down as it currently contains 150+ projects. As I don't know the solution that well, I am looking at set info, such as the references and the project dependencies within the solution.. In doing so, I have been able to remove approx 15-20 projects from the solution ...

Android - AIDL gen files causing warnings?

Hi, I have created some aidl files for IPC in my Android project. They compile and run file however in the generated .java files I am getting warnings of un-used imports as follows: The import android.os.Binder is never used EngineInterface.java /gen/com//phone/engine line 10 Java Problem Now I presume that they are there for a...

How can I compile GCC as a static binary?

How can I compile the GCC Compiler so that I can pull the entire thing over to another system and use the program? I don't mind pulling in other files as well, but is there a way to gather all the required system libs as well? The OS and Arch will remain constant across the different systems, but one may contain Slackware where the other...