Results 1 to 2 of 2

Thread: Ubuntu gtest...

  1. #1
    Join Date
    Jul 2006
    Location
    Surrey, BC, Canada
    Beans
    214
    Distro
    Ubuntu

    Ubuntu gtest...

    Hi, all:

    Environment:
    OS: Ubuntu 12.04


    1) By grabbing libgtest-dev from the repository, it clearly says

    This package contains the header files needed to link programs against gtest.
    It seems that libgtest-dev only installs the header files, but no library files installed.


    2) Due to 1), it seems I've got to install gtest by myself.
    After successfully
    a) download
    b) mkdir build
    c) cd build
    d) ccmake ../
    e) make
    I failed at the final step
    f) sudo checkinstall
    with the following error messages

    Installing with make install...

    ========================= Installation results ===========================
    make: *** No rule to make target `install'. Stop.

    **** Installation failed. Aborting package creation.

    Cleaning up...OK

    Bye.

    Did anybody meet the same issue? And if so, how did u solve this problem?


    Best Regards
    Pei
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Nov 2008
    Beans
    4

    Re: Ubuntu gtest...

    Hi,
    have you seen Erik Smistad's excellent tutorial on how to get started w/ gtest in Ubuntu? It's available at http://www.thebigblob.com/getting-st...est-on-ubuntu/ and will likely solve your problem.
    Regards, g

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •