i compiled TXS from SVN version 3103 on OSX 10.8 Mountain Lion with XCode 4.4 using qt and poppler from homebrew.
However i found out, that you need to patch some files in order to get it working:
In debughelper.cpp you need to remove line 489: extern int LAST_POSSIBLE_TXS_ADDRESS;
The "extern" keyword is C only and thus does not compile with c++. But as far as I could see this line is not required anyways
since the variable isn't used in any other file at least it doesn't need to be external. Correct me if i'm wrong, but it worked that way.
In texstudio.pro change the line 251 to:
Also change line 253 and 254 to:
In the same file change line 490 to:
Then it worked for me. However a minor bug: the SVN version is not recognized for the about dialog, its just blank, but I didn't instantly understand how the version number is generated so i couldn't fix it.
Compiling this with qmake and then make created a debug version. Is there any way to change this to a release version?
Log in to post a comment.