# Error Message: Undefined symbols for architecture x86\_64

**URL:** <https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188>\
**Category:** General JUCE discussion\
**Created:** [September 21, 2016, 3:27pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188 "2016-09-21T15:27:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![noFanatic](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@noFanatic](https://forum.juce.com/u/noFanatic)\
**Post date:** [September 21, 2016, 3:27pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/1 "2016-09-21T15:27:49Z")

</div>

Hi, I have the following error when i try to use fftw3 library: Undefined symbols for architecture x86\_64:  
“createPluginFilterOfType(juce::AudioProcessor::WrapperType)”, referenced from:  
(anonymous namespace)::pluginEntryPoint(long long (_)(VstEffectInterface_, int, int, long long, void\*, float)) in juce\_audio\_plugin\_client\_VST2.o  
“PitchEstimatorAudioProcessorEditor::PitchEstimatorAudioProcessorEditor(PitchEstimatorAudioProcessor&)”, referenced from:  
PitchEstimatorAudioProcessor::createEditor() in PluginProcessor.o  
“juce::BigInteger::BigInteger(juce::BigInteger&&)”, referenced from:  
juce::AudioChannelSet::AudioChannelSet(juce::AudioChannelSet&&) in juce\_audio\_plugin\_client\_VST2.o  
“juce::BigInteger::BigInteger(juce::BigInteger const&)”, referenced from:  
juce::AudioChannelSet::AudioChannelSet(juce::AudioChannelSet const&) in juce\_audio\_plugin\_client\_VST2.o  
“juce::BigInteger::BigInteger()”, referenced from:  
juce::AudioChannelSet::AudioChannelSet() in juce\_audio\_plugin\_client\_VST2.o  
“juce::BigInteger::~BigInteger()”, referenced from:  
juce::AudioChannelSet::~AudioChannelSet() in juce\_audio\_plugin\_client\_VST2.o  
“juce::BigInteger::operator=(juce::BigInteger&&)”, referenced from:  
juce::AudioChannelSet::operator=(juce::AudioChannelSet&&) in juce\_audio\_plugin\_client\_VST2.o  
“juce::BigInteger::operator=(juce::BigInteger const&)”, referenced from:  
juce::AudioChannelSet::operator=(juce::AudioChannelSet const&) in juce\_audio\_plugin\_client\_VST2.o  
“juce::MidiBuffer::ensureSize(unsigned long)”, referenced from:  
JuceVSTWrapper::resume() in juce\_audio\_plugin\_client\_VST2.o  
…  
…

The number of errors that the console show me is more and more but of the same type. I’m working on a pitch estimator trying to use the fftw3 library for fft operations, so i putted in Other Linker Flags the path where is located -lfftw3 because it gave me errors about fft (it didn’t find the functions of the library fftw3). Now it find them but it looks like it doesn’t find the Juce library. I already tried to add the Juce Library functions (the ones located in ‘modules’) in the same folder of the project but it gives me the same errors.  
How can i solve the problem? Thanks

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [September 21, 2016, 4:07pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/2 "2016-09-21T16:07:07Z")

</div>

Not really sure why linking in fftw3 should affect the linker not finding JUCE symbols… sorry.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [September 21, 2016, 4:50pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/3 "2016-09-21T16:50:52Z")

</div>

I’m not sure, but the linker specifically complains about symbols for 64 bit. And the symbols it is missing is VST2 related…  
Can you create VST2 for 64 bit?

---

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [September 22, 2016, 3:07pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/4 "2016-09-22T15:07:18Z")

</div>

> [@daniel](#):
>
> Can you create VST2 for 64 bit?

I’m not at all involved in the OP question but I think it is worth to clarify this question in case someone else sees this post with the same doubt: yes, it is totally possible to create 64-bit VST2 plug-ins (and they can also be combined in universal binaries with their 32-bit counterparts, too).

So I don’t think that could be the reason of the original problem reported

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [September 22, 2016, 3:20pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/5 "2016-09-22T15:20:17Z")

</div>

Thanks for clarifying, the vst2 ang 32/64 bit get’s me confused, will read it up one day…

---

<div class="post-metadata">

**Author:** ![noFanatic](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@noFanatic](https://forum.juce.com/u/noFanatic)\
**Post date:** [September 22, 2016, 3:38pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/6 "2016-09-22T15:38:37Z")

</div>

Oh yes, of course they are not related even though when i had fft errors i hadn’t JUCE symbols problems. Maybe it’s because the compiler didn’t try to find JUCE symbols because it stopped after finding FFT errors. However, i just written the steps that i did in order to help you to find the solution.

---

<div class="post-metadata">

**Author:** ![noFanatic](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@noFanatic](https://forum.juce.com/u/noFanatic)\
**Post date:** [September 22, 2016, 3:42pm UTC](https://forum.juce.com/t/error-message-undefined-symbols-for-architecture-x86-64/19188/7 "2016-09-22T15:42:17Z")

</div>

Thanks. All the errors are related to VST2.o (the object file). It’s my first time i use JUCE, maybe i made a mistake to build all the things. Now i’ll try to restart from the beginning. 😁
