What is the qInitResources_bitcoin() function in Bitcoin core for?

What is the qInitResources_bitcoin() function in Bitcoin core for?

I am cloning the Bitcoin core repository and have successfully created my own genesis block from the code. Now I am at the stage of branding my coin (such as changing the name and images), to GELF (my own coin name). After running a recursive find and replace from bitcoin to GELF I have been running into a lot of reference errors that I have been fixing.

However...

I am running into a undefined reference to qInitResources_bitcoin() error, which is caused by bitcoin.cpp at line 548.

The line is Q_INIT_RESOURCE(bitcoin);

Nowhere in the bitcoin.cppfile is this function defined, and the bitcoin variable which is passed to this function is also not defined. I can see this line in the bitcoin code on github, so it hasn't magically appeared from nowhere. I can't find any material online to explain what it does, and no definitions anywhere.

What does this function do? Where is it defined in the code?

If I comment the line out and the line underneath it Q_INIT_RESOURCE(bitcoin_locale);, it compiles, installs and runs perfectly.

http://ift.tt/2Bem0iG

Comments

Popular posts from this blog

Antminer D3 Blissz Modified Firmware For Improved Performance

ETH To The Moon / Bank of England Cryptocurrency? / BTC Dominance / More (The Crypt0 Minute)