Rhino 7 and 8 WIP installed:
rhino_en-us_7.32.23221.10241
rhino_en-us_8.0.23227.12305
I don’t have the Rhino SDK installed yet because of https://mcneel.myjetbrains.com/youtrack/issue/RH-76312
(marked closed but it apparently hasn’t made public reelase yet, downloading from newest)- the opennurbs instructions don’t ask for this to be installed so I hope it’s unrelated.
Build zlib. (this works)
Build the dynamic opennurbs library.
Each line item compile succeeds, but the link fails with:
1>Linking with zlib.lib in “C:/dev/3rdprty/opennurbs/bin/x64/Debug”
1>opennurbs_zlib_memory.cpp
1>Generating Code…
1>opennurbs.rc(10): fatal error RC1015: cannot open include file ‘afxres.h’.
If I update the Windows SDK but not the (V142) toolset:
I get the same result:
“1>opennurbs.rc(10): fatal error RC1015: cannot open include file ‘afxres.h’.”
And, finally, if I update both to the latest versions as Studio recommends (which the aforementioned thread said not to but I’m just being thorough)…
I get a good number of compile errors similar to:
“1>C:\dev\3rdprty\delme5\opennurbs_font.cpp(1681,14): error C2220: the following warning is treated as an error
1>C:\dev\3rdprty\delme5\opennurbs_font.cpp(1681,14): warning C4189: ‘bKeepDWriteFont’: local variable is initialized but not referenced”
I tried compiling the project in two ways (fresh copy of the repo for each):
When prompted to retarget, choose no to both.
When prompted to retarget, accept the default (latest) for the Win 10 SDK and no for the VS toolset.
Both still result in:
opennurbs.rc(10): fatal error RC1015: cannot open include file ‘afxres.h’.
Taking that one step further regarding this header file, I do have one copy of it:
With the version I downloaded shortly before making that post, it still refused to install. I just (6PM PST I think, 23 Aug) downloaded a newer version.
It installs, thank you.
It doesn’t clear up this build/link problem, though.
Ok, I looked through your manifest. I don’t see those particular MFC and ATL V142 (Visual Studio 2019) tools installed at all, though there is the general 2019 pack