HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Some problems building SPARK dll with DX9(Solved)

View previous topic View next topic Go down 
AuthorMessage
Charlie



Messages : 81
Date d'inscription : 2011-01-28
Age : 34

PostSubject: Some problems building SPARK dll with DX9(Solved)   Fri Feb 11, 2011 4:23 am

First of all i didn't want to open a new topic for this but i pressed the post comment instead of "post reply"... i'm Really Sorry...


My wrapper works perfectly in GDK but i want to build SPARK as a dll for DBPro too but i got some errors.

-I have added the SPK_ALL.cpp and SPK_DX9_ALL.cpp to my dll project

Everything works fine (i can compile the dll and have access to all classes) until i use DX9Info::setPool somewhere in my code.I got the following error message:

Code:
error LNK2001: unresolved external symbol "public: static void __cdecl SPK::DX9::DX9Info::setPool(enum _D3DPOOL)" (?setPool@DX9Info@DX9@SPK@@SAXW4_D3DPOOL@@@Z)

Everything works fine when i compile the same project as an *.exe or *.lib

what shall i do ? Any help appreciated...

----------------------------------------

EDIT:
Oh i have downloaded spark from svn and it seems that DX9Info::setPool is now obsolete.
Anyway i got it working !! SPARK Works perfectly in Dbpro !!
Regards !





Back to top Go down
View user profile
Darktib
Committer


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

PostSubject: Re: Some problems building SPARK dll with DX9(Solved)   Fri Feb 11, 2011 11:42 am

So you've got SPARK working in DBPro ? Super! Could you post a screen, it really interests me Smile
Back to top Go down
View user profile
Charlie



Messages : 81
Date d'inscription : 2011-01-28
Age : 34

PostSubject: Screenie   Fri Feb 11, 2011 1:18 pm

Well i'm working on it and it's still a very very rough i have only 3 commands
SPK INIT

SPK CREATE TEST PARTICLES

SPK UPDATE

But what is important it works fine ! Heres a screenie of the pointsprite renderer :



i'm working on it ! I dont know when , maybe next month i will release a beta wrapper for dbpro
DBPro definitely needs a cool particle engine , and i think SPARK is the coolest Very Happy
Back to top Go down
View user profile
Darktib
Committer


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

PostSubject: Re: Some problems building SPARK dll with DX9(Solved)   Fri Feb 11, 2011 3:32 pm

This is a really nice start!

Good luck!
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Some problems building SPARK dll with DX9(Solved)   Today at 3:41 am

Back to top Go down
 
Some problems building SPARK dll with DX9(Solved)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Link Building Policy
» Selenium installation problems
» World Trade Centre New York's Highest Building Again
» New here--Kidney problems after taking Relpax?
» problems with voluntary work need advice about what to say

Permissions in this forum:You cannot reply to topics in this forum
 :: English Forum :: Questions (en)-
Jump to: