Skip to content

Error. Undefined symbol: pdsp::WhiteNoise::out_signal() #76

@steeley

Description

@steeley

Using OF 0.11.2 on OSX Big Sur

if I patch a VAoscillator it works ok.
osc.out_sine() >> engine.audio_out(1);

if I have a WhiteNoise object called wNoise and do this instead, I get the compile error shown below:
wNoise.out_signal() >> engine.audio_out(1);

`Ld /Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/pDspSigGen/bin/pDspSigGenDebug.app/Contents/MacOS/pDspSigGenDebug normal (in target 'pDspSigGen' from project 'pDspSigGen')
cd /Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/pDspSigGen
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -L/Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/pDspSigGen/bin -F/Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/pDspSigGen/bin -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks -filelist /Users/ian/Library/Developer/Xcode/DerivedData/pDspSigGen-bcyghfxnmwlaimbdogyycslpkybs/Build/Intermediates.noindex/pDspSigGen.build/Debug/pDspSigGen.build/Objects-normal/x86_64/pDspSigGenDebug.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ian/Library/Developer/Xcode/DerivedData/pDspSigGen-bcyghfxnmwlaimbdogyycslpkybs/Build/Intermediates.noindex/pDspSigGen.build/Debug/pDspSigGen.build/Objects-normal/x86_64/pDspSigGenDebug_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ ../../../libs/tess2/lib/osx/tess2.a ../../../libs/glew/lib/osx/glew.a ../../../libs/cairo/lib/osx/cairo-script-interpreter.a ../../../libs/cairo/lib/osx/cairo.a ../../../libs/cairo/lib/osx/pixman-1.a ../../../libs/fmod/lib/osx/libfmod.dylib ../../../libs/rtAudio/lib/osx/rtaudio.a ../../../libs/glfw/lib/osx/glfw3.a ../../../libs/FreeImage/lib/osx/freeimage.a ../../../libs/freetype/lib/osx/freetype.a ../../../libs/boost/lib/osx/boost_filesystem.a ../../../libs/boost/lib/osx/boost_system.a ../../../libs/curl/lib/osx/curl.a ../../../libs/uriparser/lib/osx/uriparser.a ../../../libs/pugixml/lib/osx/pugixml.a -framework Accelerate -framework AGL -framework AppKit -framework ApplicationServices -framework AudioToolbox -framework AVFoundation -framework Cocoa -framework CoreAudio -framework CoreFoundation -framework CoreMedia -framework CoreServices -framework CoreVideo -framework IOKit -framework OpenGL -framework QuartzCore -framework QTKit -framework Security ../../../libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a -framework CoreMIDI -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/ian/Library/Developer/Xcode/DerivedData/pDspSigGen-bcyghfxnmwlaimbdogyycslpkybs/Build/Intermediates.noindex/pDspSigGen.build/Debug/pDspSigGen.build/Objects-normal/x86_64/pDspSigGenDebug_dependency_info.dat -o /Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/pDspSigGen/bin/pDspSigGenDebug.app/Contents/MacOS/pDspSigGenDebug

ld: warning: object file (../../../libs/rtAudio/lib/osx/rtaudio.a(RtAudio.o)) was built for newer macOS version (10.15) than being linked (10.9)
Undefined symbols for architecture x86_64:
"pdsp::WhiteNoise::out_signal()", referenced from:
ofApp::setup() in ofApp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions