-
Notifications
You must be signed in to change notification settings - Fork 0
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
Need complete install manual #1
Comments
Sounds like a 64bit/32bit issue. |
You are right , I think using Visual Studio sln might cause conflicts. Could you please provide a mak file for ProddyUtils, similar to the Lexilla dll/lib? so I can copy the source to the SciTE/Scintilla source folder and run the mak file to get ProddyUtils.dll. |
I have tried to mimic the Lexilla.mak file, and the output is as follows: D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\xlocale (319): Warning C4530: The C++ exception handler is used, but the unrouted semantics are not enabled. Please specify /EHsc I use x86\cl.exe as it shows "32 bit" in the about dialog of SciTE. |
I found the following info: and others: |
I didn't use luaL_Register... The init function uses luaL_newlib Regarding the mak file - this is my first and only C++ project and I don't know off hand how to make one. I do know this was written for 64bit Lua, if that could be what's causing you issues using the 32bit cl.exe |
You will need to compile in C++17 mode, add /std:c++17 to the CXXFLAGS in the .mak |
Hello, Hampo,
I have tried to use ProddyUtils for Lua 5.3 (in SciTE 4) to replace the old afx.dll for Lua 5.1 (in SciTE 2). However I cannot figure out how to make it working.
Basically, I open the ProddyUtils.sln file in Visual Studio 2017, copy lua .h/.hpp header file folder to the ProddyUtils, and copy lua53.lib from https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/
The project compiles and generates a ProddyUtils.dll, but when I copy it to SciTE, and run "require ProddyUtils" in startup lua script, it reports
error loading module 'ProddyUtils' from file 'D:\Program Files\SciTE v445\bin\ProddyUtils.dll':
%1 is not a valid Win32 application program.
The text was updated successfully, but these errors were encountered: