Jump to content
  • Advertisement
Sign in to follow this  
keiokrysha

DX11 Cannot open the .fx shader file?

This topic is 2136 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi
I tried to write some D3D11 code, "build" is successful, information see below:

[source lang="cpp"]1>------ Rebuild All started: Project: akatsuki, Configuration: Debug Win32 ------
1>Build started 9/13/2012 9:43:23 PM.
1>_PrepareForClean:
1> Deleting file "Debug\akatsuki.lastbuildstate".
1>InitializeBuildStatus:
1> Creating "Debug\akatsuki.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> stdafx.cpp
1> akatsuki.cpp
1>Manifest:
1> Deleting file "Debug\akatsuki.exe.embed.manifest".
1>LinkEmbedManifest:
1> akatsuki.vcxproj -> C:\Users\kai\Documents\Visual Studio 2010\Projects\akatsuki\Debug\akatsuki.exe
1>FinalizeBuildStatus:
1> Deleting file "Debug\akatsuki.unsuccessfulbuild".
1> Touching "Debug\akatsuki.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:01.53
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========[/source]

but when "start debugging", the program stops at opening the .fx shader file, information see below:

[source lang="cpp"]'akatsuki.exe': Loaded 'C:\Users\kai\Documents\Visual Studio 2010\Projects\akatsuki\Debug\akatsuki.exe', Symbols loaded.
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\d3d11.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\dxgi.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\D3DX11d_43.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'akatsuki.exe': Unloaded 'C:\Windows\SysWOW64\setupapi.dll'
'akatsuki.exe': Unloaded 'C:\Windows\SysWOW64\devobj.dll'
'akatsuki.exe': Unloaded 'C:\Windows\SysWOW64\cfgmgr32.dll'
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\igd10umd32.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\d3dx10_40.dll', Cannot find or open the PDB file
'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\D3D11SDKLayers.dll', Cannot find or open the PDB file
D3DX11: ID3DX11DataLoader::Load - can't open Akatsuki.fx[/source]

Please help, thanks!
[color=#ff0000]And can anybody tell me what are all those "Cannot find or open the PDB file" about? Edited by keiokrysha

Share this post


Link to post
Share on other sites
Advertisement
Try to delete ur Debug folder (in ur Project) and build ur program again. The PDB is the program debug databse file which is created on build

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!