Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9164265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:38:26+00:00 2026-06-17T14:38:26+00:00

Can someone please provide step by step instructions for getting cppunit working on OS

  • 0

Can someone please provide step by step instructions for getting cppunit working on OS X 10.8 Mountain Lion? This includes any downloads needed and any configuration of Netbeans.

Currently, when I add a cppunit test, there is a warning on the Add Test dialog that says “cppunit library is not detected. Test compilation might fail.” I’ve download both from Sourceforge and from svn cppunit and copied the files to /usr/local/include, but this does not make compilation errors go away.

What am I missing? The Google™ has been of no help with this issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:38:28+00:00Added an answer on June 17, 2026 at 2:38 pm

    I finally figured out what I was doing wrong, so I thought I would answer my own question and avoid a Wisdom of the Ancients.

    1. install Xcode.
    2. install Xcode Command Line Tools via the Preferences dialog (Apple’s documentation showing how to do this in Xcode 4)
    3. download CPPUnit from Sourceforge
    4. extract
    5. Run ./configure
    6. run make
    7. run sudo make install

    It’s possible that the first time I tried this I didn’t run the correct command for ./configurebut that’s a dubious claim given the fact that I was able to tab complete i.e. I shouldn’t have been able to run say ./config.

    But I think the real key to my problem was having to call sudo on the make install. I was getting a permission error because the script needs admin rights to put the libraries where they need to go. I could have swore I tried this at some point and it too failed.

    I had a coworker try this for me a month or so ago and he got it to work. I procrastinated retrying, but once I did, it worked like a charm. As far as I know, there’s no bug between OS X 10.8.1 and 10.8.2 or .3.

    Once I followed the steps I have listed above, I was able to go back to Netbeans and add a unit test without the dialog complaining. Furthermore, the test code compiled and ran.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm confused as to why this isn't working, can someone please provide some insight?
Can someone please provide links to any paper/reference that talks about disconnected components in
Can someone please provide code (any language will do, but I write the .Net
I can't make sense of any of the documentation. Can someone please provide an
I've been stuck for 2 days on this. Can someone please provide an example
Can someone please provide an example of how to store, and read xml data
Can someone please provide a simple example of how to consume a REST service
I'm new to this kabeja package so please can some one provide code example
Can someone please tell me what this means: 07-04 09:54:38.048: I/DetailActivity(15496): Title that is
Can someone please explain how Read/Show works.. I cannot find any tutorials on it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.