Hi, The instructions here should be up to date: http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux
The git submodule will get you addons and translations, but not any libraries. There hasn't been a lib/ directory for linux for a long time, it was removed. Maybe you were still using it somehow, and copying that directory from a blender-svn to a blender-git directory may work still, but it's not really a supported workflow. The build instructions explain how to use "install_deps.sh" to install dependencies linux ffmpeg, and when it's done building them it will give you the scons configuration to put in user-config.py. Brecht. On Tue, Dec 10, 2013 at 2:41 PM, Piotr Arlukowicz <[email protected]> wrote: > Thank you! > I got to the page http://developer.blender.org/diffusion/B/ where I > performed all instructions, with no errors. Then I enter to blender > directory, put my config in user-config.py (worked in svn version), and run > the command python scons/scons.py. The compilation started and broke at the > error: > > Compiling ==> 'writeffmpeg.c' > source/blender/blenkernel/intern/writeffmpeg.c:42:34: fatal error: > libavformat/avformat.h: Nie ma takiego pliku ani katalogu > #include <libavformat/avformat.h> > ^ > compilation terminated. > scons: *** > [/home/piotao/blender-git/build/linux/source/blender/blenkernel/intern/writeffmpeg.o] > Error 1 > scons: building terminated because of errors. > > > It's obvious that I should provide libs, extensions and addons to the > project, but they are now in diffrent git repos and I found nowhere the > explanation how to incorporate them and where to put them. So, should I put > them along with blender dir, as for svn versions and configure scons or > cmake to use all paths etc? > > If yes, then to compile the whole blender, there should be more commands > given, and this maybe should be put on WIKI page. > > So, my knowledge is based on hints from you and now I did: > > git clone git://git.blender.org/blender.gitcd blender > git submodule update --init --recursive > git submodule foreach git checkout master > git submodule foreach git pull --rebase origin master > > --> Here should be some commands to fetch/pull/get/whatever all > required things like addons, extensions, etc. > > and here goes some configuration and compilation stuff. > Could somebody be so nice and provide me with the missing information? > I think this should also be put to WIKI and I can do it if I manage to > get the control of the process. > > > pz > piotr > -- > Piotr Arlukowicz > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS/ED/IT/S d++(-)>--pu s(+):(+)> a C++(+++)$@>++++$ ULAVISC*()$>+++$ > P++(+++)$>++++ L++(+++)$@>++++$ !E---(---)>++ W++(+++)$@>+++ N(+)>++ o--? > !K-(-)>-$ w++(+)>-- !O-(-)>- !M-(-)>-- !V-(-)>- PS(+)>++ !PE()>+ Y PGP>+ > t(-) !5? !X R()>* tv- b++ DI++ D+(++)>+++ G++@ e++++>+++++ h---()>++ r+++ > y+++ > ------END GEEK CODE BLOCK------ > > > 2013/12/8 Scott Petrovic <[email protected]> > >> correct. You should be going here to get the latest code for different >> repositories >> >> http://developer.blender.org/diffusion/ >> >> Scott >> >> >> On Sun, Dec 8, 2013 at 10:55 AM, Nicholas Rishel <[email protected] >> >wrote: >> >> > Looks like that's a mirror the old SVN repository which is no longer >> > committed to. >> > >> > >> > On Sun, Dec 8, 2013 at 10:12 AM, Piotr Arlukowicz <[email protected]> >> > wrote: >> > >> > > Dear Brecht, >> > > >> > > thank you for the answer. The log is quite short, but let me paste it >> to >> > > pasteall: http://www.pasteall.org/47889 >> > > >> > > Also git pull -v returns just this: >> > > $ git pull -v >> > > >From git://gitorious.org/blenderprojects/blender >> > > = [up to date] master -> origin/master >> > > = [up to date] blender.fi -> origin/blender.fi >> > > = [up to date] renderfarm -> origin/renderfarm >> > > >> > > I am not yet git-oriented and can't find the clue. >> > > >> > > >> > > >> > > pz >> > > piotr >> > > -- >> > > Piotr Arlukowicz >> > > -----BEGIN GEEK CODE BLOCK----- >> > > Version: 3.1 >> > > GCS/ED/IT/S d++(-)>--pu s(+):(+)> a C++(+++)$@>++++$ ULAVISC*()$>+++$ >> > > P++(+++)$>++++ L++(+++)$@>++++$ !E---(---)>++ W++(+++)$@>+++ N(+)>++ >> o--? >> > > !K-(-)>-$ w++(+)>-- !O-(-)>- !M-(-)>-- !V-(-)>- PS(+)>++ !PE()>+ Y >> PGP>+ >> > > t(-) !5? !X R()>* tv- b++ DI++ D+(++)>+++ G++@ e++++>+++++ h---()>++ >> > r+++ >> > > y+++ >> > > ------END GEEK CODE BLOCK------ >> > > >> > > >> > > 2013/12/8 Brecht Van Lommel <[email protected]> >> > > >> > > > Did you perhaps check out a branch? You can check which branch you >> are >> > > > on with "git branch", and go back to the master branch with "git >> > > > checkout master". >> > > > >> > > > If that doesn't help, you could paste the output of these commands, >> so >> > > > we get a sense of what is going on in this setup: >> > > > git branch -a >> > > > git remote -v >> > > > git fetch origin >> > > > >> > > > Brecht. >> > > > >> > > > On Sun, Dec 8, 2013 at 1:46 PM, Piotr Arlukowicz <[email protected]> >> > > wrote: >> > > > > Hello, >> > > > > >> > > > > I'm unable to get newer versions of Blender using instructions from >> > > wiki >> > > > > page: >> > http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux >> > > > > >> > > > > I used to build Blender with scons (cmake also, but I prefer >> scons), >> > > and >> > > > > with svn repo it was easy - only svn up was required. I managed to >> > set >> > > up >> > > > > everything like in WIKI page for git, and first time compilation >> went >> > > > well, >> > > > > but now I can't update repo. Simple command 'git pull' says it's >> > > already >> > > > up >> > > > > to date, and there are no changes anywhere. >> > > > > So, I'm doing something wrong, could you point me a right >> direction? >> > > > > >> > > > > best regards and thank you for all your hard work! >> > > > > piotr >> > > > > -- >> > > > > Piotr Arlukowicz >> > > > > -----BEGIN GEEK CODE BLOCK----- >> > > > > Version: 3.1 >> > > > > GCS/ED/IT/S d++(-)>--pu s(+):(+)> a C++(+++)$@>++++$ >> > ULAVISC*()$>+++$ >> > > > > P++(+++)$>++++ L++(+++)$@>++++$ !E---(---)>++ W++(+++)$@>+++ >> N(+)>++ >> > > o--? >> > > > > !K-(-)>-$ w++(+)>-- !O-(-)>- !M-(-)>-- !V-(-)>- PS(+)>++ !PE()>+ Y >> > > PGP>+ >> > > > > t(-) !5? !X R()>* tv- b++ DI++ D+(++)>+++ G++@ e++++>+++++ >> h---()>++ >> > > > r+++ >> > > > > y+++ >> > > > > ------END GEEK CODE BLOCK------ >> > > > > _______________________________________________ >> > > > > Bf-committers mailing list >> > > > > [email protected] >> > > > > http://lists.blender.org/mailman/listinfo/bf-committers >> > > > _______________________________________________ >> > > > Bf-committers mailing list >> > > > [email protected] >> > > > http://lists.blender.org/mailman/listinfo/bf-committers >> > > > >> > > _______________________________________________ >> > > Bf-committers mailing list >> > > [email protected] >> > > http://lists.blender.org/mailman/listinfo/bf-committers >> > > >> > _______________________________________________ >> > Bf-committers mailing list >> > [email protected] >> > http://lists.blender.org/mailman/listinfo/bf-committers >> > >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers >> > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
