May 29, 2009 · General ·

Sponsored Link
projectM is an audio visualizer that is pretty spiffy. Just have it running while playing audio on your system and you will get some pretty cool effects to go with your music's beats and rhythms. It's by far my favorite addition to my Ubuntu 9.04 64bit HTPC.

These instructions cover how to build this from source using Subversion. All italicized instuctions are commands that you can copy and paste (one line at a time), otherwise they are just that -- only instructions.

1. First, lets get a few packages:

sudo apt-get install libglew1.5 libglew1.5-dev
ftgl-dev libpulse-dev subversion 
sudo apt-get install cmake libvisual-0.4-dev
libsdl-dev libqt4-dev build-essential
(Note: It's likely you may already have some of these packages, if so that's cool.)

2.  Next, add the trunk (the files you will need) to a directory in our home folder:

cd~
cd projectM-Trunk/src
mkdir projectm
cd projectm
svn co https://projectm.svn.sf.net/svnroot/projectm/trunk projectM-Trunk

3. Now we can  start the steps to configure before we install:

ccmake .
(Note: There's a "space" then "dot" after ccmake.)
Press "c" to enter the cmake configure screen.
Change the "CMAKE_INSTALL_PREFIX" value from "/usr/local" to "/usr".
Change the "CMAKE_BUILD_TYPE" to "Release".
Press "g" to generate your changes, which will create your makefile needed for compiling.
Press "q" after that has been generated.

4. Now we are ready to compile and install:

make
sudo make install

5. You should now see ProjectM-pulseaudio in your Sound menu under the Applications menu. Just start this up before or after launching your music player (I prefer Songbird). You can also start it from the CLI (command line) by typing:

projectM-pulseaudio

6. You can enter/exit fullscreen mode by pressing "f" when the projectM window is selected. Pressing "m" will bring up projectM's menus where you can select different presets and play with settings. Pressing "l" will stop the cycling of presets, and only display the one currently being used. Have fun!

projectM Homepage:

http://projectm.sourceforge.net/

Articles that helped me with my first projectM install:

http://ubuntuforums.org/showthread.php?t=749793

http://projectm.wiki.sourceforge.net/Installation+Instructions

Sponsored Link

34 Comments to “Ubuntu Howto: Install projectM Audio Visualizer”

  1. Miles says:

    Why not just do this:

    apt-get install libvisual-0.4-0 libvisual-0.4-plugins libvisual-projectm

    Seems to me that it’s already being used by a handful of applications:

    http://www.localhost.nl/~synap/libvisual-wiki/index.php/Applications

    Is there a deb available? I really don’t want to have to install the development packages just to see what it’s about.

  2. Miles says:

    I finally broke down and tried building this on a scratch system.

    I’m running jaunty (9.04) and have a couple of corrections/clarifications:

    The ‘cd projectM-Trunk/src’ should be done AFTER the svn check-out (svn co), not after the ‘cd ~’

    The user might need to his ‘c’ (configure) again in the ccmake tool after editing the two values to make ‘g’ (generate) available as an option.

    In my case, after hitting ‘g’ (generate) in ccmake, I was dropped onto the command line and didn’t need to hit ‘q’ (quit).

    Otherwise, it went smoothly.

  3. Miles says:

    Correction: The compile and install is smooth but it doesn’t seem to work. I got a bunch of errors, one in particular ‘Connection failure: Connection refused’ that I suspect to be the main culprit. Searching around the web for this in relation to projectM seems to show that it’s a pretty common problem.

    A working deb? Anyone? 🙂

  4. Dan says:

    I seem to be having problems with this. I followed all the instructions and everything went smoothly until I tried sudo make install. After that I get this error

    make: *** No rule to make target ‘install’. Stop.

    Anybody else have this problem? Or is it just something small I’m overlooking?

    Thanks in advance

  5. admin says:

    try to install following package

    sudo apt-get install build-essential

  6. Malart says:

    you have us cd’ing into the trunk directory before we have it lol

  7. Jack Dausman says:

    Works great. Thanks. I’m running it on 9.04 with Nvidia. Naturally, I turned off Compiz.

  8. Brandon M. Sergent says:

    This is exactly the type of thing that makes new users run for the hills screaming.

    To me, and to the vast bulk of netizens this app might as well not exist.

    Oh yea and the instructions fail.

    “The source directory “/home/innomen/projectm” does
    not appear to contain CMakeLists.txt.”

    Guess I’ll just wait for a deb. What a HUGE PITA.

  9. Dan says:

    Try starting over and creating a folder in your home directory called projectm. Then, just make sure to run svn in home/projectm/

    After the svn is downloaded navigate to the home/projectm/projectM-Trunk/src directory and run ccmake .

    you shouldn’t get the error then and you should be able to proceed with the build.

    I’ll admit this isn’t easy for beginners, as you could run into a number of problems when you compile the code, double check and make you’ve got all the necessary packages (in synaptic) and google your error messages in the context of which they occurred.

    When seeking help (or offering criticism 😉 be prepared to provide as many details as you can about your problem, what OS are you running is especially helpful, as well as the steps you took to arrive at the problem.

  10. Brandon M. Sergent says:

    I appreciate your attempt to help. I’m sure it would help if I had a background in programming at all.

    I’m using Ubuntu Jaunty and I suspect eventually this will show up as a deb file. I can be very patient. Milkdrop is just too cool for someone not to make it easy.

    I’ll make an attempt to follow your additional instructions later.

    My complaint isn’t with this app in particular, just expressing a general frustration, one that is very old and very commonly held.

    Duplication of effort makes up about 90% of the linux experience, or at least thats what it feels like.

    Also ignorance helps. for example is there a reason why someone can’t just offer up compiled versions of the app for a common range of distros?

    I mean if its easy enough that end users are expected to do it how fast must it be for those comfortable with it?

    I suspect there is a good reason, but I don’t know it.

    Thank you for your time in any case. 🙂

  11. Miles says:

    No kidding. If the author of this article got it to work, what’s with bogarting the application and just frustrating a bunch of people who even just want to see if this app is even worth looking at? As a previous poster put it… this app might as well not even exist.

    Frustrating.

  12. Miles says:

    Also @Dan… I’m not even a beginner and I even googled up the errors I was running into, as you suggested (if you had read my posts, you would see that).. and I have NOT been able to get this compiled and running.

    projectM: [ FAIL ]

  13. Dan says:

    @Miles. I read your posts, and am still not sure what to make of them. The only thing that I can think of is that your hardware may not be compatible with projectM. What kind of video card are you using?

  14. Miles says:

    @Dan: I don’t see how the type of video card has anything to do with that particular error. (‘Connection failure: Connection refused’) What’s the connection that you see there?

  15. Dan says:

    Yeah, kind of a long shot, but I was thinking that your video card did not support open gl.

  16. Brandon M. Sergent says:

    Just out of curiosity why is there no deb of this? What is preventing it? Is there anything anyone can do to help? If so what would that be?

  17. Elder Geek says:

    As of August 11, 2009 the above instructions work great for Intrepid and Jaunty (Hardy instructions below). Once you reorder these steps as follows:

    cd~
    mkdir projectm
    cd projectm
    svn co https://projectm.svn.sf.net/svnroot/projectm/trunk projectM-Trunk
    cd projectM-Trunk/src

    If you are not running Ubuntu (Kubuntu, Xubuntu, OpenGEB, etc) then you will need to install pulse audio to get this working. You can find the instructions here https://wiki.ubuntu.com/PulseAudio

    If you want to do this for Hardy you will need a more recent copy of ccmake. I went to here http://packages.ubuntu.com/jaunty/devel/cmake and did the following.

    sudo apt-get install build-essential devscripts fakeroot
    sudo apt-get build-dep cmake
    wget http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_2.6.2-1ubuntu1.dsc
    wget http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_2.6.2.orig.tar.gz
    wget http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_2.6.2-1ubuntu1.diff.gz
    gunzip cmake_2.6.2-1ubuntu1.diff.gz
    tar xzvf cmake_2.6.2.orig.tar.gz
    cd to the cmake directory
    patch -p0 < ../cmake_2.6.2-1ubuntu1.diff

    now with it patched.

    debchange –nmu
    fakeroot debuild -uc -us

    then

    cd ..
    and dpkg -i cmake-2.6.2-1ubuntu1.deb

    After that you should be able to follow the instructions above.

    I also had the problem that I broke something after it was installed. I.E. the program would run fine, then after a change it crashed. This fixed it

    rm ~/.projectM
    rm ~/.config/projectM

  18. Brandon M. Sergent says:

    These instructions are garbage, no offense.

    For a working understandable user friendly guidethat has screen shots goto the following.

    Confirmed working for jaunty. Includes project m 2.0 shader instruction. Step by steps copy paste to terminal with explanations of what each command means.

    http://ubuntuforums.org/showthread.php?t=749793

    Unsubscribing from this thread.

  19. Elder Geek says:

    Re: Sergent

    Sorry it did not live up to your expiations.
    1. I was correcting the error in the directions above. The sequence is wrong and people will have a hard time changing into a directory they have not created yet.
    2. I mentioned that the instructions above STILL work on both Intrepid and Jaunty in August 2009. ProjectM seems to have an on-again-off-again thing about compiling properly. It is nice when looking at a how-to that is over a year old to see that it is still working before embarking on it.
    3. The how to for Hardy is nice, but I built projectM in late July and those instructions there did not get it done. Unless you know something I do not. You CAN NOT build projectM from svn with an old version of ccmake. I was trying to give tips not found elsewhere on building cmake so you CAN build projectM on Hardy.

    I wish I could format any of the above, but I can’t seem to do that here. Most of my comments are “bread crumbs”. If you are fairly competent it would be nice to know you must upgrade cmake to build proejctM on Hardy. I could do a complete walk through, I could document it well. I could even do a screencast. In this case I was just trying to be helpful.

  20. Miles says:

    Compiling is all fine and well but you know what the average Ubuntu/Kubuntu/Xubuntu user really wants?

    .deb files. 🙂

    Toying with us, with something we can’t use or examine, until we’re frustrated will only drive folks away from the site. I hate to sound like an unappreciative ass (but that’s the risk of frustrating your readers), but if the article poster got it to compile–why wasn’t it made into a deb that ANYONE could install even if the svn available version cannot be compiled?

  21. gman says:

    @Elder Geek: I’m on 64bit Jaunty. I’m getting this error during make.

    make
    — [projectM] FTGL font support was detected and enabled.
    — [projectM-qt] Qt4 detected.
    — [projectM-qt] projectM detected.
    — [projectM-pulseaudio] projectM detected.
    — [projectM-pulseaudio] projectM-qt detected.
    — [projectM-pulseaudio] pulse audio detected.
    — [projectM-libvisual] projectM detected.
    — [projectM-libvisual] libvisual detected.
    — [NativePresets] projectM detected.
    — Configuring done
    — Generating done
    — Build files have been written to: /home/gman/src/projectm/projectM-Trunk/src
    [ 1%] Building CXX object libprojectM/Renderer/CMakeFiles/Renderer.dir/Renderer.o
    In file included from /usr/include/FTGL/ftgl.h:32,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
    In file included from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/ftgl.h:33:10: error: #include expects “FILENAME” or
    /usr/include/FTGL/ftgl.h:34:10: error: #include expects “FILENAME” or
    /usr/include/FTGL/ftgl.h:35:10: error: #include expects “FILENAME” or
    In file included from /usr/include/FTGL/ftgl.h:110,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTPoint.h:75: error: expected ‘,’ or ‘…’ before ‘&’ token
    /usr/include/FTGL/FTPoint.h: In constructor ‘FTPoint::FTPoint(int)’:
    /usr/include/FTGL/FTPoint.h:77: error: ‘ft_vector’ was not declared in this scope
    In file included from /usr/include/FTGL/ftgl.h:111,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTBBox.h: At global scope:
    /usr/include/FTGL/FTBBox.h:75: error: expected `)’ before ‘glyph’
    In file included from /usr/include/FTGL/ftgl.h:114,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGlyph.h:58: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTGlyph.h:112: error: ‘FT_Error’ does not name a type
    /usr/include/FTGL/FTGlyph.h:196: error: ‘FT_Error’ does not name a type
    In file included from /usr/include/FTGL/ftgl.h:115,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTBitmapGlyph.h:50: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTBitmapGlyph.h:77: error: ‘FT_GlyphSlot’ was not declared in this scope
    In file included from /usr/include/FTGL/ftgl.h:116,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTBufferGlyph.h:49: error: expected `)’ before ‘glyph’
    In file included from /usr/include/FTGL/ftgl.h:117,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTExtrdGlyph.h:59: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTExtrdGlyph.h:97: error: ‘FT_GlyphSlot’ was not declared in this scope
    /usr/include/FTGL/FTExtrdGlyph.h:97: error: expected primary-expression before ‘float’
    /usr/include/FTGL/FTExtrdGlyph.h:98: error: expected primary-expression before ‘float’
    /usr/include/FTGL/FTExtrdGlyph.h:98: error: expected primary-expression before ‘float’
    /usr/include/FTGL/FTExtrdGlyph.h:99: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTExtrdGlyph.h:99: error: initializer expression list treated as compound expression
    In file included from /usr/include/FTGL/ftgl.h:118,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTOutlineGlyph.h:56: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTOutlineGlyph.h:88: error: ‘FT_GlyphSlot’ was not declared in this scope
    /usr/include/FTGL/FTOutlineGlyph.h:88: error: expected primary-expression before ‘float’
    /usr/include/FTGL/FTOutlineGlyph.h:89: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTOutlineGlyph.h:89: error: initializer expression list treated as compound expression
    In file included from /usr/include/FTGL/ftgl.h:119,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTPixmapGlyph.h:50: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTPixmapGlyph.h:77: error: ‘FT_GlyphSlot’ was not declared in this scope
    In file included from /usr/include/FTGL/ftgl.h:120,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTPolyGlyph.h:57: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTPolyGlyph.h:92: error: ‘FT_GlyphSlot’ was not declared in this scope
    /usr/include/FTGL/FTPolyGlyph.h:92: error: expected primary-expression before ‘float’
    /usr/include/FTGL/FTPolyGlyph.h:93: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTPolyGlyph.h:93: error: initializer expression list treated as compound expression
    In file included from /usr/include/FTGL/ftgl.h:121,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTTextureGlyph.h:59: error: expected `)’ before ‘glyph’
    /usr/include/FTGL/FTTextureGlyph.h:92: error: ‘FT_GlyphSlot’ was not declared in this scope
    /usr/include/FTGL/FTTextureGlyph.h:92: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTTextureGlyph.h:93: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTTextureGlyph.h:93: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTTextureGlyph.h:94: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTTextureGlyph.h:94: error: expected primary-expression before ‘int’
    /usr/include/FTGL/FTTextureGlyph.h:94: error: initializer expression list treated as compound expression
    In file included from /usr/include/FTGL/ftgl.h:123,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTFont.h:128: error: ‘FT_Int’ has not been declared
    /usr/include/FTGL/FTFont.h:137: error: ‘FT_Encoding’ has not been declared
    /usr/include/FTGL/FTFont.h:151: error: ‘FT_Encoding’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTFont.h:151: error: expected ‘;’ before ‘*’ token
    /usr/include/FTGL/FTFont.h:363: error: ‘FT_Error’ does not name a type
    /usr/include/FTGL/FTFont.h:378: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTFont.h:378: error: expected ‘;’ before ‘(’ token
    /usr/include/FTGL/FTFont.h:411: error: expected ‘,’ or ‘…’ before ‘(’ token
    /usr/include/FTGL/FTFont.h:451: error: ‘FT_Encoding’ has not been declared
    /usr/include/FTGL/FTFont.h:467: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/FTGL/FTFont.h:579: error: ‘FT_Error’ does not name a type
    In file included from /usr/include/FTGL/ftgl.h:124,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGLBitmapFont.h:81: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTGLBitmapFont.h:81: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:125,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTBufferFont.h:79: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTBufferFont.h:79: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:126,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGLExtrdFont.h:82: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTGLExtrdFont.h:82: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:127,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGLOutlineFont.h:81: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTGLOutlineFont.h:81: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:128,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGLPixmapFont.h:81: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTGLPixmapFont.h:81: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:129,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGLPolygonFont.h:81: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTGLPolygonFont.h:81: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:130,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTGLTextureFont.h:81: error: ‘MakeGlyph’ declared as a ‘virtual’ field
    /usr/include/FTGL/FTGLTextureFont.h:81: error: expected ‘;’ before ‘(’ token
    In file included from /usr/include/FTGL/ftgl.h:132,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.hpp:27,
    from /home/gman/src/projectm/projectM-Trunk/src/libprojectM/Renderer/Renderer.cpp:1:
    /usr/include/FTGL/FTLayout.h:134: error: ‘FT_Error’ does not name a type
    /usr/include/FTGL/FTLayout.h:187: error: ‘FT_Error’ does not name a type
    make[2]: *** [libprojectM/Renderer/CMakeFiles/Renderer.dir/Renderer.o] Error 1
    make[1]: *** [libprojectM/Renderer/CMakeFiles/Renderer.dir/all] Error 2
    make: *** [all] Error 2

  22. Elder-Geek says:

    @gman

    When running ccmake . , USE_FTGL should be set to OFF.

  23. dagodemon42 says:

    The directions will work if the ccmake command is followed by -Wno-dev then the .(dot) this info came from ubuntuforums hope it helps!

  24. surement says:

    I am getting this error with ccmake .

    CMake Error at projectM-pulseaudio/CMakeLists.txt:55 (MESSAGE):
    ERROR: Pulse Audio is NOT found. Please install pulse audio 0.9.8 or
    greater from http://www.pulseaudio.org.

    I am on Ubuntu 9.10 and I followed all the steps (including sudo apt-get install libpulse-dev)

    Can anyone help me with this? I’m quite new to linux.

  25. Mark Shasby says:

    Thanks for this – it was very helpful

  26. Nescius says:

    CMake Error at projectM-pulseaudio/CMakeLists.txt:46 (MESSAGE):
    ERROR: Pulse Audio is NOT found. Please install pulse audio 0.9.8 or
    greater from http://www.pulseaudio.org.

    is probably because 9.10 has pulseaudio 0.9.19 which could be slightly uncompatible with version cmake is looking for?
    anyway, I failed on the same step

  27. Nescius says:

    its here –>http://sourceforge.net/tracker/?func=detail&aid=2924292&group_id=104201&atid=637260
    the problem is solvable just by commenting out the pulseaudio dependency in the makescript (which, it seems, doesn’t blend with the current version)
    I am going to try it right now, wish me luck 🙂

  28. struktured says:

    Connection refused error indicates you do not have pusleaudio setup correctly. Working on a better error handling strategy for that one.

    I got projectm pulseaudiio working beautifully, but you have to install the pulse audio, glew, ftgl, and cg toolkit dev packages + god knows what else. Wish I wrote it all down. I think a package maintainer is working on such a list now fortunately. Remember to delete your CMakeCache.txt file before running cmake again and after installing new dev packages.

    Also if you guys are willing to use the svn trunk branch I got projectM 2.0 with CG and thus pixel shading working. Aiming for a release soon after the license files are all annotated (a requirement by ubuntu package maintainers).

  29. struktured says:

    A connection refused error indicates you do not have pusleaudio setup correctly. Working on a better error handling strategy for that one.

    I got projectm pulseaudiio working beautifully, but you have to install the pulse audio, glew, ftgl, and cg toolkit dev packages + god knows what else. Wish I wrote it all down. I think a package maintainer is working on such a list now fortunately. Remember to delete your CMakeCache.txt file before running cmake again and after installing new dev packages.

    Also if you guys are willing to use the svn trunk branch I got projectM 2.0 with CG and thus pixel shading working. Aiming for a release soon after the license files are all annotated (a requirement by ubuntu package maintainers).

  30. Mr Amazing says:

    I simply installed using sudo aptitude install libvisual-projectm

    It seems to have installed just fine but how do I start the program? “projectM-pulseaudio” returns “command not found”

Leave a Reply

  • Recent comments