release

Debug vs. Release builds in the Android NDK

吃可爱长大的小学妹 提交于 2019-12-02 19:40:22
I'm working on a large game engine that must be ported to Android. All the code is C/C++, so we are porting via the NDK. I've got everything building, but after lots of scouring, I'm still uncertain what the best method is for building Debug vs. Release versions of our .so file. Changing things by hand every time is getting old. Do you have different Application.mk files for each target? Or is there some way to include multiple targets in a single Android.mk file under the jni/ directory? Or perhaps a third option might be to write a standard makefile that sets environment variables that the

Release build not working when run without debugging in VS2010

自作多情 提交于 2019-12-02 18:22:51
问题 I encountered following problem: I write program in c++ using VS2010. Debug build works properly when run with/without debugging in VS. When I launch built executable directly it also works. Release build works when run with debugging in VS and alsp when I launch build executable directly. Unfortunately, program does not work when I run release build in VS -without debugging-. Window is created and then program crashes quickly (without any error message). Since it crashes when run without

Objective C iPhone when to set object references to nil

有些话、适合烂在心里 提交于 2019-12-02 17:47:09
I have been developing with objective C and the Cocoa framework for quite some time now. However it is still not absolutely clear to me, when am I supposed to set object references to nil. I know it is recommended to do so right before releasing an object that has a delegate and you should also do so in the viewDidUnload method for retained subviews. But exactly when should this be done and why?. What does it accomplish exactly?. Thank you in advance. -Oscar Say you have a pointer myView defined in your class' interface: @interface MyClass { UIView *myView; } @end Then in your code, at some

How to release web applications?

非 Y 不嫁゛ 提交于 2019-12-02 17:43:43
I don't really know how to perform deployment from offline development to live webserver correctly in web development. I mostly resort on intuition, but this is more or less what I did until now: I have a web application in python, or php, and I am hosting it on a live webserver. I use an offline development version whose source is under svn. Now, as I develop the offline version, I will perform commits to the svn. When time has come for release, I could either: copy the code from the offline server to a temporary directory on the live webserver, then swap the old codebase with the new one (eg

How to build a release version of an iOS framework in Xcode?

这一生的挚爱 提交于 2019-12-02 17:34:15
Let's say I do the following: Open Xcode 7 File | New | Project | Cocoa Touch Framework Create "TestFramework" with the Swift language Create a file Hello.swift with public func hello() { print("Hello") }. From here, I can build a debug build of the framework (inside the Debug-iphoneos folder), but I cannot figure out how to build the release version of the framework (inside Release-iphoneos). I thought Archive might do it, but it doesn't. Pointers please? To get a release build, you need to change your scheme settings: Alternatively, create a new scheme for release builds. Ensure you have a

Getting software version numbers right. v1.0.0.1 [closed]

好久不见. 提交于 2019-12-02 17:12:30
I distribute software online, and always wonder if there is a proper way to better define version numbers. Let's assume A.B.C.D in the answers. When do you increase each of the components? Do you use any other version number tricks such as D mod 2 == 1 means it is an in house release only? Do you have beta releases with their own version numbers, or do you have beta releases per version number? I'm starting to like the Year.Release[.Build] convention that some apps (e.g. Perforce) use. Basically it just says the year in which you release, and the sequence within that year. So 2008.1 would be

Calling functions in Qt from third-party DLL works in debug mode, crashes in release

本秂侑毒 提交于 2019-12-02 16:29:57
问题 I use a third-party DLL (FTD2xx) to communicate with an external device. Using Qt4, in debug mode everything works fine, but the release crashes silently after successfully completing a called function. It seems to crash at return, but if I write something to the console (with qDebug) at the end of the function, sometimes it does not crash there, but a few, or few dozen lines later. I suspect a not properly cleaned stack, what the debug build can survive, but the release chokes on it. Did

visual studio 2008 solution release version runtime fatal error

放肆的年华 提交于 2019-12-02 15:42:53
问题 I have a Visual Studio 2008 solution which consists of some projects and uses dll's with theirs' headers. In the debug version it (the solution) works really well. And in release version it compiles successfully, but on executing some functions which are defined in a dll file it fails. As I said, the solution works fine in debug mode, and options set properly. Tried turning off optimization, turned on debugging information, it didn't help. What can be the cause of the problem? 回答1: I have

Memcpy vs Memmove - Debug vs Release

天大地大妈咪最大 提交于 2019-12-02 14:48:25
问题 I got really strange behavior for my x64 multithreading application. The execution time in debug mode is faster than in release mode. I break the problem down and found the issue: The debug modus optimize (!Note optimition is off!) the memcpy to memmove, which peforms faster. The release mode use still memcpy (!note optimition is on). This problem slows down my multithreading app in release mode. :( Anyone any idea? #include <time.h> #include <iostream> #define T_SIZE 1024*1024*2 int main() {

Best practices for deploying tools & scripts to production?

左心房为你撑大大i 提交于 2019-12-02 14:44:23
I've got a number of batch processes that run behind the scenes for a Linux/PHP website. They are starting to grow in number and complexity, so I want to bring a small amount of process to bear on them. My source tree has a bunch of cpp files and scripts, organized with development but not deployment in mind. After compiling all the executables, I need to put various scripts and binaries on a cluster of machines. Different machines need different executables, scripts, and config files for their batch processes. I also have a few of tools that I've written that belong on every machine. At the