GoldCoin Talk

Main Category => Technical Discussion => Topic started by: georgem on December 02, 2013, 11:44:19 AM

Title: compiling from github gldcoin, error, missing qdatetime.h??
Post by: georgem on December 02, 2013, 11:44:19 AM
Hello Goldcoin-Forum

I have a problem compiling goldcoin from source.

I have ubuntu 12.04, and i clone the git:

Code: [Select]
git clone https://github.com/goldcoin/gldcoin
then I go to the src folder and start compilation with

Code: [Select]
make -f makefile.unix USE_UPNP=-
But then I get an error:

Code: [Select]
main.cpp:17:23: fatal error: qdatetime.h: No such file or directory
I see this qdatetime.h is missing.
Where can I get it?
What package do I have to apt-get so I have this file?

Thankyou.
Title: Re: compiling from github gldcoin, error, missing qdatetime.h??
Post by: MarKusRomanus on December 02, 2013, 07:36:35 PM
The developers, in their infinite wisdom used qt libs in the non qt daemon.  all you need to do is install the qt4 libs.

for debian or ubuntu:
apt-get install libqt4-dev
Title: Re: compiling from github gldcoin, error, missing qdatetime.h??
Post by: georgem on December 02, 2013, 08:10:58 PM
Thank you.

Problem solved.