Doxygen - using doxygen with gswin64c.exe - doxygen

Where do I configure doxygen to use the 64-bit verions of ghostscript? It seems by default doxygen calls for gswin32c.exe rather than gswin64c.exe.
Thank you.

Lazy solution: copied gswin32c.exe to gswin64c.exe. Sorry, I'm in a rush and couldn't find the proper solution and didn't want to install 32-bit ghostscript.

Related

How to generate Doxygen Documentation with Travis-CI

I have a project supported in Travis-CI. I want to generate the documentation using Doxygen but Im not sure how to make it. I already have a Doxyfile in the root of the Github project. How can I do it?
Thanks in advance for your help.
I don't know whether or not you are on a commercial plan for Travis-CI or are using it for free for a OSS project. In the later case be aware of their new pricing policy.
You didn't mention the OS for which you want to run doxygen, for some distributions an installation package is available.
To run doxygen you have to install doxygen (or build it on Travis, but this would be a bit of an overkill). After installing it you should be able to run doxygen right out of the box.

Eclipse IDE: How to add this configuration during running?

For running of one of my C++ programs, using terminal(Ubuntu) I use
Note: I'm trying to Embed Python in C++. Hence, PYTHONPATH in C++.
Refer to Python/C API for more details.
$ PYTHONPATH=. ./prog_name
Sorry, I didn't know how to ask this question on Google. I want to do the same running with Eclipse. I don't know where to specify PYTHONPATH=. during running from Eclipse. How to produce the equivalent of this? I tried putting in argument list, but obviously it didn't work. Thanks!
PS. Don't downvote just because you don't understand that python scripts can be called through C++ .. Lol
Hi to all those facing the same problem, i found the solution!
setenv() is a function defined in which sets the environment variable. Just have to run it!
setenv("PYTHONPATH",".",1);
for more info on setenv:
$ man setenv
All the best :)

How to issue warning/error when using older version of Doxygen?

I'm planning to use doxygen to document a project. It's an OSS project whose current documentation is of questionable quality. The reason I've decided to go with doxygen is because from version 1.8, doxygen has added support for Markdown (text formatter; think we use it on this site too).
A concern of mine is for the people who might end up using older versions of Doxygen (for example, it hasn't been updated in the current Ubuntu LTS release).
Is it possible to add some setting or marking in the Doxyfile (doxygen configuration file), such that it will issue an error/warning if someone tries to generate the documentation using an older version of doxygen?
(Ideally, explaining the cause of error as well)
Doxygen itself provides a sort-of warning for these circumstances. If your doxyfile includes things like MARKDOWN_SUPPORT = YES and the incumbent doxygen is not one that supports markdown, then you do get a warning that the option is unrecognised.
Warning: ignoring unsupported tag 'MARKDOWN_SUPPORT'...
Alternatively, you could implement some script that parses the return from doxygen -v which will either return a handy '1.8.5' or the usage help, including a line version 1.y.z - so something based around doxygen -v | grep "1\." would extract a suitable line.

Where can I download the Emacs APEL package?

I'm trying to install ElScreen that allows multi-tab editing in Emacs.
One of its prerequisite is call APEL (A Portable Emacs Library). However, it seems that I cannot find a usable download link of APEL anywhere: wikipedia, Emacs-wiki, and ElScreen's README file all give broken links. Are there still anyone using this package and knows how to install? Thanks!
I followed the ubuntu link and was able to get it from there (thanks rvf0068), but figured it would be nice if there was an easier way to get at it than having to unpack a .deb.
So it's on github now too (and it works with emacs 24.2, I just did it).
https://github.com/jeffgran/APEL
If you use Ubuntu (and maybe also Debian) there's the possibility of installing apel from the repositories. See for example: http://packages.ubuntu.com/precise/apel
If you use emacs 24, a fork version of Elscreen having no dependency on APEL is available in github. You can install it easily through ELPA(Emacs Lisp Package Archive). I've been using it with no problems.
You can find the latest version at here. http://git.chise.org/elisp/apel/index.html.en

How do I extract translatable strings from a glade (Builder) file?

In command prompt I wrote:
C:\Users\Waqar Ali Khan\Documents\NetBeansProjects\MedicalEmergency>xgettext -d
MedicalEmergency -o LocaleStrings.pot main.cpp MedicalEmergency.glade
xgettext: Language "glade" is not supported. xgettext relies on expat.
This version was built without expat.
I tried to locate the libexpat and it was there with the xgettext.exe but still I'm getting this error, can any one guide me how do I extract translatable strings from a glade file?
I know i m doing right but this error is weird no where mentioned in any tutorial :(
I'm on Windows using Netbeans IDE with GTK+ - 2.0 and MinGW with MSYS.
It's best to use Intltool for extracting strings from Glade files. By coincidence, I am currently writing a tutorial on that. Look in the "Setting up Gettext" section.
Note that to use Intltool, you will have to download and build that somehow. I really hope it works on Windows, but I honestly have no idea.