Troy client compiling

12/18/2020 00:05 zahter55#1
Hi guyz. I m trying to compile troy client. I fixed many errors in it. But stack on d3dx9.lib error. When i add its path to additional dependencies i got 267 unresolved extirnals error. Tried many things like adding related headers' or lib's paths like d3dx9 but still same. Checked 2 days for all forums but no solution.. Error is about gxd.lib (...obj)
Thanks for any help
12/18/2020 10:41 Sector1337*#2
Hello, you have to install DirectX9 SDK and include it in Source. Right after then you need to compile it with Visual Studio 2008 version.
12/18/2020 12:20 zahter55#3
Quote:
Originally Posted by Sector1337* View Post
Hello, you have to install DirectX9 SDK and include it in Source. Right after then you need to compile it with Visual Studio 2008 version.
I ll try this but i dont think it is about dx version because dx files included in my src files. I added them manually. At night i tried vs 2008 but it doesnt add my dependencies in solution tree. So i quit. This night will try again. Thnx.
12/18/2020 12:35 Sector1337*#4
Quote:
Originally Posted by zahter55 View Post
I ll try this but i dont think it is about dx version because dx files included in my src files. I added them manually. At night i tried vs 2008 but it doesnt add my dependencies in solution tree. So i quit. This night will try again. Thnx.
Well that's how i've compiled it, so you better search more about it.
12/18/2020 16:29 zahter55#5
Quote:
Originally Posted by Sector1337* View Post
Well that's how i've compiled it, so you better search more about it.
I m saying i ll try and guess that u did it. A solution is not a solution for everyone. My IDE maybe is not updated as yours..
This is not disrespect...
12/18/2020 16:36 Sector1337*#6
Quote:
Originally Posted by zahter55 View Post
I m saying i ll try and guess that u did it. A solution is not a solution for everyone. My IDE maybe is not updated as yours..
This is not disrespect...
I know it's not a disrespect i'm just trying to help you. I've just downloaded the latest Visual Studio 2008 ISO from network and just setup it, then downloaded DirectX9 SDK and compiled the client successfully. Seems like your linking configurations are totally wrong, That's why i told you to search more about it. (Consider searching about how to include that DirectX sdk library.) also the source directory matters. Just try to compile it inside it's own folder, without moving the source. There is a common header files which are important for building it.
12/18/2020 17:37 zahter55#7
Quote:
Originally Posted by Sector1337* View Post
Just try to compile it inside it's own folder, without moving the source. There is a common header files which are important for building it.
Thanks for ur advies. I m on it. I have downloaded sdk 2012 i think. Maybe there is an overlap between them. Here i wanna ask did u get error about _Myptr iterator? I had to change them to Ptr. I dont know iterators yet and dont understand if it will cause any other errors for now.
12/18/2020 17:43 Sector1337*#8
Quote:
Originally Posted by zahter55 View Post
Thanks for ur advies. I m on it. I have downloaded sdk 2012 i think. Maybe there is an overlap between them. Here i wanna ask did u get error about _Myptr iterator? I had to change them to Ptr. I dont know iterators yet and dont understand if it will cause any other errors for now.


I didn’t replaced anything inside source you need an old sdk to compile it correctly


Sent from my iPhone using Tapatalk