Category : compilation

My GUI code compiles fine but when I click on a button which does some computation, I get the following error : ./main_exe: symbol lookup error: ./main_exe: undefined symbol: clfftInitSetupData I don’t understand given that nm -D output : nm -D /usr/local/lib64/libclFFT.so | grep clfftInitSetupData 00000000000acfb0 T clfftInitSetupData So this function clfftInitSetupData should be known ..

Read more

Problem I cannot link a header file to its corresponding source file in visual studio code. Could someone please tell me how I can achieve this? Error message: C:/Programming/C++/Projects/Implementations/Vector/main.cpp:6: undefined reference to custom::vector::vector() C:/Programming/C++/Projects/Implementations/Vector/main.cpp:6: undefined reference to `custom::vector::~vector() What I have Tried I had manually tried to build in the terminal by using: g++ main.cpp ..

Read more