[yoshimi] Re: Building Yoshimi FreeBSD

  • From: blubee blubeeme <gurenchan@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 26 Oct 2017 10:26:09 +0800

Thanks for the tip, where is the declaration of struct random_data?

I am getting a forward declaration compile error and looking through the
files I see random_buff but it isn't defined anywhere:

work/yoshimi-1.5.4.1/src/Synth/OscilGen.cpp:38://struct random_data
OscilGen::random_buf;
work/yoshimi-1.5.4.1/src/Synth/OscilGen.cpp:40://struct random_data
OscilGen::harmonic_random_buf;
work/yoshimi-1.5.4.1/src/Synth/OscilGen.cpp:1326:        //
srandom_r(realrnd + 1, &random_data_buf);
work/yoshimi-1.5.4.1/src/Synth/OscilGen.h:208:        struct random_data
random_buf;
work/yoshimi-1.5.4.1/src/Synth/OscilGen.h:213:        struct random_data
harmonic_random_buf;
work/yoshimi-1.5.4.1/src/Misc/SynthEngine.h:272:        struct random_data
random_buf;

Where is it defined?

On Thu, Oct 26, 2017 at 12:12 AM, Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
wrote:

I don't know anything about freeBSD myself, but it rather looks like there
are
libraries missing.

Unlesss I'm much mistaken exp10f is in cmath which is part of
build-essential.
I think the random functions are also in there.

Finally, it looks as though there may also be linker issues, although it's
possible that is a side effect of the other errors.

If anyone else is familiar with BSD please step in.

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: https://sourceforge.net/
projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: