Bitcoin QT - why do I have an undefined reference to `qInitResources_bitcoin() error
Bitcoin QT - why do I have an undefined reference to `qInitResources_bitcoin() error
I have built the Bitcoin source code, created my own genesis block and everything was working great! Now that I have changed the word bitcoin to GELF in some places of the program to suit my own software's name, I am running into plenty of issues with undefined references. I cannot seem to work out why I am having this undefined particular undefined reference when I run make. Here is my error output:
make make[1]: Entering directory '/home/q/Desktop/GELF-master/src' make[2]: Entering directory '/home/q/Desktop/GELF-master' make[2]: Leaving directory '/home/q/Desktop/GELF-master' OBJCXXLD qt/GELF-qt qt/qt_GELF_qt-bitcoin.o: In function `main': /home/q/Desktop/GELF-master/src/qt/bitcoin.cpp:548: undefined reference to `qInitResources_bitcoin()' collect2: error: ld returned 1 exit status Makefile:3701: recipe for target 'qt/GELF-qt' failed make[1]: *** [qt/GELF-qt] Error 1 make[1]: Leaving directory '/home/q/Desktop/GELF-master/src' Makefile:9475: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
I can't find anywhere in the code where this function is defined! Here is the line that is breaking:
Q_INIT_RESOURCE(bitcoin);
What does this function do? It isn't anywhere to be seen in the developer reference. How can I resolve this error?
http://ift.tt/2BdsIFl
Comments
Post a Comment