Extract naclports compiled libs from nacl sdk - google-chrome

I have to develop in a windows environment. Unfortunately naclports was not able to compile libs on windows therefore i had to do that on a linux machine. Now i have a shared folder nacl_sdk_linux and am wondering how to extract the compiled libs and copy them to my windows nacl_sdk?

Native Client compiled files are the same on every OS, so you should just be able to copy any object/bitcode, archive, or shared library file built on Linux to a Windows machine and use it. If you have a whole directory you can probably just copy that.

Related

ejabberd how to compile on windows

Ejabberd has a windows installer but the source does not compile for windows out of the box.
configure.bat has references to configure.erl but this file doesn't exist.
How do they do it?
From what I know, the windows installer is cross-compiled, or some weird stuff, and also requires specific program to pack the installer. So, building a Windows installer is not possible.
But you can download the ejabberd source code, make any changes you want to the erlang source code, compile it with the same Erlang/OTP version that is included in the Windows installer, and copy the *.beam files you have modified into the ejabberd installed directory.

How to install MUMPS database in Windows 8.1?

I would like to install MUMPS database in Windows 8.1. I was trying to install but there is no exe file for MUMPS database. Can anyone give me a hand?. I downloaded a lot of files from this site https://sourceforge.net/projects/mumps/files/ but still don't know where to start.
From the README for that project, you'll need to install Cygwin:
NOTES on cygwin
For Windows, install the Cygwin environment at http://cygwin.com/install.html
Run cygwin terminal (on win7 or win8 run it as administrator).
Setup the Cygserver using /usr/bin/cygserver-config.
edit /usr/include/cygwin/shm.h
add near end
#define SHM_R (IPC_R)
#define SHM_W (IPC_W)
edit /usr/include/cygwin/ipc.h
move third last #endif 3 lines up
Once you have Cygwin setup, the mumps.exe file available to download at the link you provide should run.
That said, I would agree with Evgeny in recommending you try the free evaluation version of InterSystems Caché. It is a far more accessible Mumps implementation for Windows and it has an extensive set of libraries for common functionality.

how to make executable for mac and ubuntu in libgdx

I've never made a program into an executable for mac or ubuntu , and I've been looking into how to do this for some time now but didn`t got any results. I have been able to build my game for android, ios, windows(.exe) but dont have any idea about mac osx(.app file) or ubuntu (.deb file ).
If you're using eclipse, you could just export as a cross-platform jar (which would then work for mac, linux and windows)
Eclipse makes that really easy: File -> Export ... -> Java -> Runnable Jar File. There may be additional steps required to include assets like your app's images and sounds into this .jar file.
Btw, how did you turn it into a windows exe anyway?

Correctly understanding cuda versioning and compatibility

CUDA programming guide states that:
the driver API is backward compatible, meaning that applications, plug-ins, and libraries (including the C runtime) compiled against a particular version of the driver API will continue to work on subsequent device driver releases
I understand this as that, if my code was compiled on CUDA4, the binary will run on CUDA5. However, it turned out that running the CUDA5-compiled binary on CUDA5 led to:
error while loading shared libraries: libcudart.so.4: cannot open shared object file: No such file or directory
Note that I am using the "module" facility in Linux to switch in between different cuda versions, i.e.
module load cuda4
compile
module unload cuda4
module load cuda5
run
It is the developers responsibility to package libcudart.so.4 with the application. The module command is likely changing your LD_LIBRARY_PATH or your PATH variable so LDD is not finding libcudart.so.4. I recommend you add a post build step to copy the required .so into your application directory.
ATTACHMENT A in EULA.txt at the root of the CUDA Toolkit directory lists the Redistributable Software. This includes libcudart.so (and variations that have version number information embedded in the file name). This also includes libcufft, libcublas, ...

Portable executable for CMake

I am developing on a Windows machine for which I don't have administrative privileges.
I would like to use CMake to compile, and I cannot simply download and install this due to administrative restrictions.
I would also like to avoid compiling CMake from source (if possible). Are there portable binaries available for Windows that would allow one to simply use CMake?
You can download a ZIP file of CMake. You can just uncompress it somewhere you are allowed to copy files and use it from there. Check the download page of CMake.