Posted: Sat Dec 03, 2011 6:12 pm
Joined: 14 Oct 2011
Posts: 36
i checkout the source form svn , and lib , use make the source , anything is ok , but link is error.
| Code: |
[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
Linking CXX executable ../../bin/blender.app/Contents/MacOS/blender
ld: in /Volumes/BackUp/Tools/blender/lib/darwin-9.x.universal/png/lib/libpng.a, file too small for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [bin/blender.app/Contents/MacOS/blender] Error 1
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [all] Error 2
|
i don't know where can i checkout the lib's source.
Posted: Mon Dec 19, 2011 12:37 pm
Joined: 07 Nov 2010
Posts: 544
Choose from the appropriate platform-specific subdirectory here:
https://svn.blender.org/svnroot/bf-blender/trunk/lib/.
Posted: Tue Dec 20, 2011 5:35 pm
Joined: 14 Oct 2011
Posts: 36
only lib in it , no source , i still got the error.
Posted: Tue Dec 20, 2011 5:43 pm
Joined: 05 Aug 2003
Posts: 3493
| Quote: |
| file too small for architecture i386 |
No idea what that error message means, but you might examine the file in question to make sure it actually is a .a library and not a symlink. Are you trying to link dynamically?
The files in the SVN lib folders ARE libraries, not the source for the libraries. If you want to build them from source, you will have to get them from the various project sites.
Posted: Thu Mar 15, 2012 5:45 am
Joined: 14 Oct 2011
Posts: 36
who build it ? i suggest to create a dependencies lib project. if some one can do it , please upload the source, or else let me do it .
Posted: Thu Mar 15, 2012 5:46 am
Joined: 14 Oct 2011
Posts: 36
it is a file , not a link . so i still confuse.
Posted: Sun Apr 29, 2012 8:23 pm
Joined: 14 Oct 2011
Posts: 36
Posted: Sun Apr 29, 2012 8:29 pm
Joined: 14 Oct 2011
Posts: 36
the lib file is big, why not upload the source , it is a little.
Posted: Mon Apr 30, 2012 2:36 am
Joined: 05 Aug 2003
Posts: 3493
The point of having libraries is to make sure you get the correct version of something. If you want the source, go to the website for whatever project and compile it. You will also need to adjust your build settings.
And no, I do not know what that 'file too small' error is, but a little google suggests something is broken on your end.