Views: 232,068 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 07-19-18 08:47 PM
Guest:

0 users reading More compilation issues | 1 bot

Main - General - More compilation issues New reply


MeaningOfLifeIs42
Posted on 09-21-17 12:03 AM Link | #342
I cannot compile the newest commit of MelonDS on Windows using CodeBlocks. Compiling both release and debug work initially, but the program crashes when run. Compiling under "Profile Windows" gives me the error "...include\d2d1helper.h|402|undefined reference to `D2D1MakeRotateMatrix'|", as well as a good few errors that are very similar. Any ideas what I can do to fix this?

StapleButter
Posted on 09-21-17 08:35 AM (rev. 2 of 09-21-17 08:35 AM) Link | #343
'Profile Windows' is deprecated and will be axed in favor of a 'fast debug' build or something.


As for the rest... it's being worked on, so keep it in mind.

MeaningOfLifeIs42
Posted on 09-28-17 01:55 PM Link | #348
It still isn't working on the newest commit, but I've got some debug information from VS 2017 this time. Using the "debug" build, VS tells me "Unhandled exception at 0x00007FFDB2B5A962 (KernelBase.dll) in melonDS.exe: 0xC000041D: An unhandled exception was encountered during a user callback." I am using CodeBlocks and the compiler is MinGW64. The OS is Windows 10 Creators update. Builds before the new GUI worked fine.

StapleButter
Posted on 09-29-17 04:40 PM Link | #349
Have you tried rebuilding the project from scratch?

MeaningOfLifeIs42
Posted on 09-29-17 06:26 PM Link | #350
Yes, and it didn't help any.

StapleButter
Posted on 09-29-17 06:35 PM Link | #351
ok, this is bad.


I can't test it.


can you try building it in debug mode and debugging that?

MeaningOfLifeIs42
Posted on 09-29-17 11:53 PM Link | #352
Ok, this is the log from the debugging.
'melonDS.exe' (Win32): Loaded 'C:\Users\silas\Desktop\GIT\Test\trunk\bin\Debug\melonDS.exe'. Module was built without symbols.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Program Files\AVAST Software\Avast\x64\aswhooka.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Users\silas\Desktop\GIT\Test\trunk\bin\Debug\SDL2.dll'. Module was built without symbols.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.483_none_26002d27e7c744a2\comctl32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\wsock32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Users\silas\Desktop\GIT\Test\trunk\bin\Debug\libgcc_s_seh-1.dll'. Module was built without symbols.
'melonDS.exe' (Win32): Loaded 'C:\Users\silas\Desktop\GIT\Test\trunk\bin\Debug\libstdc++-6.dll'. Module was built without symbols.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Users\silas\Desktop\GIT\Test\trunk\bin\Debug\libwinpthread-1.dll'. Module was built without symbols.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\dsound.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\wdmaud.drv'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\ksuser.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.drv'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\midimap.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\dinput8.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\hid.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\XInput1_4.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\aticfx64.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\atiuxp64.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\atidxx64.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\usermgrcli.dll'. Cannot find or open the PDB file.
'melonDS.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.dll'. Cannot find or open the PDB file.
The thread 0x29d4 has exited with code 0 (0x0).
Unhandled exception at 0x00007FFAE363A962 (KernelBase.dll) in melonDS.exe: 0xC000041D: An unhandled exception was encountered during a user callback.
I'm not very good at debugging, so let me know if I did anything wrong. Also, I found out how to get MelonDS running through Visual studio 2017. If I click the continue button, it says "melonDS.exe has triggered a breakpoint." the first time, and if I click it again MelonDS runs without crashing. So I can technically get it to work, but something's wrong somewhere.

StapleButter
Posted on 09-30-17 12:59 PM Link | #353
I guess you'll have to debug via CodeBlocks, if that works.

MeaningOfLifeIs42
Posted on 09-30-17 02:46 PM Link | #354
It sort of works, but now MelonDS doesn't have access to the bios files from the debugger, meaning that it can't get far enough to crash or get anything interesting in the log. How can I add the files so the debugger knows what to do with them? They are in the directory with the proper names.

StapleButter
Posted on 09-30-17 03:26 PM Link | #355
might want to add them to the bin/Debug directory, or to the root directory. if that doesn't work, dunno where they'd go.


can't check here, the debugger refuses to do anything and I can't figure out why.

StapleButter
Posted on 09-30-17 05:33 PM Link | #356
ok can you test the latest revision? it should be fixed

MeaningOfLifeIs42
Posted on 09-30-17 06:35 PM Link | #357
It is indeed fixed! Thank you very much!

PeeJay Bonobo
Posted on 09-30-17 07:41 PM Link | #358
This fix seems to apply to Windows 8.1 as well. I had Breakpoint Exceptions on bootup for the past month when new revisions were being put out.

StapleButter
Posted on 09-30-17 07:44 PM Link | #359
Good then! I was afraid to end up unable to fix that issue. Mostly because I avoid any Windows version above 7 like the plague.


Main - General - More compilation issues New reply

Page rendered in 0.017 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 102/102, time: 0.010 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2017-11-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.