-
Notifications
You must be signed in to change notification settings - Fork 40
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
Win10 XicTools-4.3 Failed DLL #12
Comments
Same problem, "winpty wrspice" always returns "Failed to load WRSpice DLL". Only solution I found is to install virtual box with ubuntu on it, for Linux I managed to install it after all. |
In the Windows Start menu, there are 3 choices under "MSYS2 64bit". You must choose "MSYS2 MinGW 64bit" to run the XicTools programs (which require MinGW). In particular, if you try to use "MSYS2 MSYS", you'll get the "Failed to load..." message. |
The message in the image above "mount: warning - /usr/local/xictools does not exist." may be a clue. This should exist. At least, this is the intended structure. There may be a problem mounting /usr/local/xictools, or there may be problems with the links (symbolic links are new to Windows and may require special permission such as administrator mode to use). |
I have the same problem as you. |
I am trying to install XIC in the Win 11 computer. Because self-extracting files did not work, I am challenging full compiling the sources on MSYS mingw64 OS. I put all of sources on c:\usr\local\xictools. make config generated many errors. I modified one line in the makefile. The errors (generated by make config) are :configure:3931: /mingw64/bin/gcc -V >&5 It might be OK that I leave it as it is. configure:4960: /mingw64/bin/gcc -E conftest.c I do not have any idea to resolve this error at this moment And more errors made me give up When there is someone to give me a clue to overcome these errors, |
Hi,
First, I updated new Windows packages recently and the present packages should work, at least on Windows 10. The problem was a version change of libtiff.
As far as I know, no-one has built xictools using Windows 11, so there may be some unknowns.
First, don’t put your build area in c:/usr/local/xictools, that is where the compiled programs will be installed. Install the source tree somewhere else, such as your MSYS home directory.
Second, you must set the GTKLOC variable in the Makefile. Mine is set to
GTKLOC = —enable-gtk2=/mingw64/bin
There is also the question of which branch of the xictools repository to build. The “master” branch is safest and stable but rather old. The “devel” branch includes a lot of new work, including the port to QT graphics in progress. This branch would be recommended as it has the latest work. If you cloned the repository from GitHub, you can switch between branches with “git checkout devel” and "git checkout master”.
Regards,
Steve
… On May 22, 2023, at 3:35 AM, tanaka-yasumoto ***@***.***> wrote:
I am trying to install XIC in the Win 11 computer. Because self-extracting files did not work, I am challenging full compiling the sources on MSYS mingw64 OS.
Is there any person who is still active in this room?
I put all of sources on c:\usr\local\xictools.
make config generated many errors.
I will resolve these errors step by step.
I modified one line in the makefile.
MINGW = --enable-mingw=/mingw64
I did not set GTKLOC because I found the description “gtk2-bundle” is no longer needed in “http://wrcad.com/xictools/index.html
The errors (generated by make config) are :
configure:3931: /mingw64/bin/gcc -V >&5
gcc.exe: error: unrecognized command-line option '-V'
gcc.exe: fatal error: no input files
It might be OK that I leave it as it is.
These lines might be just for checking version of gcc.
A next error
configure:4960: /mingw64/bin/gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
I do not have any idea to resolve this error at this moment
And more errors made me give up
configure:5047: checking for X
configure:5085: /mingw64/bin/gcc -o conftest.exe -g -O2 conftest.c -lX11 >&5
In file included from C:/msys64/mingw64/include/X11/Xlib.h:31,
from conftest.c:11:
C:/msys64/mingw64/include/X11/X.h:44:26: error: expected '=', ',', ';', 'asm' or 'attribute' before 'XID'
44 | typedef unsigned __int64 XID;
| ^~~
C:/msys64/mingw64/include/X11/X.h:49:9: error: unknown type name 'XID'
49 | typedef XID Window;
| ^~~
C:/msys64/mingw64/include/X11/X.h:50:9: error: unknown type name 'XID'
50 | typedef XID Drawable;
| ^~~
C:/msys64/mingw64/include/X11/X.h:51:9: error: unknown type name 'XID'
51 | typedef XID Font;
| ^~~
C:/msys64/mingw64/include/X11/X.h:52:9: error: unknown type name 'XID'
52 | typedef XID Pixmap;
| ^~~
When there is someone to give me a clue to overcome these errors,
please give me some advices.
—
Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEZ4PVDWEHV27NU25KMYML3XHM6OXANCNFSM5L5GQ6LQ>.
You are receiving this because you commented.
|
Thank you so much for your advices. |
I tried a windows 10 machine using MSYS2 and self-extracting files. Windows 11 is problem. |
Interesting to know that the package works on Win 10 But not 11. I don’t currently have Win 11 but will eventually buy a new machine for supporting Win 11.
You might be able to see which dll is the problem by giving a command like “ldd /path/to/xic.dll”. The normal installed location for xic.dll in in /usr/local/xictools/bin. The command will list all the dlls needed to run the program, and the path to the dll. If any are “not found” then the program can not run.
Regards,
Steve
… On May 24, 2023, at 2:45 AM, tanaka-yasumoto ***@***.***> wrote:
I tried a windows 10 machine using MSYS2 and self-extracting files.
It worked!
Windows 11 is problem.
—
Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEZ4PVFOATDWECFCFDKDFALXHXKEVANCNFSM5L5GQ6LQ>.
You are receiving this because you commented.
|
Thank you. I have one question. Which gcc should I use to compile the sources? The MSYS2 homepage introduces us pacman -S mingw-w64-ucrt-x86_64-gcc. Is it ok for mingw64 (MSVCRT) ? I cannot find out a "mingw-w64-msvcrt-x86_64-gcc" - like package. or Can I use the following one found in https://www.msys2.org/ for a gcc compiler? Which gcc compiler do you use? -> I understand the mingw_w64-x86_64-toolchain includes gcc, c++ compiler. The make config vomitted 'there is no autoconf'. |
There are instruction for MSYS in the README file at the top of the source code tree. To get the compiler and accessories:
pacman -S mingw_w64-x86_64-toolchain.
… On May 25, 2023, at 7:04 AM, tanaka-yasumoto ***@***.***> wrote:
Thank you. I have one question. Which gcc shoule I use to compile the sources? The MSYS2 homepage introduces us pacman -S mingw-w64-ucrt-x86_64-gcc. Is it ok for mingw64 (MSVCRT) ? I cannot find out a "mingw-w64-msvcrt-x86_64-gcc" - like package.
—
Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEZ4PVE7ZLQJITYHZRE7XBDXH5RGPANCNFSM5L5GQ6LQ>.
You are receiving this because you commented.
|
The README file from the devel branch is the one with useful info, probably the one in the master branch is too old.
… On May 25, 2023, at 7:04 AM, tanaka-yasumoto ***@***.***> wrote:
Thank you. I have one question. Which gcc shoule I use to compile the sources? The MSYS2 homepage introduces us pacman -S mingw-w64-ucrt-x86_64-gcc. Is it ok for mingw64 (MSVCRT) ? I cannot find out a "mingw-w64-msvcrt-x86_64-gcc" - like package.
—
Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEZ4PVE7ZLQJITYHZRE7XBDXH5RGPANCNFSM5L5GQ6LQ>.
You are receiving this because you commented.
|
I have read the README several times. Still my understanding might not be sufficient. Anyway, Thank you so much for your advices |
I cannot install XicTools-4.3(.11) on Windows 10.
I followed the guide for Windows and used the
wr_install
script underMSYS2 MingGW x64
's terminal to installxictools
,wrspice
,mrouter
, andmozy
. However, attempting to loadxic
orwrspice
(via eitherwinpty xic
orxic
) in theMingGW
terminal gives aFailed to load the program DLL
error (program -> WRspice
forwrspice
).In Windows,
Xic
is registered as a program that points toC:\usr\local\xictools\xic.current\bin\xic.bat
. Opening this gives anEntry Point Not Found
error:The text was updated successfully, but these errors were encountered: