Search Ubuntu life...

Custom Search

Friday, November 7, 2008

Windows last frontier (PowerPoint/Word and Equation Editor)

The only reason that most people have still windows installed on their disk is the need to use Equation Editor with Powerpoint or Word. Unfortunately, wine (or even Crossover) did not manage to fully support Microsoft Office in Linux yet.
Some links, where the problem is reported but not yet solved:
Solution so far comes from virtualization. VirtualBox of Sun, included in Ubuntu, could be used to install windows and Microsoft Office in it.

However, Google Docs may be used as well for document editing. Free Equation editing using latex and/or MathType for Google Docs are possible solutions in that case.

Saturday, July 19, 2008

Visual Studio C++ and MEX 2007b in x64 WinXP

To use VS C++ free compilers with Matlab 2007b MEX in x64 WinXP machines:
  • Install VS C++ free components
    1. Download vcsetup.exe for Visual Studio C++ 2008 Express Edition
    2. Run it to install the free Visual Studio C++ components (ignoring the optional ones).
    3. Download setup.exe of Windows SDK for Windows Server 2008 and .NET Framework 3.5
    4. Run it to install Windows SDK.
  • Let Matlab know where Windows SDK resides:
    1. Set environment variable MSSDK to C:\Program Files\Microsoft SDKs\Windows\v6.0A
    2. Run cmd and mex -setup in it (alternatively, open matlab and give mex -setup in the matlab command prompt).
    • Answer 'no' to the suggestion of mex to automatically locate compilers,
    • choose Microsoft Visual C++ 2005 in the list that appears,
    • answer 'no' to the suggestion for the default path of VS C++ and then,
    • give C:\Program Files\Microsoft SDKs\Windows\v6.0A as the new path for VS C++.
  • To compile mex files:
    1. Navigate with Win Explorer to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin and double click Visual Studio 2008 x64 Win64 Command Prompt
    2. In that terminal, navigate (using command cd) to the directories where YOUR C/C++ code is located and make the mexw64 file(s).

Wednesday, May 14, 2008

Install Skype on 64-bit machines in (K)ubuntu

To install Skype on 64-bit machines just give the command
sudo apt-get install ia32-libs lib32asound2; wget -O skype-install.deb http://www.skype.com/go/getskype-linux-ubuntu; sudo dpkg -i --force-all skype-install.deb
in a terminal.