Using euc on Windows
- Posted by euphoric (admin) Feb 14, 2023
- 1005 views
I've got a new Windows 11 PC set up.
Euphoria 32-bit is installed on it. I'm using wxWidgets, so I think Euphoria 64-bit is unusable.
I can run a wxEuphoria app with the interpreter from Notepad++ just fine.
However, when I attempt to compile a wxWidgets app, I get this error:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows PS C:\App> euc .\app.exw Build directory: build-626809\ Translating code, pass: 1 2 3 4 5 6 7 8 9 generating Compiling with GCC Compiling 0% init-.c Couldn't compile file 'init-.c' Status: -1 Command: gcc -DEWINDOWS -fomit-frame-pointer -c -w -fsigned-char -O2 -m32 -IC:/Euphoria -ffast-math init-.c
When I install TDM-GCC-64, I can't even run the wxEuphoria app with the interpreter. I get errors like this one:
euiw.exe - Entry Point Not Found [big red x] The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library c:\wxdll\wxbase28u_xml_gcc_eu.dll
(Weirdly enough, it does compile successfully with
euc -xtra-lflags "-m32" .\app.exw)
Need help on where to go from here.