build-process

c++ linker error: undefined references only on optimized build

廉价感情. 提交于 2019-12-01 09:21:50
I'm getting an undefined references linker error only when linking optimized objects files, not when linking unoptimized object files. I don't understand what the problem is or could be. Here is my unoptimized build: Building file: ../COMPASS.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -pg -Wall -c -fmessage-length=0 -Wno-sign-compare -fopenmp -MMD -MP -MF"COMPASS.d" -MT"COMPASS.d" -o"COMPASS.o" "../COMPASS.cpp" Finished building: ../COMPASS.cpp Building file: ../PSA.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -pg -Wall -c -fmessage-length=0 -Wno-sign-compare -fopenmp -MMD -MP -MF"PSA.d" -MT"PSA

How to setup activity automatically for a view?

て烟熏妆下的殇ゞ 提交于 2019-12-01 08:56:38
In our build , we use to delete our view and create new view before build. It was working without any issue in base clearcase. But in UCM we face issues while check-out and check-in due to activity name has to be assigned every time. Is it a good practice to create new activity whenever i build? [ But number of activities will be soon increased to enormous] Is there any easy way to setup default activity automatically in UCM? Has any body automated this in their build process? If so can you share link or something useful resource.. Use cleartool setact to set your activity. setact/ivity [ –c

PRECOMPILED HEADERS not working in debug build with Qt Creator / qmake / MinGw

。_饼干妹妹 提交于 2019-12-01 07:07:47
In Qt Creator, I have a pro file using PRECOMPILED HEADERS. The build works just perfect when I build in Release mode. But building in Debug mode gives errors, generating object files failing. Example: 17:12:40: Running steps for project Euclide... 17:12:40: Configuration unchanged, skipping qmake step. 17:12:40: Starting: "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" C:\Qt\5.2.0\mingw48_32\bin\qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ..\euclide\Euclide.pro C:/Qt/Tools/mingw48_32/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory 'C:/UserPrograms/Euclide/build' g

Visual Studio Setup and Deployment build fails with no errors

时光怂恿深爱的人放手 提交于 2019-12-01 06:38:39
I have a setup and deployment project that, on our build server, reports the following in the summary: ========== Rebuild All: 25 succeeded, 2 failed, 0 skipped ========== I don't know what the two are that failed, though I believe one of them is the vdproj project because if I run the build without the installer there are no errors reported at all. The "packaging file" messages match the output on my PC, where the build completes successfully. I'm convinced it's an environment thing, just that there are no logs anywhere that say what the problem was - just the number in the summary. Even

Why does my ANTLR build Ant task fail with “Unable to determine generated class”?

流过昼夜 提交于 2019-12-01 06:37:14
I'm trying to use ANTLR3 task for Ant , but I get an "Unable to determine generated class" build failure message. A quick research shows that many people have had the same problem, with no solution provided (see links below). Can someone suggest a solution that doesn't resort to using a regular Java Ant task? External links: http://www.antlr.org/pipermail/antlr-interest/2009-November/036795.html http://www.antlr.org/pipermail/antlr-interest/2006-July/016870.html http://palove.kadeco.sk/itblog/posts/40 The antlr task included with Ant 1.8.2 (the latest version) seems to be dependent on ANTLR 2

How to determine if all objects are serializable in a given namespace?

随声附和 提交于 2019-12-01 06:36:19
问题 Some background: We require all of our DTO objects to be serializable so that they can be stored in session or cached. As you can imagine, this is extremely annoying and prone to error... is there any automated way (ideally as part of the build process) using Visual Studio 2010 to ensure that all classes in a namespace are marked with the [Serializable] attribute? 回答1: You can't find all possible classes in a namespace - but you can find all classes within a given assembly which have the

Why does my ANTLR build Ant task fail with “Unable to determine generated class”?

二次信任 提交于 2019-12-01 05:27:42
问题 I'm trying to use ANTLR3 task for Ant, but I get an "Unable to determine generated class" build failure message. A quick research shows that many people have had the same problem, with no solution provided (see links below). Can someone suggest a solution that doesn't resort to using a regular Java Ant task? External links: http://www.antlr.org/pipermail/antlr-interest/2009-November/036795.html http://www.antlr.org/pipermail/antlr-interest/2006-July/016870.html http://palove.kadeco.sk/itblog

How to skip lifecycle phase in multi maven module

↘锁芯ラ 提交于 2019-12-01 05:13:45
I have a maven multi module project which call two sub modules. please note that this child module do not use the parent markup tag. Now I need to have the deploy phase executed only on one child module but not the other one. Could someone provide any advice on the best way of doing this ? Thanks Raghuram As mentioned in this FAQ for maven deploy plugin , as well as in this SO discussion, you should add the following in the pom of the module you do not want to deploy. <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>X.Y</version> <configuration> <skip>true</skip> </configuration>

Need a tool for visualizing ant execution flows and properties

牧云@^-^@ 提交于 2019-12-01 04:51:50
问题 I'm trying to figure out how the DITA Open Toolkit performs DITA to XHTML conversions, and it's difficult since the process is managed by dozens of ant targets spread over multiple ant files. I need a tool that can provide a visualization of the execution flow plus property dependencies of an ant invocation. VizAnt and Grand only graph target invocations, so I'm looking for something heavier-duty. Ideally, such a tool would identify the order of target invocations, as well as property values

PRECOMPILED HEADERS not working in debug build with Qt Creator / qmake / MinGw

淺唱寂寞╮ 提交于 2019-12-01 04:20:45
问题 In Qt Creator, I have a pro file using PRECOMPILED HEADERS. The build works just perfect when I build in Release mode. But building in Debug mode gives errors, generating object files failing. Example: 17:12:40: Running steps for project Euclide... 17:12:40: Configuration unchanged, skipping qmake step. 17:12:40: Starting: "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" C:\Qt\5.2.0\mingw48_32\bin\qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ..\euclide\Euclide.pro C:/Qt/Tools/mingw48_32