Blender Won't Compile

Hi,

I’m was compiling Blender from (unofficial) sources with CMake two days ago with no problems, but yesterday I had to download the official sources to make a patch, then everything broke.

The building fails at 100% right after “Linking CXX executable …/…/bin/blender”, it appears that CMake is trying to compile something that doesn’t belong to the Blender sources. It complains about undefined references in the Aseprite source directory and also about OGG and FLAC. However that directory (aseprite’s) doesn’t exist anymore, I removed it after the error occurred in a desperate attempt to fix it.

The error occurs with both official and unofficial sources, I deleted everything, git cloned again (I did this 4 times), re-downloaded the dependencies, etc…

Here’s the error output when I build the official sources:
http://www.pasteall.org/64570

And when I compile the unofficial sources (UPBGE):
Same as last one plus:
http://www.pasteall.org/64571

I’m really desperate now, so I will really appreciate if you help me :slight_smile:

What operating system and it’s version , and what compiler and it’s version ?

Xubuntu 14.04 and of course like I said, it’s CMake and i’m using Unix Makefiles ( GCC 4.8 )

dumb question but i have to ask

you did rename or delete the old “BUILD” folder before rebuilding ?

I deleted everything, git cloned again (I did this 4 times), re-downloaded the dependencies, etc…

I said that…

Here’s what exactly happens:

re, is your cmakelist the same as this: https://drive.google.com/file/d/0B3GouQIyoCmrTGRHZVZ1NG94SDg/view?usp=sharing ? (upbge)
Have you tried to google “cmake undefined reference” ? I try to help but I’m sure you already did that hehe

Yes, I tried everything I could…