https://bugs.kde.org/show_bug.cgi?id=362046

            Bug ID: 362046
           Summary: Boost fails to compile
           Product: krita
           Version: git master
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: robbie.bykow...@gmail.com

Following the guide, https://github.com/KDE/krita/tree/master/3rdparty

when I get to the point of compling boost it fails with:

>>> begin log
CUSTOMBUILD : error : msvc initialization: parameter 'version' inconsistent
[C:\krita\externals\build\ext_boost\ext_boost.vcxproj]
CUSTOMBUILD : error : no value was specified in earlier initialization
[C:krita\externals\build\ext_boost\ext_boost.vcxproj]
CUSTOMBUILD : error : an explicit value is specified now
[C:\krita\externals\build\ext_boost\ext_boost.vcxproj]

Done Building Project "C:\krita\externals\build\ext_boost\ext_boost.vcxproj"
(default targets) -- FAILED.

Build FAILED.
<<< end log

I did a bit of searching and came across this stackoverflow
http://stackoverflow.com/questions/34293380/specifying-toolset-version-when-building-boost-1-55-with-msvc-2015

I found that the CMakeList.txt had be changed recently including what the
stackoverflow says is the problem. I reverted commit
c0147862c13df225dbc5fe4d65caff99d157a262 "Remove the need to rename boost dll
and lib " and boost succesfully compiled. It appears the toolset variable does
not support specific versioning and requires editing the project-config.jam
instead, so I'm assuming that ext_boost will need to be patched first by cmake
perhaps to force it to use version 14.0

>>> begin from stackoverflow
The previously specified version is in project-config.jam:

using msvc ; 

Change it to:

using msvc : 14.0 ;
<<< end from stackoverflow

Reproducible: Always

Steps to Reproduce:
1. Compile ext_boost : cmake --build . --config RelWithDebInfo --target
ext_boost

Actual Results:  
CUSTOMBUILD : error : msvc initialization: parameter 'version' inconsistent
[C:\krita\externals\build\ext_boost\ext_boost.vcxproj]
CUSTOMBUILD : error : no value was specified in earlier initialization
[C:\krita\externals\build\ext_boost\ext_boost.vcxproj]
CUSTOMBUILD : error : an explicit value is specified now
[C:\krita\externals\build\ext_boost\ext_boost.vcxproj]

Done Building Project "C:\krita\externals\build\ext_boost\ext_boost.vcxproj"
(default targets) -- FAILED.

Build FAILED.

Expected Results:  
Build succeeded.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to