Hi,
I canĀ“t get the DarkShader and the GDK to run together ( while the DBPRO Version work well )
with the Reflection sample I get an Effect Error : Error loading camera effect 'Blur.dbs'.
with the Bloom sample I get an Unhandled exception error at this line:
dbSetEffectConstantVector( 2, "ViewSize", 1 );
these are the warnings I get in release mode:
------ Rebuild All started: Project: Bloom, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'Bloom', configuration 'Release|Win32'
Compiling...
Example.cpp
.\Example.cpp(25) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
.\Example.cpp(25) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
.\Example.cpp(35) : warning C4305: 'argument' : truncation from 'double' to 'float'
Linking...
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Generating code
Finished generating code
shaderdata.lib(Camera.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\The Game Creators\Dark GDK - FREEWARE Edition\Lib\VS8\shaderdata.lib' or at 'c:\Documents and Settings\All Users\Documents\Visual C++ Projects 2005\DGK\Bloom\release\vc80.pdb'; linking object as if no debug info
shaderdata.lib(CameraEffect.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\The Game Creators\Dark GDK - FREEWARE Edition\Lib\VS8\shaderdata.lib' or at 'c:\Documents and Settings\All Users\Documents\Visual C++ Projects 2005\DGK\Bloom\release\vc80.pdb'; linking object as if no debug info
shaderdata.lib(EffectTexture.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\The Game Creators\Dark GDK - FREEWARE Edition\Lib\VS8\shaderdata.lib' or at 'c:\Documents and Settings\All Users\Documents\Visual C++ Projects 2005\DGK\Bloom\release\vc80.pdb'; linking object as if no debug info
shaderdata.lib(global.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\The Game Creators\Dark GDK - FREEWARE Edition\Lib\VS8\shaderdata.lib' or at 'c:\Documents and Settings\All Users\Documents\Visual C++ Projects 2005\DGK\Bloom\release\vc80.pdb'; linking object as if no debug info
shaderdata.lib(shaderdata.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\The Game Creators\Dark GDK - FREEWARE Edition\Lib\VS8\shaderdata.lib' or at 'c:\Documents and Settings\All Users\Documents\Visual C++ Projects 2005\DGK\Bloom\release\vc80.pdb'; linking object as if no debug info
Embedding manifest...
Build log was saved at "file://c:\Documents and Settings\All Users\Documents\Visual C++ Projects 2005\DGK\Bloom\Bloom\Release\BuildLog.htm"
Bloom - 0 error(s), 9 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========