I'm stumped. I'm currently getting an error from visual studio:
Error could not open 'C:\Users\username\github\Microsoft\vcpkg\installed\x64-windows\lib\*.lib': invalid argument jconsole_vs2019_clang C:\Users\username\jsoftware\jsource\makevs\jconsole\lld-link 1 And it is indeed the case that there's no single file named '*.lib' in that directory. But there is a file named gmp.lib in that directory. What's even stranger is that I don't know why visual studio should care about the presence or absence of such files. In the property pages for the visual studio "solution", under vcpkg, I had configured the "triplet" to be x64-windows, but I have "Use Static Libraries" set to "No", and as far as I know the .lib files are static libraries. So... I've got a file not found error blocking my attempts to build with visual studio which (while perhaps technically correct) makes no sense to me. -- Raul On Sat, Oct 22, 2022 at 12:11 PM Raul Miller <rauldmil...@gmail.com> wrote: > > The approach I am currently pursuing uses vcpkg > > https://github.com/microsoft/vcpkg > > In other words: > > git clone https://github.com/Microsoft/vcpkg --depth=1 > cd vcpkg > cmd /c bootstrap-vcpkg.bat > > This creates vcpkg.exe in that directory, then: > > vcpkg install gmp --triplet=x64-windows > > This is slow, and I'm waiting for it to finish to determine if it > produces a suitable result. (For my first attempt, I had used vcpkg > install gmp --triplet=x64-windows-static but that builds gmp.lib not > gmp.dll.) > > That said I expect that there would also be some issues with install > paths that I have not yet thought through. (vcpkg creates a zip file, > which it announces on completion of the "install" step. I believe I > will have to unpack that somewhere and configure visual studio to > locate it. Apparently there's another approach using the command > vcpackage integrate install, but that was not sufficient for my visual > studio instance to locate the gmp.h which had supposedly been > installed and integrated.) > > FYI, > > -- > Raul > > On Sat, Oct 22, 2022 at 11:46 AM bill lam <bbill....@gmail.com> wrote: > > > > The first step would be building gmp.dll because I googled and can't find > > anything dll available/suitable > > > > On Sat, 22 Oct 2022 at 8:45 PM Raul Miller <rauldmil...@gmail.com> wrote: > > > > > On Sat, Oct 22, 2022 at 8:13 AM bill lam <bbill....@gmail.com> wrote: > > > > It works for macos too. what is your plan for windows support? > > > > > > I guess I'm going to need to get visual studio working. > > > > > > -- > > > Raul > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm