Dlls error when compiling

Asked

Viewed 946 times

1

Studio:

#include <allegro5\allegro.h>

int main(void)
{
    ALLEGRO_DISPLAY *display = NULL;

    if(!al_init())
    {
        return -1;
        display = al_create_display(800, 600);
    }

    if(!display)
    {
        return -1;
    }

    while(1)
    {
        return 0;
    }
}

happens these:

'Game.exe': Loaded 'C: Windows Syswow64 apphelp.dll', Cannot find or open the PDB file SHIMVIEW: Shiminfo(Complete) 'Game.exe': Loaded 'C: Windows Syswow64 Allegro-5.0.10-Monolith-Md-debug.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 msvcr100d.dll', Symbols Loaded. 'Game.exe': Loaded 'C: Windows Syswow64 psapi.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 ole32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 shlwapi.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 winmm.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 shell32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Winsxs x86_microsoft.windows.gdiplus_6595b64144ccf1df_1. 1.9600.17415_none_dad8722c5bcc2d8f Gdiplus.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 user32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 comdlg32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 gdi32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 advapi32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 opengl32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 combase.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 msvcrt.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 rpcrt4.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 sechost.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 winmmbase.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Winsxs x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1 comctl32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 glu32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 ddraw.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 sspicli.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 cfgmgr32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 devobj.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 dciman32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 cryptbase.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 Shcore.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 bcryptprimitives.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 imm32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 msctf.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 d3d9.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 version.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 dwmapi.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 uxtheme.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 aticfx32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 atiu9pag.dll', Cannot find or open the PDB file 'Game.exe': Unloaded 'C: Windows Syswow64 atiu9pag.dll' 'Game.exe': Loaded 'C: Windows Syswow64 atiu9pag.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 atiumdag.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 atiumdva.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 powrprof.dll', Cannot find or open the PDB file 'Game.exe': Unloaded 'C: Windows Syswow64 powrprof.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 atiumdva.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 atiumdag.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 atiu9pag.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 aticfx32.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 dwmapi.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 version.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 d3d9.dll' The thread 'Win32 Thread' (0xa98) has exited with code -1 (0xffffffffff). The thread 'Win32 Thread' (0x1324) has exited with code -1 (0xffffffffff). The program '[1704] Game.exe: Native' has exited with code -1 (0xffffffffff).

What they mean and how to fix?

I went on Tools Options Debugging Symbols and selected the box Microsoft Symbol Servers, but now it happens

'Game.exe': Loaded 'C:\Users\Lucas-PC\Desktop\Arquivos\Game\Debug\Game.exe',           Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\apphelp.dll', Symbols loaded (source information stripped).
SHIMVIEW: ShimInfo(Complete)
'Game.exe': Loaded 'C:\Windows\SysWOW64\allegro-5.0.10-monolith-md-debug.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'Game.exe': Loaded 'C:\Windows\SysWOW64\psapi.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Symbols loaded.
'Game.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17415_none_dad8722c5bcc2d8f\GdiPlus.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\comdlg32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Symbols loaded.
'Game.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\winmmbase.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\comctl32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\SHCore.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\aticfx32.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiu9pag.dll', Cannot find or open the PDB file
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiu9pag.dll'
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiu9pag.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiumdag.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiumdva.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Symbols loaded (source information stripped).
'Game.exe': Unloaded 'C:\Windows\SysWOW64\powrprof.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiumdva.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiumdag.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiu9pag.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\aticfx32.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\dwmapi.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\version.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\d3d9.dll'
The thread 'Win32 Thread' (0xed0) has exited with code -1 (0xffffffff).
The thread 'Win32 Thread' (0x988) has exited with code -1 (0xffffffff).
The program '[3712] Game.exe: Native' has exited with code -1 (0xffffffff).

When I try to run it opens the cmd, loads the Symbols and closes the cmd.

When I’m compiling mine in Visual

  • Have you tried removing and installing the 32bit/x86 version? - Note: At all times post the codes inside the question and not as links, remember, links can break with the future and the question so do not have much sense.

  • You are trying to compile a C code using Visual Basic?

  • @Victorstafusa I made a mistake, I corrected the question.

1 answer

3

Those warnings appear because the DLLS of the system do not have a debugging information file used by Visual Studio. How are warning messages, you can ignore them, if you want to correct, second that reply from Soen, just go on ToolsOptionsDebuggingSymbols and select the box Microsoft Symbol Servers. This will cause Visual Studio to automatically download required files.

inserir a descrição da imagem aqui

  • I edited my question according to your answer.

  • @Lucascarezia Try the following: close and run Visual Studio as administrator. Compile again.

  • I ran as administrator and showed in question what happens when I run.

  • @Lucascarezia Yes.. but warnings still appear?

  • Appear yes, run as administrator has not changed anything.

  • @Lucascarezia When you run without being an administrator the program runs? has how to edit the question and put the warnings that appear now (like admin)?

  • No, opening normally or with administrator happens the same things, the warnings are the same that I edited previously, it just opens the CMD, loads the Symbols, after that it closes the CMD and gives the warnings.

  • @Lucascarezia Then there is something. If when you perform as admin the VS the program wheel and when not admin the program wheel, something must have changed. What is the last line that appears in the warnings?

  • You did not understand, in either case the program runs(the CMD is not the program), the last line of the warning is The program '[2972] Game.exe: Native' has exited with code -1 (0xffffffffffff).

  • @Lucascarezia Well, try the following then: Go on Debug, click on Options and Settings, and enable the box Enable source server support. Make sure you have done what was posted in the reply, then try to compile again.

Show 5 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.