On 7 April 2014 13:15, Andrew Grafham <[email protected]> wrote:
>
> Has something changed about how Boost is picked up in the hotfix branch?
> I'm using the same CMake options which work find in the main branch,

What you mean as main branch, the master?

There should be no changes in CMake/Boost configuration, so no difference
in this regard between hotfix/3.2.3 and master branch (hotfix branch
was created from master).

However, the develop branch might be have changed there indeed.


> but I'm getting this build error with MingW in the hotfix branch:-
>
> [ 65%] Building CXX object
> backends/odbc/CMakeFiles/soci_odbc.dir/session.cpp.ob
> j
> cd /C/soci/breakfix/soci/src/backends/odbc && /c/MinGW/bin/g++.exe
> -DDBUG_OFF
> -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_ODBC=1
> -DSOCI_ABI_VERSION=\"3_2\"
>  -DSOCI_DLL -fPIC -pedantic -ansi -Wall -Wpointer-arith -Wcast-align
> -Wcast-qual
>  -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -g
> @CMakeFiles/soci_o
> dbc.dir/includes_CXX.rsp   -o CMakeFiles/soci_odbc.dir/session.cpp.obj -c
> /C/soci/breakfix/soci/src/backends/odbc/session.cpp


Looks like Boost include directory is not passed to compiler.

Does master branch build for you?
What version of CMake are you using?
Have you updated CMake between previously working build and the one
that is failing?
Is this clean build, w/o dangling CMakeCache.txt and such files from
previous builds?

Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to