Marc
May 24, 2020, 8:13pm
1
Hello,
I was using Graphviz 2.38 that has allready build exe-files.
I want to use the new realase, and saw that I have to build it myself.
I downloaded visual studio community 2019, and wanted to build it, but no succes…
Alway’s errors. I already set the include-file-directory, but is it only one?
Is it possible with 2019, or do I have to use 2014?
I’m not used to use visual studio, because I normaly create programs with BCC.
Thanks in advance
1 Like
Marc
May 29, 2020, 7:19am
2
Hi,
I downloaded Visual Studio 2015. Also the files via the Git.
I folowed the instruction from http://www.graphviz.org/_pages/doc/winbuild.html
I still can’t build the dot.exe file. Do I have to do anything else?
1 Like
mark
May 29, 2020, 12:17pm
3
Hi Marc. What errors are you getting? When you say you can’t build, what exact step is failing?
To set expectations, I think none of the maintainers of Graphviz have a Windows box or much experience with Windows, but we can perhaps walk you through debugging it?
Marc
May 31, 2020, 9:28am
4
Hello,
I want to build the dot.exe file.
If I build it with visual-studio, I get this error.
1>------ Build started: Project: cgraph, Configuration: Debug Win32 ------
2>------ Build started: Project: gvortho, Configuration: Debug Win32 ------
2> gvortho.vcxproj -> C:\temp\Repos\graphviz\Debug\Graphviz\bin\gvortho.lib
1> ‘bison’ is not recognized as an internal or external command,
1> operable program or batch file.
1> ‘flex’ is not recognized as an internal or external command,
1> operable program or batch file.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: The command “bison -dy grammar.y -o grammar.c
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: flex -oscan.c scan.l
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: :VCEnd” exited with code 9009.
3>------ Build started: Project: xdot, Configuration: Debug Win32 ------
3>LINK : fatal error LNK1104: cannot open file ‘C:\temp\Repos\graphviz\Debug\Graphviz\bin\cgraph.lib’
4>------ Build started: Project: gvc, Configuration: Debug Win32 ------
4> ‘bison’ is not recognized as an internal or external command,
4> operable program or batch file.
4> Het systeem kan het opgegeven bestand niet vinden.
4> Het systeem kan het opgegeven bestand niet vinden.
4> Could Not Find C:\temp\Repos\graphviz\lib\common\htmlparse-intermediate.c
4> Could Not Find C:\temp\Repos\graphviz\lib\common\htmlparse-intermediate.h
4> ‘awk’ is not recognized as an internal or external command,
4> operable program or batch file.
4> ‘awk’ is not recognized as an internal or external command,
4> operable program or batch file.
4>
4> common\color_names
4>
4>
4> ‘awk’ is not recognized as an internal or external command,
4> operable program or batch file.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: The command “bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: sed “s/yy/html/g” < common\htmlparse-intermediate.c > common\htmlparse.c
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: sed “s/yy/html/g” < common\htmlparse-intermediate.h > common\htmlparse.h
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: del common\htmlparse-intermediate.c
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: del common\htmlparse-intermediate.h
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: awk -f C:\temp\Repos\graphviz\awk\svgcolor.awk common\svgcolor_names > common\svgcolor_lib
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: awk -f C:\temp\Repos\graphviz\awk\brewer.awk common\brewer_colors > common\brewer_lib
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: type common\brewer_lib common\svgcolor_lib common\color_names | sort /L C > color_lib
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: awk -f C:\temp\Repos\graphviz\awk\colortbl.awk color_lib > common\colortbl.h
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: :VCEnd” exited with code 9009.
5>------ Build started: Project: gvplugin_core, Configuration: Debug Win32 ------
5> ‘awk’ is not recognized as an internal or external command,
5> operable program or batch file.
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: The command “awk -f C:\temp\Repos\graphviz\awk\stringize.awk ps.txt > ps.h
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(123,5): error MSB3073: :VCEnd” exited with code 9009.
6>------ Build started: Project: gvplugin_dot_layout, Configuration: Debug Win32 ------
7>------ Build started: Project: gvplugin_neato_layout, Configuration: Debug Win32 ------
7>LINK : fatal error LNK1104: cannot open file ‘cgraph.lib’
8>------ Build started: Project: gvplugin_pango, Configuration: Debug Win32 ------
6>LINK : fatal error LNK1104: cannot open file ‘cgraph.lib’
8>LINK : fatal error LNK1104: cannot open file ‘cgraph.lib’
9>------ Build started: Project: dot, Configuration: Debug Win32 ------
9>LINK : fatal error LNK1104: cannot open file ‘cgraph.lib’
========== Build: 1 succeeded, 8 failed, 14 up-to-date, 0 skipped ==========
Marc
June 6, 2020, 9:56am
5
Hello,
It’s working fine now. I followed the instructions on the site
1 Like