About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
error after update
Author Message
neuland Offline
Member

Post: #1
error after update
hi,

I got an error after update:
error LNK2019: unresolved external symbol "struct EE::Viewport EE::ViewportFull" (?ViewportFull@EE@@3UViewport@1@A) referenced in function "bool __cdecl InitGame(void)" (?InitGame@@YA_NXZ)

I did not have before updating

neuland
03-31-2010 09:20 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #2
RE: error after update
-Viewport setting has been moved to Display 'D' methods
03-31-2010 09:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #3
RE: error after update
I don't use viewport
03-31-2010 10:02 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #4
RE: error after update
And when you double click on this error, Visual shows you nothing in your code?
03-31-2010 10:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #5
RE: error after update
does not show where the error is
03-31-2010 10:09 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: error after update
please make sure to use latest .h and .lib
also you can try rebuilding your project
03-31-2010 10:33 PM
Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #7
RE: error after update
I have a new .h and .lib, and i try rebuilding project and error
04-01-2010 05:47 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: error after update
the 'ViewportFull' is no longer in the engine .h or .lib
how come it is referenced by InitGame?
04-01-2010 05:48 PM
Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #9
RE: error after update
Code:
Bool InitGame()
{
   Physics.create();
   Sky    .atmospheric();
   Sun.image=Images("gfx/sky/sun.gfx"); Sun.light_color=1-D.ambColor();
   // create the world
   Game::World.init()
              .setObjType(Statics,OBJ_STATIC)
              .setObjType(Players,OBJ_PLAYER)
              .setObjItem(Items  ,OBJ_ITEM  )
              .New("world/island.world");
    Water.images(Images("gfx/water/0.gfx"),Images("gfx/water/0.n.gfx"),Images("gfx/fx/reflection.gfx")); // set water from textures
   Water.draw      =true; // enable drawing
   Water.wave_scale=1.5 ; // adjust wave scales
   Water.plane-=Vec(0,0,0);
   Ci .create();
   Cp .create();
   Ci.cloud.load("LocalData/cloud.gfx"); Ci.detail.load("LocalData/detail.gfx");
   Clouds.volumetric.load("LocalData/volumetric_clouds");  
   Text_ds.color =WHITE;
   Text_ds.shadow=1;
   font=Fonts("LocalData/Comic Sans MS.font"); // load the font
   hour=0;
   minute=0;
   day=1;
   sound.play("../data/sound/birds1.ogg",pos,2,true); // play looped 3D sound, volume=1, position='pos'
   return true;
}
04-01-2010 06:12 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #10
RE: error after update
I think that you don't have correct .h + .lib
04-01-2010 06:17 PM
Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #11
RE: error after update
i download new engine and i manual copy files to VC++
04-01-2010 06:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #12
RE: error after update
search in the files for any mentioning of the 'ViewportFull'

did you copy it to the right folder? you have 1 VC?
04-01-2010 06:50 PM
Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #13
RE: error after update
i have 1 VC, i search 'ViewportFull' in my project, i didn't this word in all files
04-01-2010 06:57 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #14
RE: error after update
have you looked into .h and .lib which you are using?
04-01-2010 08:31 PM
Find all posts by this user Quote this message in a reply
neuland Offline
Member

Post: #15
RE: error after update
04-01-2010 09:21 PM
Find all posts by this user Quote this message in a reply
Post Reply