From: Damian <df...@um...> - 2012-08-25 01:46:45
|
Thanks. I pasted your code into ext-boost.jam and here is the output from running quickbuild.sh: search-path: /home/dfermin/workspace/pwiz_3/pwiz_root/libraries/boost-build THIS_PATH: /home/dfermin/workspace/pwiz_3/pwiz_root/libraries Damian On 08/24/2012 05:02 PM, Matthew Chambers wrote: > I think this should work: > > local boost_build_path = [ modules.peek : search-path ] ; > echo "search-path: " $(boost_build_path) ; > boost_build_path = $(boost_build_path[1]) ; > path-constant THIS_PATH : [ path.join $(boost_build_path) .. ] ; > echo "THIS_PATH: " $(THIS_PATH) ; > > > On 8/24/2012 1:11 PM, Damian wrote: >> Hi Matt, >> Thanks for the quick reply. >> >> So how and where do I put the echo statement? >> Inside the ext-boost.jam file? >> >> Also how do I return what [ modules.peek : search-path ] is set to? >> >> Sorry for the questions but you overestimate my abilities with bjam :) >> >> BTW: I don't have any other bjam installed on my box. I've verified >> that much. >> So the only bjam I'm using is the one included with pwiz. >> >> >> Thanks, >> Damian >> >> On 08/24/2012 11:33 AM, Matthew Chambers wrote: >>> Hi Damian, >>> >>> It basically means that this block in ext-boost.jam isn't working as intended: >>> >>> local boost_build_path = [ modules.peek : search-path ] ; >>> boost_build_path = $(boost_build_path[1]) ; >>> path-constant THIS_PATH : [ path.join $(boost_build_path) .. ] ; >>> >>> This is supposed to set THIS_PATH to the location of the ext-boost.jam file. You can add an "echo >>> $(THIS_PATH) ;" statement to figure out what it's really being set to. Also let me know what the >>> return of [ modules.peek : search-path ] is. >>> >>> Another possibility is that you aren't using the boost-build that pwiz provides. That would cause >>> the search-path to be different. Pwiz requires that customized boost-build for several reasons >>> though, not just determining the path to ext-boost.jam. :) >>> >>> Thanks, >>> -Matt >>> >>> >>> On 8/23/2012 8:20 PM, Damian wrote: >>>> Hi guys >>>> >>>> I'm sorry for spamming but I'm not sure this made it to the support list. >>>> Just to be safe I'm sending it again. >>>> >>>> >>>> >>>> I'm trying to compile my C++ project with the latest and greatest >>>> version of proteowizard. >>>> >>>> I'm having this error message when compiling: >>>> error: Unable to find file or target named >>>> error: >>>> '/home/dfermin/workspace/pwiz_3/pwiz_root/ext/boost/pwiz_root/libraries/tss_workaround.cpp' >>>> error: referred from project at >>>> error: '/home/dfermin/workspace/pwiz_3/pwiz_root/ext/boost' >>>> >>>> >>>> >>>> Here is my Jamroot.jam file for this project in case I've messed this up: >>>> >>>> exe reader.exe >>>> : ## source files >>>> [ glob ./src/*.cpp ] >>>> : ## requirements >>>> <library>./pwiz_root/pwiz/data/msdata//pwiz_data_msdata >>>> <library>./pwiz_root/utility/misc//utility_misc >>>> : ## options >>>> <warnings>all >>>> <threading>multi >>>> <toolset>gcc >>>> <link>static >>>> <optimization>speed >>>> ; >>>> >>>> >>>> >>>> In case it matters I'm trying to create a variant of the >>>> pwiz_example.cpp file for linux. >>>> The goal is for the user to provide a text-based spectrum file (mzXML, >>>> mzML, etct...) and a scan number. >>>> The program 'reader.exe' will then spit out the m/z and intensities for >>>> the given scan number. >>>> >>>> I've included the following headers in my program: >>>> #include "pwiz_tools/common/FullReaderList.hpp" >>>> #include "pwiz/data/msdata/MSDataFile.hpp" >>>> #include "pwiz/utility/misc/Std.hpp" >>>> #include "pwiz/utility/misc/Filesystem.hpp" >>>> >>>> >>>> Any idea what I'm doing wrong with bjam? >>>> >>>> Thanks in advance for any and all help. > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > proteowizard-support mailing list > pro...@li... > https://lists.sourceforge.net/lists/listinfo/proteowizard-support > > |