March 28, 2020, 07:45:59 PM

Author Topic: compiling from github gldcoin, error, missing qdatetime.h??  (Read 3071 times)

0 Members and 1 Guest are viewing this topic.

Offline georgem

  • Newbie
  • *
  • Posts: 8
  • Karma: +2/-0
    • View Profile
compiling from github gldcoin, error, missing qdatetime.h??
« 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.
EEc2GJGLA6hDfUPvad6Jk6opNGDeDQFhR6

Offline MarKusRomanus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: compiling from github gldcoin, error, missing qdatetime.h??
« Reply #1 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

Offline georgem

  • Newbie
  • *
  • Posts: 8
  • Karma: +2/-0
    • View Profile
Re: compiling from github gldcoin, error, missing qdatetime.h??
« Reply #2 on: December 02, 2013, 08:10:58 PM »
Thank you.

Problem solved.

EEc2GJGLA6hDfUPvad6Jk6opNGDeDQFhR6