Boost logo

Boost Users :

Subject: [Boost-users] how to build a release version of my application from source control using boost libs?
From: Anil (goodnewsforyou_at_[hidden])
Date: 2012-11-16 12:22:12


Trying to build a release version from source code put into Clearcase source control. Boost is installed on my computer hard disk. what libraries should I copy to the repository? I tried copying libboost_regex-vc90-mt-gd-1_51.lib but it still gave an error. 1>------ Build started: Project: MyApplication, Configuration: Release Win32 ------ 1>Compiling... 1>MyApplication.cpp 1>.\MyApplication.cpp(40) : warning C4627: '#include <boost/property_tree/ptree.hpp>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(41) : warning C4627: '#include <boost/property_tree/xml_parser.hpp>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(42) : warning C4627: '#include <boost/foreach.hpp>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(43) : warning C4627: '#include <boost/lexical_cast.hpp>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(44) : warning C4627: '#include <string>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(45) : warning C4627: '#include <set>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(46) : warning C4627: '#include <exception>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(47) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(48) : warning C4627: '#include <fstream>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(49) : warning C4627: '#include "MyApplication.h"': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(50) : warning C4627: '#include <boost/filesystem.hpp>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(51) : warning C4627: '#include <boost/regex.hpp>': skipped when looking for precompiled header use 1>        Add directive to 'stdafx.h' or rebuild precompiled header 1>.\MyApplication.cpp(875) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? 1>Build log was saved at "file://a:\MyApplication\Release\BuildLog.htm" 1>MyApplication - 1 error(s), 12 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== how to build a release version of my application from source control using boost libs?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net