Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build in windows erro #69

Open
woshisuchao opened this issue Jan 22, 2018 · 2 comments · Fixed by #134
Open

build in windows erro #69

woshisuchao opened this issue Jan 22, 2018 · 2 comments · Fixed by #134

Comments

@woshisuchao
Copy link

image
how can i solve it...

@Ghostkeeper
Copy link
Contributor

Did you change the way in which it is linking? I see some mismatches of MT and MD. Maybe try a clean and complete rebuild.

@edisonsfang
Copy link

I have solve the problem as follow:

cmake -G "NMake Makefiles" ^
More? -DCMAKE_BUILD_TYPE=Release ^
More? -DCMAKE_INSTALL_PREFIX=../../../../install ^
More? -DCMAKE_CXX_FLAGS_RELEASE=/MT ^
More? ../..
-- The C compiler identification is MSVC 19.13.26129.0
-- The CXX compiler identification is MSVC 19.13.26129.0
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Protobuf: D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/lib/x64/libprotobuf.lib (found suitable version "3.6.1", minimum required is "3.0.0")
-- Found PythonInterp: D:/Users/JockJo/AppData/Local/Programs/Python/Python36/python.exe (found suitable version "3.6.5", minimum required is "3.4.0")
-- Found PythonLibs: D:/Users/JockJo/AppData/Local/Programs/Python/Python36/libs/python36.lib (found suitable version "3.6.5", minimum required is "3.4.0")
-- Found Sip: D:/Users/JockJo/AppData/Local/Programs/Python/Python36/sip.exe (found version "4.19.2")
-- Configuring done
-- Generating done
-- Build files have been written to: D:/documents/libArcus/build/release

@jellespijker jellespijker linked a pull request Apr 12, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants