Author

Topic: [Problem] Compiling Litecoin on Mac (Read 1709 times)

full member
Activity: 194
Merit: 100
BaiQi
November 27, 2014, 04:08:28 AM
#16
the same problem,someone can solve it. Huh Huh
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 05:35:59 AM
#15
And what exactly needs to be included?

Clearly the following (from your own post):

#include
#include

I do not have a Mac and haven't played with Qt myself so I can't probably be of much more help here - but for sure you need the "include path" to include the QtGui path.

Probably best to check your compiler documentation about that (the "include path" and "library path" are standard things for most if not all C++ compilers).
full member
Activity: 168
Merit: 100
May 05, 2013, 05:31:15 AM
#14
Mate, I have already installed Qt. I seriously appreciate your help but I said exactly this on my OP:

If you read my original reply then you'll see I asked you whether the Qt stuff is in your "include path" - is it?

(as you didn't answer that I assumed you hadn't even installed Qt as your OP said nothing about it)


How would I do that? Im guessing I need to add INCLUDEPATH += to my litecoin-qt.pro file? And what exactly needs to be included?
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 05:26:46 AM
#13
Mate, I have already installed Qt. I seriously appreciate your help but I said exactly this on my OP:

If you read my original reply then you'll see I asked you whether the Qt stuff is in your "include path" - is it?

(as you didn't answer that I assumed you hadn't even installed Qt as your OP said nothing about it)
full member
Activity: 168
Merit: 100
May 05, 2013, 05:23:18 AM
#12
And what I have been trying to suggest to you is that maybe you need Qt installed in order to create a Qt GUI application.

If that is trying to "act smart and all that" then I guess I will just leave you to it.


Mate, I have already installed Qt. I seriously appreciate your help but I said exactly this on my OP:

"but everytime I do this I get the error in my Qt Creator: QtGui/QMenu not found"

and Im sorry if you feel like I have attacked you, as it was not my intention to hurt your feelings or anything like that. I'm just trying to solve this error here and I hope I could get some help from anyone on here.

Thanks Smiley
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 05:19:12 AM
#11
And what I have been trying to suggest to you is that maybe you need Qt installed in order to create a Qt GUI application.

If that is trying to "act smart and all that" then I guess I will just leave you to it.
full member
Activity: 168
Merit: 100
May 05, 2013, 05:15:40 AM
#10
Qt is not a seperate project

So still sticking by this statement then?


What I meant is that Qt Creater is just a compiler to create the Litecoin-Qt application from the source code provided on Github. My actual question is why it gives these errors which I pointed out in the OP, and why other people were able to compile the Qt client succesfully.

What did they do that me and lots of other people didn't do? Did I miss anything from the instructions which I have read over and over. Searched the forums for all different guides, tried them all, spent my whole saturday yesterday to try to compile it, but I'm still stuck. I hope that you or anyone else can help me, so we finally have a permanent fix as this is the most common problem where a lot of people are stuck when they are compiling.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 05:09:42 AM
#9
Qt is not a seperate project

So still sticking by this statement then?
full member
Activity: 168
Merit: 100
May 05, 2013, 05:07:17 AM
#8
I think you might want to try and Google "Qt" to find out what it actually is (and it is the same thing whether Bitcoin or Litecoin).

Smiley


Yes mate I know what it is and does but I am trying to solve a problem here. No need to act all smart and stuff, just try to help if you can. I wouldn't post this question on the forums if I hadn't did my research correctly but this problem is actually one that many Mac users experience (have talked and expirimented with a few of them). If we are able to solve this problem a lot of people can refer to this thread for a fix.

Thanks
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 05:04:05 AM
#7
I think you might want to try and Google "Qt" to find out what it actually is (and it is the same thing whether Bitcoin or Litecoin).

Smiley
full member
Activity: 168
Merit: 100
May 05, 2013, 04:56:24 AM
#6
Qt is not a seperate project, and I should be able to compile it using the source code provided on Github. Im now very curious why I'm not able to compile while others obviously can.

Oh, and we are not talking about Bitcoin-Qt, but Litecoin-Qt
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 04:52:30 AM
#5
Qt is a separate project to Bitcoin so if you haven't installed it separately then you are not likely to get very far with creating a Qt app (the console daemon should be fine though - and being a fan of console UI I would suggest forget the Qt stuff and just learn to use a console).
full member
Activity: 168
Merit: 100
May 05, 2013, 04:49:36 AM
#4
Yes removing #include's is not generally something that will help - most likely you are either missing these or they are not in your "include path".


How could I miss them? I downloaded the whole source code directly from the official Litecoin git which is also linked to at litecoin.org..

Is there a way to download these files seperately? Can't find them on the litecoin git aswell, so why are they even included?
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
May 05, 2013, 04:48:06 AM
#3
Yes removing #include's is not generally something that will help - most likely you are either missing these or they are not in your "include path".
full member
Activity: 168
Merit: 100
May 05, 2013, 04:44:53 AM
#2
FYI: the errors seem to come from the macdockiconhandler.mm file which has the following lines which cause the error:

#include
#include

If I remove them completely I am stuck with another 10+ errors so thats not handy to do.

Any suggestions?
full member
Activity: 168
Merit: 100
May 05, 2013, 04:31:26 AM
#1
Hello,

I am trying to compile Litecoin-Qt on my mac, but everytime I do this I get the error in my Qt Creator: QtGui/QMenu not found.

Because of these errors I am not able to open litecoin, thus I can not compile it correctly. How did you guys overcome this problem? I have installed everything (boost etc) so it should work, but sadly it doesnt.

Any help?
Jump to: