HVScrollView icon indicating copy to clipboard operation
HVScrollView copied to clipboard

腾讯的框架在这里,我用了感觉好多bug

Open gu2890961 opened this issue 7 years ago • 1 comments

https://github.com/xichen744/SPPage 写的很不错,大神

gu2890961 avatar Jan 12 '18 14:01 gu2890961

Hi there, the library uses a few C++11 features and it looks like you are not compiling with C++11 enabled. Try passing -std=c++11 into your compiler :)

adamstark avatar Aug 15 '18 08:08 adamstark

thanks! that solved the warnings, but there is still the compilation error which I haven't managed to fix yet:

Undefined symbols for architecture x86_64: "AudioFile<double>::AudioFile()", referenced from: _main in main-1fd07f.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Any ideas on how to solve this?

mmelero96 avatar Aug 15 '18 16:08 mmelero96

This is a linker error rather than a compilation error. It looks like you are not including AudioFile.cpp as part of your project. So it finds the header file which details the functions and classes, but it does not find their implementation. Hence 'undefined symbols'.

adamstark avatar Aug 15 '18 23:08 adamstark