SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

How to compile on windows step by step. (by mmiscool)
Hello,

I must say that this project is amazing and that i really wish to start playing wit the code a bit.

Unfortunately I don't really know how to set up the build environment. Most of my previous development has been for the embedded word of micro controllers so I really don't know exactly where to start.

What would be really useful to me is a listing of the various tools and versions required to get a build environment up and going.

Any one who has some experience doing this who might be able to provide guidance would be extremely helpful.
Sat Aug 6 2016, 18:25:02
I have windows 1o installed (by mmiscool)
Just to note. I have windows 10 installed.
Sat Aug 6 2016, 21:22:27
(no subject) (by whitequark)
There is a guide to compiling on Windows in the README: https://github.com/solvespace/solvespace#building-on-windows. It should be sufficient.
Sun Aug 7 2016, 13:21:05
(no subject) (by mmiscool)
Unfortunately i have been trying for hours with both visual studio 2015 and mingw.

What versions of all the tools should I have?
Sun Aug 7 2016, 13:41:33
(no subject) (by whitequark)
VS2015 should work, as should any recent MinGW. What is your problem exactly? Please post the error messages you get from the tools or otherwise describe your issue.
Sun Aug 7 2016, 13:43:25
(no subject) (by mmiscool)
Not a problem. I started from scratch again. I had uninstalled visual studio 2015 and was in the process of installing visual studio express 2013. Gona be a couple of minuets before I can try again. Will post the cmd line output.
Sun Aug 7 2016, 14:01:16
(no subject) (by mmiscool)
here is the output from my command prompt


C:\Users\Me\Documents\GitHub\solvespace>cd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\"

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>C:\Windows\system32\cmd.exe /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"" x86

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>C:\Users\Me\Documents\GitHub\solvespace\build.bat

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>cd C:\Users\Me\Documents\GitHub\solvespace

C:\Users\Me\Documents\GitHub\solvespace>rmdir build /s
build, Are you sure (Y/N)? y

C:\Users\Me\Documents\GitHub\solvespace>git submodule update --init

C:\Users\Me\Documents\GitHub\solvespace>mkdir build

C:\Users\Me\Documents\GitHub\solvespace>cd build

C:\Users\Me\Documents\GitHub\solvespace\build>cmake .. -G "NMake Makefiles" -DENABLE_TESTS=OFF
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: opengl32
-- Using in-tree libdxfrw
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
-- Using in-tree freetype
-- Creating directory C:/Users/Me/Documents/GitHub/solvespace/build/extlib/freetype/include/freetype/config
-- Creating file C:/Users/Me/Documents/GitHub/solvespace/build/extlib/freetype/include/freetype/config/ftconfig.h
-- Creating file C:/Users/Me/Documents/GitHub/solvespace/build/extlib/freetype/include/freetype/config/ftoption.h
-- Found Freetype: freetype
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Using in-tree zlib
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Found ZLIB: zlibstatic (found version "1.2.8")
-- Found ZLIB: zlibstatic
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Using in-tree libpng
-- Found PNG: png16_static (found version "1.6.20")
-- Using prebuilt SpaceWare
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Me/Documents/GitHub/solvespace/build

C:\Users\Me\Documents\GitHub\solvespace\build>nmake

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.

Scanning dependencies of target dxfrw
[ 1%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/drw_dbg.cpp.obj
drw_dbg.cpp
[ 1%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/drw_textcodec.cpp.obj
drw_textcodec.cpp
[ 2%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgbuffer.cpp.obj
dwgbuffer.cpp
[ 2%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgreader15.cpp.obj
dwgreader15.cpp
[ 3%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgreader18.cpp.obj
dwgreader18.cpp
[ 3%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgreader21.cpp.obj
dwgreader21.cpp
[ 5%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgreader24.cpp.obj
dwgreader24.cpp
[ 5%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgreader27.cpp.obj
dwgreader27.cpp
[ 6%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgreader.cpp.obj
dwgreader.cpp
[ 6%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dwgutil.cpp.obj
dwgutil.cpp
[ 7%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dxfreader.cpp.obj
dxfreader.cpp
[ 7%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/dxfwriter.cpp.obj
dxfwriter.cpp
[ 9%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/intern/rscodec.cpp.obj
rscodec.cpp
[ 9%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/drw_header.cpp.obj
drw_header.cpp
[ 10%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/drw_classes.cpp.obj
drw_classes.cpp
[ 10%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/drw_entities.cpp.obj
drw_entities.cpp
[ 11%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/drw_objects.cpp.obj
drw_objects.cpp
[ 11%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/libdxfrw.cpp.obj
libdxfrw.cpp
[ 13%] Building CXX object extlib/libdxfrw/CMakeFiles/dxfrw.dir/libdwgr.cpp.obj
libdwgr.cpp
[ 13%] Linking CXX static library dxfrw.lib
[ 13%] Built target dxfrw
Scanning dependencies of target zlibstatic
[ 13%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/adler32.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
adler32.c
[ 14%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/compress.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
compress.c
[ 14%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/crc32.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
crc32.c
[ 15%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/deflate.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
deflate.c
[ 15%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/gzclose.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
gzclose.c
[ 17%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/gzlib.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
gzlib.c
[ 17%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/gzread.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
gzread.c
[ 18%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/gzwrite.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
gzwrite.c
[ 18%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/inflate.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
inflate.c
[ 19%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/infback.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
infback.c
[ 19%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/inftrees.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
inftrees.c
[ 21%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/inffast.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
inffast.c
[ 21%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/trees.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
trees.c
[ 22%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/uncompr.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
uncompr.c
[ 22%] Building C object extlib/zlib/CMakeFiles/zlibstatic.dir/zutil.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
zutil.c
[ 23%] Linking C static library zlibstaticd.lib
[ 23%] Built target zlibstatic
Scanning dependencies of target freetype
[ 23%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/autofit/autofit.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
autofit.c
[ 25%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftbase.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftbase.c
[ 25%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftbbox.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftbbox.c
[ 26%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftbdf.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftbdf.c
[ 26%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftbitmap.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftbitmap.c
[ 27%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftcid.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftcid.c
[ 27%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftfntfmt.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftfntfmt.c
[ 28%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftfstype.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftfstype.c
[ 28%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftgasp.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftgasp.c
[ 30%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftglyph.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftglyph.c
[ 30%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftgxval.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftgxval.c
[ 31%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftinit.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftinit.c
[ 31%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftlcdfil.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftlcdfil.c
[ 32%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftmm.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftmm.c
[ 32%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftotval.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftotval.c
[ 34%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftpatent.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftpatent.c
[ 34%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftpfr.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftpfr.c
[ 35%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftstroke.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftstroke.c
[ 35%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftsynth.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftsynth.c
[ 36%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftsystem.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftsystem.c
[ 36%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/fttype1.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
fttype1.c
[ 38%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/base/ftwinfnt.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftwinfnt.c
[ 38%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/bdf/bdf.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
bdf.c
[ 38%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/bzip2/ftbzip2.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftbzip2.c
[ 39%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/cache/ftcache.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftcache.c
[ 39%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/cff/cff.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
cff.c
[ 40%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/cid/type1cid.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
type1cid.c
[ 40%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/gzip/ftgzip.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftgzip.c
[ 42%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/lzw/ftlzw.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftlzw.c
[ 42%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/pcf/pcf.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pcf.c
[ 43%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/pfr/pfr.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pfr.c
[ 43%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/psaux/psaux.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
psaux.c
[ 44%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/pshinter/pshinter.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pshinter.c
[ 44%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/psnames/psnames.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
psnames.c
[ 46%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/raster/raster.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
raster.c
[ 46%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/sfnt/sfnt.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
sfnt.c
[ 47%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/smooth/smooth.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
smooth.c
[ 47%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/truetype/truetype.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
truetype.c
[ 48%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/type1/type1.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
type1.c
[ 48%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/type42/type42.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
type42.c
[ 50%] Building C object extlib/freetype/CMakeFiles/freetype.dir/src/winfonts/winfnt.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
winfnt.c
[ 50%] Building C object extlib/freetype/CMakeFiles/freetype.dir/builds/windows/ftdebug.c.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
ftdebug.c
[ 51%] Linking C static library freetyped.lib
[ 51%] Built target freetype
Scanning dependencies of target resources
[ 51%] Built target resources
Scanning dependencies of target png16_static
[ 52%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/png.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
png.c
[ 52%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngerror.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngerror.c
[ 53%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngget.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngget.c
[ 53%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngmem.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngmem.c
[ 55%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngpread.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngpread.c
[ 55%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngread.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngread.c
[ 56%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngrio.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngrio.c
[ 56%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngrtran.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngrtran.c
[ 56%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngrutil.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngrutil.c
[ 57%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngset.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngset.c
[ 57%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngtrans.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngtrans.c
[ 59%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngwio.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngwio.c
[ 59%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngwrite.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngwrite.c
[ 60%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngwtran.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngwtran.c
[ 60%] Building C object extlib/libpng/CMakeFiles/png16_static.dir/pngwutil.obj
cl : Command line warning D9025 : overriding '/W3' with '/W0'
pngwutil.c
[ 61%] Linking C static library libpng16_staticd.lib
[ 61%] Built target png16_static
Scanning dependencies of target solvespace_cad
[ 63%] Building CXX object src/CMakeFiles/solvespace_cad.dir/platform/w32util.cpp.obj
w32util.cpp
[ 63%] Building CXX object src/CMakeFiles/solvespace_cad.dir/bsp.cpp.obj
bsp.cpp
[ 64%] Building CXX object src/CMakeFiles/solvespace_cad.dir/clipboard.cpp.obj
clipboard.cpp
[ 64%] Building CXX object src/CMakeFiles/solvespace_cad.dir/constraint.cpp.obj
constraint.cpp
[ 65%] Building CXX object src/CMakeFiles/solvespace_cad.dir/constrainteq.cpp.obj
constrainteq.cpp
[ 65%] Building CXX object src/CMakeFiles/solvespace_cad.dir/describescreen.cpp.obj
describescreen.cpp
[ 67%] Building CXX object src/CMakeFiles/solvespace_cad.dir/drawconstraint.cpp.obj
drawconstraint.cpp
[ 67%] Building CXX object src/CMakeFiles/solvespace_cad.dir/drawentity.cpp.obj
drawentity.cpp
[ 68%] Building CXX object src/CMakeFiles/solvespace_cad.dir/entity.cpp.obj
entity.cpp
[ 68%] Building CXX object src/CMakeFiles/solvespace_cad.dir/exportstep.cpp.obj
exportstep.cpp
[ 69%] Building CXX object src/CMakeFiles/solvespace_cad.dir/exportvector.cpp.obj
exportvector.cpp
c:\users\me\documents\github\solvespace\src\exportvector.cpp(752) : warning C4715: 'SolveSpace::DxfFileWriter::lineTypeName' : not all control paths return a value
[ 69%] Building CXX object src/CMakeFiles/solvespace_cad.dir/expr.cpp.obj
expr.cpp
[ 71%] Building CXX object src/CMakeFiles/solvespace_cad.dir/file.cpp.obj
file.cpp
[ 71%] Building CXX object src/CMakeFiles/solvespace_cad.dir/generate.cpp.obj
generate.cpp
[ 71%] Building CXX object src/CMakeFiles/solvespace_cad.dir/graphicswin.cpp.obj
graphicswin.cpp
[ 72%] Building CXX object src/CMakeFiles/solvespace_cad.dir/group.cpp.obj
group.cpp
[ 72%] Building CXX object src/CMakeFiles/solvespace_cad.dir/groupmesh.cpp.obj
groupmesh.cpp
[ 73%] Building CXX object src/CMakeFiles/solvespace_cad.dir/importdxf.cpp.obj
importdxf.cpp
[ 73%] Building CXX object src/CMakeFiles/solvespace_cad.dir/mesh.cpp.obj
mesh.cpp
[ 75%] Building CXX object src/CMakeFiles/solvespace_cad.dir/modify.cpp.obj
modify.cpp
[ 75%] Building CXX object src/CMakeFiles/solvespace_cad.dir/mouse.cpp.obj
mouse.cpp
[ 76%] Building CXX object src/CMakeFiles/solvespace_cad.dir/polygon.cpp.obj
polygon.cpp
[ 76%] Building CXX object src/CMakeFiles/solvespace_cad.dir/resource.cpp.obj
resource.cpp
[ 77%] Building CXX object src/CMakeFiles/solvespace_cad.dir/request.cpp.obj
request.cpp
[ 77%] Building CXX object src/CMakeFiles/solvespace_cad.dir/style.cpp.obj
style.cpp
[ 78%] Building CXX object src/CMakeFiles/solvespace_cad.dir/system.cpp.obj
system.cpp
[ 78%] Building CXX object src/CMakeFiles/solvespace_cad.dir/textscreens.cpp.obj
textscreens.cpp
[ 80%] Building CXX object src/CMakeFiles/solvespace_cad.dir/toolbar.cpp.obj
toolbar.cpp
[ 80%] Building CXX object src/CMakeFiles/solvespace_cad.dir/ttf.cpp.obj
ttf.cpp
[ 81%] Building CXX object src/CMakeFiles/solvespace_cad.dir/undoredo.cpp.obj
undoredo.cpp
[ 81%] Building CXX object src/CMakeFiles/solvespace_cad.dir/util.cpp.obj
util.cpp
c:\users\me\documents\github\solvespace\src\util.cpp(954) : error C4716: 'SolveSpace::Point2d::Angle' : must return a value
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\Users\Me\Documents\GitHub\solvespace\build>cd ..

C:\Users\Me\Documents\GitHub\solvespace>pause
Press any key to continue . . .

C:\Users\Me\Documents\GitHub\solvespace>
Sun Aug 7 2016, 14:53:22
(no subject) (by mmiscool)
Got it all working.

New to all this visual studio stuff.
Sun Aug 7 2016, 15:08:51
(no subject) (by pbeta)
Can you please illustrate your fix? I encounter the same problem.
Tue Aug 29 2017, 20:09:05
(no subject) (by GU3MS)
Can someone please illustrate this fix?
Thu Apr 12 2018, 13:39:14
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2018 SolveSpace contributors. Most recent update Nov 22 2018.