KIP-SPIKEY-USERS Archives

2015

KIP-SPIKEY-USERS@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Schmuker <[log in to unmask]>
Reply To:
Spikey neuromorphic system - User <[log in to unmask]>
Date:
Thu, 1 Oct 2015 22:05:57 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (68 lines)
Hi,

Eric, thanks for your help. I got a bit further by using

$ LIBRARY_PATH=<path_to_googletest_build> CPATH=<path_to_googletest_include> ./waf configure --boost-includes ... --boost-libs …

Two other dependencies then emerged, first gsl (which was straightforward to install with homebrew), and Qt - I used Qt4 from the anaconda python distribution and added the paths to the respective environment variables for the compiler. 

However, now the dependency on librt is a real dealbreaker. Librt is not available on OSX. Going by the forums, this seems to be a rather common problem on OSX (and somehow linked to Qt), and it is often solved by simply not linking against rt, without loss of functionality (maybe some of the librt symbols are provided by some other standard lib on OSX).

Is there an easy way to skip the test for librt presence, and tell the linker not to link against librt? I assume that this means tweaking the build system. Unfortunately my waf skills are definitely underdeveloped, and I can’t figure out how to do this.

Any hints or ideas? Many thanks in advance :)

Best,

Michael

P.S.: By the way, why does Spikeyhal require Qt? Could Spikeyhal be built without it, without loss of core functionality?



> On 1 Oct 2015, at 17:33, Eric Müller <[log in to unmask]> wrote:
> 
> Hey Michael,
> 
> the standard GCC env vars should work (i.e. that's a workaround ;-)).
> In this case:
> 
> $ export CPLUS_INCLUDE_PATH=/to/parent/dir/of/gtest/folder # or CPATH
> $ waf configure
> 
> Cheers,
> Eric
> 
> 
> Am 01.10.2015 18:11 schrieb Michael Schmuker <[log in to unmask]>:
>> 
>> Dear Spikey-Users, 
>> 
>> I’m trying to build the spikey-demo package on OSX. I installed log4cxx and libusb via homebrew, and I use the latest boost via the anaconda python distribution. This made waf configure happy. But one problem is still remaining: 
>> 
>> I wasn’t able to point waf to the GoogleTest library, which is in a custom location on my machine. Is there a command line switch or an environment variable that I can use to point waf to the gtest headers? 
>> 
>> Thanks in advance, 
>> 
>> Michael
> 
> ########################################################################
> 
> To unsubscribe from the KIP-SPIKEY-USERS list, click the following link:
> http://listserv.uni-heidelberg.de/cgi-bin/wa?TICKET=NzM1OTAyIG0uc2NobXVrZXJAQklPTUFDSElORUxFQVJOSU5HLk5FVCBLSVAtU1BJS0VZLVVTRVJTIDH2BVLW4%2BTh&c=SIGNOFF

--
Michael Schmuker
University of Sussex
School of Engineering and Informatics
Falmer, Brighton BN1 9QJ

Tel: +44 (0) 1273 876565

http://biomachinelearning.net

########################################################################

To unsubscribe from the KIP-SPIKEY-USERS list, click the following link:
https://listserv.uni-heidelberg.de/cgi-bin/wa?SUBED1=KIP-SPIKEY-USERS

ATOM RSS1 RSS2