Previous Thread  Next Thread

chat icon Download of Blender 2.49b source code

qmaster

Posted: Wed Jun 02, 2010 9:41 pm
Joined: 02 Jun 2010
Posts: 6
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-blender/trunk/lib/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
Reply with quote


stiv

Posted: Wed Jun 02, 2010 11:27 pm
Joined: 05 Aug 2003
Posts: 3645
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-blender/tags/blender-2.49b-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.
Reply with quote


Anthony

Posted: Thu Jun 03, 2010 9:54 pm
Joined: 25 Oct 2002
Posts: 16
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
Reply with quote


qmaster

Posted: Wed Jun 09, 2010 11:30 pm
Joined: 02 Jun 2010
Posts: 6
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. Sad
Reply with quote


stiv

Posted: Thu Jun 10, 2010 6:04 am
Joined: 05 Aug 2003
Posts: 3645
Or compile the necessary libs yourself.
Reply with quote


qmaster

Posted: Mon Jun 14, 2010 1:10 pm
Joined: 02 Jun 2010
Posts: 6
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 ?
Reply with quote


stiv

Posted: Mon Jun 14, 2010 4:28 pm
Joined: 05 Aug 2003
Posts: 3645
Quote:
renamed some referenced libs


That part sounds a little shaky.

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


qmaster

Posted: Mon Jun 14, 2010 5:21 pm
Joined: 02 Jun 2010
Posts: 6
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.
Reply with quote


qmaster

Posted: Tue Jun 15, 2010 5:40 pm
Joined: 02 Jun 2010
Posts: 6
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.
Reply with quote


adriana252

Posted: Thu Sep 29, 2011 10:04 am
Joined: 29 Sep 2011
Posts: 2
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?
Reply with quote


stiv

Posted: Thu Sep 29, 2011 6:07 pm
Joined: 05 Aug 2003
Posts: 3645
Check out the Development tab up above. It leads to all sorts of goodies, including a Get Involved link.
Reply with quote


joshex

Posted: Mon Nov 12, 2012 12:05 am
Joined: 11 Mar 2008
Posts: 11
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-blender/tags/blender-2.49b-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.
Reply with quote


ldo

Posted: Sun Nov 25, 2012 2:34 am
Joined: 07 Nov 2010
Posts: 544
SETUP_LIBDIRS is a macro defined in build_files/cmake/macros.cmake
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group