Kobold2d 2.0.4 SpaceManager library not updated - cocos2d-iphone

I am trying to use the spaceManager library but It won't even compile with the spaceManager 1.3. According to MobileBros the creator of spaceManager I need to update the spaceManager library because version 1.3 is not compatible with cocos2d 2.0. So I am just wondering how to go about doing that? I have already downloaded the latest version of SpaceManager so I just needed to know what the best way is to go about updating it.

The built-in spacemanager in Kobold2D 2.0.4 should work, it just doesn't rotate sprites.
If the new spacemanager version uses the exact same filenames (no new, removed or renamed files) you can just replace the existing spacemanager files with the newer version.
If not, you may have to add/remove the corresponding files to and from the Xcode project, specifically the chipmunk-spacemanager targets in the Kobold2D-Libraries project.
I'll include spacemanager 0.2 in the next release.

Related

Building Assimp 3.2 from Source Without Using CMake

I am using Visual Studio 2015 Community Edition in C++. I just got done setting up the newest version of Boost v1.61.0 and boost seems to be working fine. I did this in advance since some of the functionality in Assimp depends on the Boost library. I have downloaded the newest version of Assimp 3.2 from here Assimp which is source only. I've read through the documentations, I've, searched here at stack, done google searches and even looked on youtube for how to build this from source code in Visual Studio and I am not able to find anything. Does anyone know the proper procedure to do this? Remember I am not using nor do I have CMake. It does not matter if I create a DLL or Lib. I can link either dynamically or statically; I just want to be able to use the newest version of Assimp in my OpenGL projects.

GIS extension of Boost.Geometry

I am using Boost 1.50.0 and I need to use the GIS extension of Boost.Geometry. Where can I find this extension for Boost 1.50.0 or lower? (I haven't upgraded my application to newer version of Boost due to some compatibility issues.)
The extensions are a part of the development version of a library, they're not released. So in order to use them you should probably checkout/clone (and use) the development version of Boost.Geometry. You could also try to mix the released version and the extensions from the development version but I'm guessing this way it'd be easier to make some mistake which would e.g. result in unwanted incompatibilities.
Anyway, the most simple way of doing it would be to see which commit was the most recent one in the Boost.Geometry released in Boost 1.50 (boost-1.50.0 tag in Boost.Geometry repository on GitHub):
https://github.com/boostorg/geometry/commits/boost-1.50.0
and then try to find a corresponding one in the develop branch:
https://github.com/boostorg/geometry/commits/develop
Note that you can find some commits in both branches that can't be found in the other. I don't know if that's because SVN was used back then or the reason is different. In your case I'd try with this commit from boost-1.50.0:
https://github.com/boostorg/geometry/commit/443b01bc07b0fb329aee803ea1bef6a8f14e449b
which seems to correspond to this commit in develop:
https://github.com/boostorg/geometry/commit/d35eb8f2dff20e61655fcef5ee4a23ca4d9d9847
so this is the develop tree:
https://github.com/boostorg/geometry/tree/d35eb8f2dff20e61655fcef5ee4a23ca4d9d9847
which you should be able to download by clicking the "Download ZIP" button on the right side of the page. Then you could use it instead of the released version or just extract the extensions from it, etc. Just have in mind it's not officially released version and that no guarantees can be made.
Here you can see the extensions in that tree:
https://github.com/boostorg/geometry/tree/d35eb8f2dff20e61655fcef5ee4a23ca4d9d9847/include/boost/geometry/extensions

Upgrade OpenCV project to latest version

I have a C++ logo detection project which uses OpenCV 2.3.1. I need to upgrade this project to OpenCV 3.0. For example instead of using (I actually mean replacing) IplImage I would like to use cv::Mat. I know that everything will not be automatically upgraded without some manual coding.
Question: I would like to know if there is any way to at least do some of the work automatically, by using a software or third party library.
I recently had to upgrade an old OpenCV project to make use of some extra features offered in 2.4.* versions (coming from version 2.2). There is no tool or library that will help you detect what you need to change. I had to upgrade and then fix certain parts of my code that used functions that had changed slightly.
A really neat resource you can use is this: API changes/compatibility report for the OpenCV library
It allows you to check the backward compatibility % between versions and see the main changes introduced in each library version. So you can use this to fix every conflict you see once you update the library to the version you want.

keeping sdl2 and sdl1.2 on the same OS?

I installed SDL 1.2 long time ago with my package manager and now I have just installed from source the new SDL version (2.0).
Do you think it is safe to keep both version on the same OS? I need the old versions for other applications so I would prefer to have both..
PS I am on Linux.
Cheers!
I think it should be fine, I've already tried it for the same reason (I needed to use the older version, but I wanted to try the newer one) and it worked for me, just be sure to keep them in separate places and use one version at a time.
You can let the SDL 1.2 and use the SDL 2.0 by loading in the execution (with LD_LIBRARY_PATH). Also, when compiling, you have to specify the include (-I)/library(-L) path of SDL 2.0

How to install external library in Xcode 4?

I am thinking of completing the free online course provided by Stanford on C++ and data abstractions. They have provided a C++ library with the necessary functionality required for the course.
I am trying to install the library which is called CS106LibrariesForXcode.pkg. I have done exactly what they have mentioned in the handout. You can find the handout here.
I am using X-Code 4.3.1. Nothing happens even after I install the CS106LibrariesForXcode.pkg. Is it because of the version of Xcode I am using? How do I get it work?
You need to install XCode 3.0 in order to use CS106LibrariesForXcode.pkg library.
XCode 4 have a very different UI and functionality compared to XCode 3. So it would be unwise to study XCode 3 only. But if you're going to study C++ using those tutorials you'd probably want to install XCode 3 and use it.