Unable to find 'javascript.swg' - swig

I am building a C++ library with Swig, I get this error on mac-os.
Any help would be appreciated.
Swig was installed via homebrew.
Unable to find 'javascript.swg'

I was able to solve this issue by installing a different version of swig.

Related

TCL mysqltcl for 64bit windows platform

I need to updated few field of mysql database using the result from tcl program.
I downloaded the mysqltcl from http://www.xdobry.de/mysqltcl/windows.html
I read a note here that the dlls (libmysqltcl.dll & libmysql.dll) are not compatible to 64 bit windows.
I gave it a try and it gives error when i tried to use the load it throws below error.
couldn't load library "libmysqltcl.dll": invalid argument
I googled a bit and many had similar problems. I tried modifying the pkgIndex.tcl but it didn't work. Finally I need to write this here to see if anyone can guide to install the mysqltcl package on windows 64bit.

Configure ejabberd

I was running this command sudo apt-get install ejabberd
But it throws me this error:
The following packages have unmet dependencies: ejabberd : Depends:
erlang-abi-15.b E: Unable to correct problems, you have held broken
packages.
Anyone knows how to fix this?
I'm very new to ejabberd, so any help would be greatly appreciated
Thanks in advance!
Your package is probably very old and rely on a old version of Erlang.
You should download package or installer from ProcessOne website. It comes packaged with Erlang and everything is up to date.
Downloads are available on this page: https://www.process-one.net/en/ejabberd/downloads/
It is really simple to compile ejabberd + erlang. I suggest to use source code compilation instead of OS shaped packages.
First, download desired ejabberd version and check README file to get actual version of erlang.
Then download and compile erlang to needed destination.
After that you are ready to install ejabberd itself.

build mysql driver for Necessitas (qt-android)

I´m trying to build a mysql driver to use it in a qt-android app.
Now everything seems to be clear but there is a inconsistency in my head.
While i´m compiling the mysql-connector-c source ( 6.0.2 ) cmake got a lot of missing header files.
Thats ok, but my problem is where to get these headers? or can I just use my gcc headers?
Thank you in advance!
Link to the guide I Worked with: http://qa-android.com/comp-lib-qt-android/2012-11/pdfNpp3xMBVQQ.pdf

Workaround cutil.h

I'm trying to use a software package called GPU-HMMER that was configured using CUDA 2.2.
However, it throws the following error:
cuda_kernel.cu:1:19: fatal error: cutil.h: No such file or directory
I realize that CUDA 5.0 doesn't have this file and I'm unsure about how I can properly install this software using CUDA 5.0
A similar problem was posted at the following link:
CUDA5 Examples: Has anyone translated some cutil definitions to CUDA5?
Any help would be much appreciated
I ran into the same problem when I was trying to compile the CUDA samples. I just did a quick google for cutil.h and found an old version being hosted on assembla.
Cutil.h on Assembla.
I just find out that the Assembla link is broken. Another copy of cutil.h can be found at the following link
www2.icmc.usp.br/~castelo/CUDA/.../inc/cutil.h

Node: Mysql client libraries on windows

I have installed db-mysql module on node running linux, and I have not problems with it, but when I tried to do it on windows, I don't know how to do this:
$ export MYSQL_CONFIG=/usr/local/mysql/bin/mysql_config
That is what the db-mysql's documentation page says to do
nodejsdb.org/db-mysql
without do that, I get on node:
Error: Unable to load shared library C:/Program files/nodejs/node_modules/db-mysql/build/Release/mysql_bindings.node
Do I have to copy any file from linux to windows pc?
Sorry my bad english, and thanks for reading
That library is a Native C++ wrapper, and has problems on Windows.
Try one of the pure js libraries. Some are covered off on this question
What MySQL driver for Node.js works on Windows?