Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-18 Thread Valentin Rueda
Thanks, now it works!

So in order to build and run blender using Xcode I had to get another
darwin version (https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin)
and turn cmake WITH_CXX11 on, and WITH_CYCLES_* off

Also, had to install Sierra update and update Xcode in order to run
blender.

Should we update
https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac, at least
to add the reference to c11 darwin library?

Thanks

2016-11-18 14:01 GMT+00:00 Gruber Aurel :

> Yeah that is really annoying, it’s a bug i think. Are you on MacOS Sierra
> already? I think that solves it. Also, update to latest Xcode version. I
> thinks I had the same problem and that solved the problem.
>
> Aurel
>
> > On 18 Nov 2016, at 14:59, Valentin Rueda 
> wrote:
> >
> > Thanks,
> > After I turn WITH_CYCLES* off - it builds successfully.
> >
> > But now, when I run blender.app it fails with critical error(as I
> consider
> > when it tries to init python) http://prntscr.com/d8v4a2
> >
> > I have python 2. and 3. installed.
> > Here is make cmake python settings http://prntscr.com/d8v2e3
> >
> > If I turn WITH_PYTHON off build fails with http://prntscr.com/d8v7jn
> >
> > Am I missing something?
> >
> > --
> > Best regards
> > Rueda Valentin
> > ___
> > Bf-committers mailing list
> > Bf-committers@blender.org
> > https://lists.blender.org/mailman/listinfo/bf-committers
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
Best regards
Rueda Valentin
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-18 Thread Gruber Aurel
Yeah that is really annoying, it’s a bug i think. Are you on MacOS Sierra 
already? I think that solves it. Also, update to latest Xcode version. I thinks 
I had the same problem and that solved the problem.

Aurel

> On 18 Nov 2016, at 14:59, Valentin Rueda  wrote:
> 
> Thanks,
> After I turn WITH_CYCLES* off - it builds successfully.
> 
> But now, when I run blender.app it fails with critical error(as I consider
> when it tries to init python) http://prntscr.com/d8v4a2
> 
> I have python 2. and 3. installed.
> Here is make cmake python settings http://prntscr.com/d8v2e3
> 
> If I turn WITH_PYTHON off build fails with http://prntscr.com/d8v7jn
> 
> Am I missing something?
> 
> -- 
> Best regards
> Rueda Valentin
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-18 Thread Valentin Rueda
Thanks,
After I turn WITH_CYCLES* off - it builds successfully.

But now, when I run blender.app it fails with critical error(as I consider
when it tries to init python) http://prntscr.com/d8v4a2

I have python 2. and 3. installed.
Here is make cmake python settings http://prntscr.com/d8v2e3

If I turn WITH_PYTHON off build fails with http://prntscr.com/d8v7jn

Am I missing something?

-- 
Best regards
Rueda Valentin
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-17 Thread Gruber Aurel

Ok, seems to be manly cycles related - can you turn off all the WITH_CYCLES_ 
parameters and see what happens?


> On 17 Nov 2016, at 12:57, Valentin Rueda  wrote:
> 
> Hello,
> 
> Changing darwin and CXX11 helped, but not entirely
> Still have about 130 link errors - http://hastebin.com/axihoduceh.rb
> 
> Have tried to add/remove lc++ and set WITH_C11, it gave me same results
> 
> Thanks
> 
> -- 
> Best regards
> Valentin Rueda
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-17 Thread Valentin Rueda
Hello,

Changing darwin and CXX11 helped, but not entirely
Still have about 130 link errors - http://hastebin.com/axihoduceh.rb

Have tried to add/remove lc++ and set WITH_C11, it gave me same results

Thanks

-- 
Best regards
Valentin Rueda
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-17 Thread Gruber Aurel

Alright, remove “-lc++” and then turn WITH_C11 off and use WITH_CXX11. That is 
not the same thing. It should then automatically look for libraries in 
/lib/darwin. If you still get 
darwin-9.x.universal errors, youre doing it wrong.

Aurel

> On 17 Nov 2016, at 00:16, Валентин Руэда  wrote:
> 
> Hello, thanks for responses!
> 
> I've tried to add "-lc++" to "cmake_linker_flags", but I have the same
> issue.
> 
> If I use another version of darwin I get only 1 linker error "Library not
> found -llex" (even with WITH_C11)
> 
> The build log that I had and still have:  http://hastebin.com/arohoyinuf.rb
> 
> Thanks
> 
> -- 
> Best regards
> Valentin Rueda
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-17 Thread Jens Verwiebe
You are using the wrong old "darwin9" libs , which are stdc++, use the 
c++11 compiled "darwin"

Normally they should be used automatically when choosing cmake 
WITH_CXX11 option. Check over.

Jens



Am 17.11.2016 um 00:16 schrieb Валентин Руэда:
> Hello, thanks for responses!
>
> I've tried to add "-lc++" to "cmake_linker_flags", but I have the same
> issue.
>
> If I use another version of darwin I get only 1 linker error "Library not
> found -llex" (even with WITH_C11)
>
> The build log that I had and still have:  http://hastebin.com/arohoyinuf.rb
>
> Thanks
>

-- 

Jens Verwiebe
Allerskehre 44 - 22309 Hamburg

Tel.: +49 40 68 78 50
mobile: +49 172 400 49 07
mailto: i...@jensverwiebe.de
web: http://www.jensverwiebe.de

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-16 Thread Валентин Руэда
Hello, thanks for responses!

I've tried to add "-lc++" to "cmake_linker_flags", but I have the same
issue.

If I use another version of darwin I get only 1 linker error "Library not
found -llex" (even with WITH_C11)

The build log that I had and still have:  http://hastebin.com/arohoyinuf.rb

Thanks

-- 
Best regards
Valentin Rueda
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-15 Thread Martijn Berger
On Tue, Nov 15, 2016 at 5:01 PM, Gruber Aurel 
wrote:

> Hey Valentin
>
> I’m not an expert on this, but let me try with my 5 cents:
>
> - What precompiled libraries do you use? What happens if you use these
> darwin libraries:
> https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin
> instead of darwin-9.x.universal?
>
> I got that link from Brecht because I need c++11 features. But then you
> need to se WITH_CXX11 = on. I think.
>

That is correct.


>
> Hope that helps
>
> Aurel
>
> On 15 Nov 2016, at 16:54, Jens Verwiebe > wrote:
>
> Try adding -lc++ to the cmake_exe_linkerflags.
>
>
> Jens
>
>
> Am 15.11.2016 um 14:22 schrieb Aaron Carlisle:
> Hi Rueda,
>
> Email attachments get deleted on the mailing list,
> please paste the log to http://hastebin.com/
> and share the link here.
>
> In best regards,
>
> Aaron Carlisle
>
> On Mon, Nov 14, 2016 at 6:55 PM, Валентин Руэда  >
> wrote:
>
> Hello all,
>
> I'm trying to build blender on Os X (10.11.6) using Xcode.
> After I run cmake and change Standard library to libc++ it successfully
> compiles, but the linker fails
> I've tried different deployment targets.
>
> I'm wondering if I need to change any parameters in Cmake?
>
> Please find the build log attached
>
>
> --
> Best regards
> Valentin
>
>
>
> --
> Best regards
> Rueda Valentin
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>
> --
>
> Jens Verwiebe
> Allerskehre 44 - 22309 Hamburg
>
> Tel.: +49 40 68 78 50
> mobile: +49 172 400 49 07
> mailto: i...@jensverwiebe.de
> web: http://www.jensverwiebe.de
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-15 Thread Gruber Aurel
Hey Valentin

I’m not an expert on this, but let me try with my 5 cents:

- What precompiled libraries do you use? What happens if you use these darwin 
libraries:
https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin
instead of darwin-9.x.universal?

I got that link from Brecht because I need c++11 features. But then you need to 
se WITH_CXX11 = on. I think.

Hope that helps

Aurel

On 15 Nov 2016, at 16:54, Jens Verwiebe 
> wrote:

Try adding -lc++ to the cmake_exe_linkerflags.


Jens


Am 15.11.2016 um 14:22 schrieb Aaron Carlisle:
Hi Rueda,

Email attachments get deleted on the mailing list,
please paste the log to http://hastebin.com/
and share the link here.

In best regards,

Aaron Carlisle

On Mon, Nov 14, 2016 at 6:55 PM, Валентин Руэда 
>
wrote:

Hello all,

I'm trying to build blender on Os X (10.11.6) using Xcode.
After I run cmake and change Standard library to libc++ it successfully
compiles, but the linker fails
I've tried different deployment targets.

I'm wondering if I need to change any parameters in Cmake?

Please find the build log attached


--
Best regards
Valentin



--
Best regards
Rueda Valentin

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers

--

Jens Verwiebe
Allerskehre 44 - 22309 Hamburg

Tel.: +49 40 68 78 50
mobile: +49 172 400 49 07
mailto: i...@jensverwiebe.de
web: http://www.jensverwiebe.de

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-15 Thread Jens Verwiebe
Try adding -lc++ to the cmake_exe_linkerflags.


Jens


Am 15.11.2016 um 14:22 schrieb Aaron Carlisle:
> Hi Rueda,
>
> Email attachments get deleted on the mailing list,
> please paste the log to http://hastebin.com/
> and share the link here.
>
> In best regards,
>
> Aaron Carlisle
>
> On Mon, Nov 14, 2016 at 6:55 PM, Валентин Руэда 
> wrote:
>
>> Hello all,
>>
>> I'm trying to build blender on Os X (10.11.6) using Xcode.
>> After I run cmake and change Standard library to libc++ it successfully
>> compiles, but the linker fails
>> I've tried different deployment targets.
>>
>> I'm wondering if I need to change any parameters in Cmake?
>>
>> Please find the build log attached
>>
>>
>> --
>> Best regards
>> Valentin
>>
>>
>>
>> --
>> Best regards
>> Rueda Valentin
>>
>> ___
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> https://lists.blender.org/mailman/listinfo/bf-committers
>>
>>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

-- 

Jens Verwiebe
Allerskehre 44 - 22309 Hamburg

Tel.: +49 40 68 78 50
mobile: +49 172 400 49 07
mailto: i...@jensverwiebe.de
web: http://www.jensverwiebe.de

___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Fwd: Linker fails using Xcode

2016-11-15 Thread Aaron Carlisle
Hi Rueda,

Email attachments get deleted on the mailing list,
please paste the log to http://hastebin.com/
and share the link here.

In best regards,

Aaron Carlisle

On Mon, Nov 14, 2016 at 6:55 PM, Валентин Руэда 
wrote:

> Hello all,
>
> I'm trying to build blender on Os X (10.11.6) using Xcode.
> After I run cmake and change Standard library to libc++ it successfully
> compiles, but the linker fails
> I've tried different deployment targets.
>
> I'm wondering if I need to change any parameters in Cmake?
>
> Please find the build log attached
>
>
> --
> Best regards
> Valentin
>
>
>
> --
> Best regards
> Rueda Valentin
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>
>
___
Bf-committers mailing list
Bf-committers@blender.org
https://lists.blender.org/mailman/listinfo/bf-committers