please help

  • DanielGalrito
    17th Aug 2017 Member 0 Permalink

    Powder.exe - Entry point not found

    It wasn't possible to locate the entry point of the procedure CreateFile2 in DLL (dynamic-link library) KERNEL32.dll.

     

    That is all I see, is there more information about the error stored somewhere?

  • zaccybot2
    17th Aug 2017 Member 0 Permalink

    Are you using the Visual Studio debugger, or running the executable from the build directory next to your .vcxproj file?

  • DanielGalrito
    17th Aug 2017 Member 0 Permalink

    Using the debugger

  • jacob2
    17th Aug 2017 Member 0 Permalink
    @DanielGalrito (View Post)
    For now, do a static compile. Someone else got that error in VS 2017 earlier. I don't know why you are getting it in VS 2015, you shouldn't.

    You could also try googling the problem
  • jacob1
    20th Aug 2017 Developer 0 Permalink
    @DanielGalrito (View Post)
    It was an issue with windows 7 and lower. I fixed it, redownload the required libraries.zip file: https://drive.google.com/file/d/0B1XWtCTn2YPASHFkeGZZZzR4U28/view?usp=drivesdk

    I changed zlib.lib and zlib.dll
  • DanielGalrito
    20th Aug 2017 Member 0 Permalink

    That helped, thanks for the help, both you and zaccy.

    Also, I'm getting the error "attempt to index global 'Button' (a nil value)"  when using the lua function Button:new,

    which only happens on the compiled executable.

    And why the compiled version occupy less space than the downloaded version? compiled is about 1.3Mb while downloaded is about 6Mb.

    Edited once by DanielGalrito. Last: 20th Aug 2017
  • jacob1
    20th Aug 2017 Developer 0 Permalink
    @DanielGalrito (View Post)
    Your debug version has all of the libraries separate in dll files, so it will be smaller than the official release, which has them all built in.

    The downloaded version is supposed to be smaller and faster due to msvc, but it looks like I released the wrong 92.1. I'll do a 92.2 later to fix this.

    I'll try to fix the Button:new issue later
    Edit: fixed the interface api in lua5.2, you'll have to update the source. I made the visual studio project use lua 5.2, but the official builds still use 5.1.
    Edited 4 times by jacob1. Last: 20th Aug 2017