Download of Blender 2.49b source code

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

qmaster
Posts: 6
Joined: Wed Jun 02, 2010 9:55 pm

Download of Blender 2.49b source code

Postby qmaster » Wed Jun 02, 2010 10:41 pm

Hi all,
A friend of mine asked me to try some adjustment on older version of Blender. I've got source code of 2.49b however I found out I am not able to compile it on XP. This source code is relevant to Python2.2 but when I download current Extern libs from https://svn.blender.org/svnroot/bf-blen ... ib/windows, I get files for Python3.1. It seems that 7years difference exists.

Can anybody advice how to download from SVN a complete sources for Blender 2.49 including Extern libraries for WIN ?

Many thanks for Your time, have a nice day
qmaster

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Thu Jun 03, 2010 12:27 am

Blender 2.49b used Python 2.5 or 2.6 on most platforms, OSX being a notable exception. Don't be fooled by the api_2.2 directory.

You can get the 2.49b source by checking out the tag
https://svn.blender.org/svnroot/bf-blen ... 9b-release

For the libs, either install the older versions, or check them out from ../trunk/libs using -r revision-number. You will need to look at the svn log to see an appropriate time frame.

Anthony
Posts: 16
Joined: Fri Oct 25, 2002 5:14 am

Postby Anthony » Thu Jun 03, 2010 10:54 pm

Here's what I do:

set ROOT=https://svn.blender.org/svnroot/bf-blender
svn co %ROOT/tags/blender-2.49b-release blender
svn co %ROOT/tags/lib2.4/windows lib/windows

qmaster
Posts: 6
Joined: Wed Jun 02, 2010 9:55 pm

Postby qmaster » Thu Jun 10, 2010 12:30 am

Hi stiv and Anthony,

Thanks for your help, I finally downloaded extern windows libraries. As I have VS2010 I tried to build it via this, compilation somehow works but linking has bunch of errors - it seems I would need sources for: freetype2ST.lib, Half.lib, Iex.lib, IlmImf.lib etc.

It seems I really have to go back to previous VS. :(

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Thu Jun 10, 2010 7:04 am

Or compile the necessary libs yourself.

qmaster
Posts: 6
Joined: Wed Jun 02, 2010 9:55 pm

Postby qmaster » Mon Jun 14, 2010 2:10 pm

Hi stiv,

I downloaded MS2008 Express, extern libs and Blender-2.49-release. Then I corrected project include paths, renamed some referenced libs, finally I did build. Compilation and linking without error, but I can't launch blender as I get message:
"The application failed to initialize properly (0xC0000005). Click on OK to terminate the application."

I've been searching the reason a few days but I haven't found a reason.

Have you ever seen this on WIN XP ?

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Mon Jun 14, 2010 5:28 pm

renamed some referenced libs


That part sounds a little shaky.

Try running in the debugger and see where it is failing.

qmaster
Posts: 6
Joined: Wed Jun 02, 2010 9:55 pm

Postby qmaster » Mon Jun 14, 2010 6:21 pm

I found some discrepancies in Blender linking for projectfiles_vc9:
(x) project has reference to ftgl_static_ST.lib:
in lib\windows\ftgl\libs available ftgl_static_ST.lib
in build\msvc_9\libs\extern\mtdll\debug available ftgl_static.lib
(x) project has reference to openal_static_ST.lib:
in lib\windows\openal\lib available OpenAl32.lib

... so I had to try renames.

I was also surprised that when I downloaded 2.49 release source I was not able to compile as several files were not included in project. So I had to seek them and add them manually in their projects.

Sources from SVN should be compilable at once I think.

qmaster
Posts: 6
Joined: Wed Jun 02, 2010 9:55 pm

Postby qmaster » Tue Jun 15, 2010 6:40 pm

Hi,
I have finally discovered that my problem is caused by avcodec-52.lib.
When I disable FFMEG compilation and remove avcodec-52.lib from linking, then after rebuild I can launch Blender.

However, I have no clue how to fix this correctly.

adriana252
Posts: 2
Joined: Thu Sep 29, 2011 11:02 am
Location: http://www.iflightsystems.com/

Postby adriana252 » Thu Sep 29, 2011 11:04 am

Hey guys, i am very new to blender but i am very interested in not just using blender but also working on some projects on blender. i am a B.tech student, i am very good i c programming, knows python and opengl. is these enough to hand me an oppurtunity to work on the blender source code? Now, please help me as i am very new to this. i am ofcourse using linux ubuntu and i managed to get the source code for blender. So how do i get started to learn it? are there ne manuals or tutorials on the code of blender?

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Thu Sep 29, 2011 7:07 pm

Check out the Development tab up above. It leads to all sorts of goodies, including a Get Involved link.

joshex
Posts: 11
Joined: Tue Mar 11, 2008 7:48 am

Postby joshex » Mon Nov 12, 2012 12:05 am

stiv wrote:Blender 2.49b used Python 2.5 or 2.6 on most platforms, OSX being a notable exception. Don't be fooled by the api_2.2 directory.

You can get the 2.49b source by checking out the tag
https://svn.blender.org/svnroot/bf-blen ... 9b-release

For the libs, either install the older versions, or check them out from ../trunk/libs using -r revision-number. You will need to look at the svn log to see an appropriate time frame.


why is it I always get trouble when I follow instructions, i tried to compile the blender player source found at that link and got this error:

CMake Error at CMakeLists.txt:13 (SETUP_LIBDIRS):
Unknown CMake command "SETUP_LIBDIRS".

so, I'm hoping there is still someone here who can help with this.

ldo
Posts: 544
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Postby ldo » Sun Nov 25, 2012 2:34 am

SETUP_LIBDIRS is a macro defined in build_files/cmake/macros.cmake


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 3 guests