rdmenezes / cpp-library-project-template Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/cpp-library-project-template
License: Other
Automatically exported from code.google.com/p/cpp-library-project-template
License: Other
Homepage and README file shows UnitTest++ and Log4Cxx libraries but if I'm not
mistaken the template is using google-test/google-mock and google-log
libraries. This is probably a mix up from the 'C++ Application Project
Template'.
Also it looks like test libraries are already included in thirdparty folder as
submodules (or whatever it's called in svn) although google-log is not there. I
think it would be nice to have also google-log library there by default to
minimize dependencies.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2014 at 9:52
What steps will reproduce the problem?
1. On a Mac, with no tools other than the Xcode 4 distribution stuff,
2. Download the C++ library project template
3. Run "make", and satisfy all the (too many) dependencies by running
4. "sudo port install XXX" whenever a dependency fails.
5. Eventually, when no more dependencies remain, run "make" again to build the
project.
I expected a successful build (with no source code of mine, there is only your
template stuff to compile).
Instead, I got this:
{{{
~/Sources/close/compiler$ ./configure
-- includedir: /opt/local/include
-- librarydir: /opt/local/lib
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/austin/Sources/close/compiler/build
~/Sources/close/compiler$ make
"/Applications/CMake 2.8-5.app/Contents/bin/cmake"
-H/Users/austin/Sources/close/compiler
-B/Users/austin/Sources/close/compiler/build --check-build-system
CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-5.app/Contents/bin/cmake" -E cmake_progress_start
/Users/austin/Sources/close/compiler/build/CMakeFiles
/Users/austin/Sources/close/compiler/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f source/CMakeFiles/sharedlib.dir/build.make
source/CMakeFiles/sharedlib.dir/depend
cd /Users/austin/Sources/close/compiler/build && "/Applications/CMake
2.8-5.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles"
/Users/austin/Sources/close/compiler
/Users/austin/Sources/close/compiler/source
/Users/austin/Sources/close/compiler/build
/Users/austin/Sources/close/compiler/build/source
/Users/austin/Sources/close/compiler/build/source/CMakeFiles/sharedlib.dir/Depen
dInfo.cmake --color=
make -f source/CMakeFiles/sharedlib.dir/build.make
source/CMakeFiles/sharedlib.dir/build
"/Applications/CMake 2.8-5.app/Contents/bin/cmake" -E cmake_progress_report
/Users/austin/Sources/close/compiler/build/CMakeFiles 9
[ 14%] Building CXX object source/CMakeFiles/sharedlib.dir/version.cpp.o
cd /Users/austin/Sources/close/compiler/build/source && /usr/bin/c++
-Dsharedlib_EXPORTS -fPIC -I/Users/austin/Sources/close/compiler/include
-I/opt/local/include -o CMakeFiles/sharedlib.dir/version.cpp.o -c
/Users/austin/Sources/close/compiler/source/version.cpp
/Users/austin/Sources/close/compiler/source/version.cpp: In function ‘int
projectname_version_major()’:
/Users/austin/Sources/close/compiler/source/version.cpp:6: error:
‘APPLICATION_VERSION_MAJOR’ was not declared in this scope
make[3]: *** [source/CMakeFiles/sharedlib.dir/version.cpp.o] Error 1
make[2]: *** [source/CMakeFiles/sharedlib.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
}}}
Original issue reported on code.google.com by [email protected]
on 21 Jul 2011 at 10:52
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.