Quantcast

Mac OSX 10.10 fails to compile debug build with master branch

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Mac OSX 10.10 fails to compile debug build with master branch

Jonathan Aquilina
Morning all, I am trying to get a master build with debug symbols to work on existing mac issues. The issue seems to be that there are no 64bit symbols  for the below:

Linking C shared module gong_1424.so
Undefined symbols for architecture x86_64:
  "_waveguide_nl_free", referenced from:
      _cleanupGong in gong_1424.c.o
  "_waveguide_nl_process", referenced from:
      _runGong in gong_1424.c.o
      _runAddingGong in gong_1424.c.o
  "_waveguide_nl_reset", referenced from:
      _activateGong in gong_1424.c.o
  "_waveguide_nl_set_ap", referenced from:
      _runGong in gong_1424.c.o
      _runAddingGong in gong_1424.c.o
  "_waveguide_nl_set_delay", referenced from:
      _runGong in gong_1424.c.o
      _runAddingGong in gong_1424.c.o
  "_waveguide_nl_set_fc", referenced from:
      _runGong in gong_1424.c.o
      _runAddingGong in gong_1424.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [plugins/LadspaEffect/swh/gong_1424.so] Error 1
make[1]: *** [plugins/LadspaEffect/swh/CMakeFiles/gong_1424.dir/all] Error 2
make: *** [all] Error 2

To be able to get 64bit debug symbols what do i need to do?

--
Jonathan Aquilina

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Tres Finocchiaro

It was a lot of trial and error to get these to compile and link with Clang in the first place and these SWH plugins aren't actively being developed upstream.  Could you set WANT_SWH to false for now and come back to this later?  You may also need to comment it out on the plugins/CMakeLists.txt.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Jonathan Aquilina
Hi Tres,

Just to let you know WANT_SWH to false wont work as it starts complaining about a directory not existing. On the other hand changing the CMakeLists.txt and setting SWH to OFF is sufficient to get a build going on mac.

On Sat, Apr 4, 2015 at 1:33 PM, Tres Finocchiaro <[hidden email]> wrote:

It was a lot of trial and error to get these to compile and link with Clang in the first place and these SWH plugins aren't actively being developed upstream.  Could you set WANT_SWH to false for now and come back to this later?  You may also need to comment it out on the plugins/CMakeLists.txt.




--
Jonathan Aquilina

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Jonathan Aquilina
I think in regards to SWH we have a regression. As I was testing another issue i stumbled across in master with mallets, I also tested against it on stable. It seems that stable 1.1 is able to build SWH with no problems.

What would I need to do to be able to dig further as to why I am not able to build swh on master.

On Sun, Apr 5, 2015 at 8:35 AM, Jonathan Aquilina <[hidden email]> wrote:
Hi Tres,

Just to let you know WANT_SWH to false wont work as it starts complaining about a directory not existing. On the other hand changing the CMakeLists.txt and setting SWH to OFF is sufficient to get a build going on mac.

On Sat, Apr 4, 2015 at 1:33 PM, Tres Finocchiaro <[hidden email]> wrote:

It was a lot of trial and error to get these to compile and link with Clang in the first place and these SWH plugins aren't actively being developed upstream.  Could you set WANT_SWH to false for now and come back to this later?  You may also need to comment it out on the plugins/CMakeLists.txt.




--
Jonathan Aquilina



--
Jonathan Aquilina

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Tres Finocchiaro

We need someone to sync stable-1.1 commits to master.  Look through the stable-1.1 commits and see if it has already been addressed there.

Furthermore, Lukas set Travis to build with Homebrew whereas the tutorial is still written for MacPorts, so we may have some MacPorts related bugs Travis doesn't know about.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Jonathan Aquilina
Wouldn't a git pull origin stable-1.1 be enough to pull those changes back into master?

Sent from my iPhone

On 05 Apr 2015, at 14:34, Tres Finocchiaro <[hidden email]> wrote:

We need someone to sync stable-1.1 commits to master.  Look through the stable-1.1 commits and see if it has already been addressed there.

Furthermore, Lukas set Travis to build with Homebrew whereas the tutorial is still written for MacPorts, so we may have some MacPorts related bugs Travis doesn't know about.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Jonathan Aquilina
In reply to this post by Tres Finocchiaro
Will sync 1.1 back into master when I wake in the morning

Sent from my iPhone

On 05 Apr 2015, at 14:34, Tres Finocchiaro <[hidden email]> wrote:

We need someone to sync stable-1.1 commits to master.  Look through the stable-1.1 commits and see if it has already been addressed there.

Furthermore, Lukas set Travis to build with Homebrew whereas the tutorial is still written for MacPorts, so we may have some MacPorts related bugs Travis doesn't know about.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Tres Finocchiaro

I would recommend someone more active with the codebase does this... It won't be a one-liner.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Jonathan Aquilina
Noted

On Sun, Apr 5, 2015 at 10:52 PM, Tres Finocchiaro <[hidden email]> wrote:

I would recommend someone more active with the codebase does this... It won't be a one-liner.




--
Jonathan Aquilina

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mac OSX 10.10 fails to compile debug build with master branch

Tres Finocchiaro
I've confirmed SWH plugins fail, but only when doing a Debug build.

For anyone building a Debug build on Apple, for now, please additionally add the "-DWANT_SWH=OFF" parameter to the cmake command.  Wiki has been updated to reflect this:


This is a temporary solution, but is likely to be around for a while until someone debugs the offending SWH linking issues on Apple. :)


On Mon, Apr 6, 2015 at 2:11 AM, Jonathan Aquilina <[hidden email]> wrote:
Noted

On Sun, Apr 5, 2015 at 10:52 PM, Tres Finocchiaro <[hidden email]> wrote:

I would recommend someone more active with the codebase does this... It won't be a one-liner.




--
Jonathan Aquilina


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Loading...