Comments (10)
Thanks for filing the issue. IIRC using pkgconfig to lookup unittest++ didn't work out so well for me, so is there a particular way you would like to have the include set? Eg: would you want to set an environment variable which overrides the unittest include?
from honest-profiler.
I have little knowledge of Makefiles and pkgconfig, but a environment variable override sounds fine.
from honest-profiler.
Same issue on Mac, I hacked the CMakeLists.txt to use my own unittest++
See #1 for more details
from honest-profiler.
@rombert can you confirm that the move to cmake
has fixed this issue on your distro?
@Pyrolistical what changes did you make to CMakeLists.txt in order to get things to work on a mac?
#1 links to a method for pulling down external source dependencies and building them using cmake - though I've never done this before. This seems like a more general solution.
from honest-profiler.
@RichardWarburton I've added my hack to CMakeLists.txt
in #1
from honest-profiler.
@RichardWarburton - for some reason this still does not work.
$ cmake CMakeLists.txt
-- checking for module 'unittest++'
-- package 'unittest++' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:341 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:395 (_pkg_check_modules_internal)
CMakeLists.txt:33 (pkg_check_modules)
-- using GCC
-- Configuring incomplete, errors occurred!
Is there any way I can help debug this? For the record, the headers live in /usr/include/unittest-cpp and the .a file is in /usr/lib64 .
from honest-profiler.
@rombert have you tried deleting CMakeCache.txt
and re-running cmake CMakeLists.txt
?
from honest-profiler.
@RichardWarburton - thanks, but that still did not help.
from honest-profiler.
@rombert I've added parameters for this for you. For example on ubuntu you would write the following to manually set UnitTest++:
UNITTEST_INCLUDE_DIRS="/usr/include/unittest++/" UNITTEST_LIBRARIES="UnitTest++" cmake CMakeLists.txt
If nothing appears to be different, try cleaning the cache - rm -rf CMakeCache.txt CMakeFiles/
from honest-profiler.
UNITTEST_INCLUDE_DIRS="/usr/include/unittest-cpp" UNITTEST_LIBRARIES="UnitTest++" cmake CMakeLists.txt
worked for me, thank you!
from honest-profiler.
Related Issues (20)
- liblagent.so is not being created on macOS HOT 2
- Correlating honest profile event thread id's with java thread id
- Build failed on OSX HOT 6
- StringIndexOutOfBoundsException when attaching to liberty profile HOT 1
- also with openjdk: StringIndexOutOfBoundsException when attaching to liberty profile HOT 1
- cannot parse log
- Details of Linux itimer implementation and SIGPROF delivery may cause very skewed profiles
- Support java 11 HOT 1
- Make flame graphs vertically scrollable
- Scheduling profiler interval failed with error 22 HOT 1
- Remote control does not work
- Where does the output of logError() go?
- Integration with Tomcat HOT 1
- option format for agent
- conflicting declaration of '__pid_t gettid()' with 'C' linkage HOT 1
- No worky
- What are restrictions in async callback? HOT 1
- Honest profiler in maven repo HOT 1
- http://insightfullogic.com/honest-profiler.zip is broken
- does not work with java 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honest-profiler.