Archived

This topic is now archived and is closed to further replies.

dtekfoo

codewarrior and DirectX

Recommended Posts

Hey, can anyone plz tell me how to set up metrowerks codewarrior for directX. When I try to compile the simplest DX program the compiler acts like it doesn''t have a clue whats going on. WTF! Jeez! thx, -dtekfoo

Share this post


Link to post
Share on other sites
I purchased a copy of it for my company because we were bidding on a contract to port a game from Macintosh to Windows. The Mac publisher said they wanted us to use it because they used CodeWarrior on their Macs and that it would be easier to port it if we did so. After toying around with the code that they gave us to evaluate, we learned from one of their developers that our best bet was to create a completely new project based for Windows. After that, we decided to decline from accepting the contract.

While I''m sure that there are ways to use it, and I''ve seen them after searching on Google, it was a frustrating experience trying to move from VC++ to CodeWarrior. The biggest thing you need to do is make sure that all of your libraries are linked. If not, you''ll get some pretty strange, and ambiguous error messages that don''t really tell you anything about the problem. Good luck, and sorry I can''t help more.


Looking for an honest video game publisher? Visit www.gamethoughts.com

Share this post


Link to post
Share on other sites
thx mtaber. Do you have any specific URL for a site that tells you how / offers downloads for doing it??? it would be great if u did!

thx alot,
-dtekfoo

Share this post


Link to post
Share on other sites
eewww...codewarrior. That''s is the biggest piece of crap compiler i''ve ever worked with. Honestly, if you can use VC++.

I''m trying to keep from flaming codewarrior, but it''s hard....


-Pac

Share this post


Link to post
Share on other sites
umm.....do u have your directories configured for the header files and the lib files? that might be a problem.....you could just copy the header and lib files in codewarrior''s directories if you cant configure the lib and header files.

Share this post


Link to post
Share on other sites
umm.....do u have your directories configured for the header files and the lib files? that might be a problem.....you could just copy the header and lib files in codewarrior''s directories if you cant configure the lib and header directories.

Share this post


Link to post
Share on other sites
quote:
Original post by Pactuul
eewww...codewarrior. That''s is the biggest piece of crap compiler i''ve ever worked with. Honestly, if you can use VC++.


I''d have to disagree with you there... Its not the compiler that''s bad, its the IDE

Anyway, I''m using CW7.0 with directX without any problems. As acidchaos said, make sure that you''ve set up the "access paths" correctly. CW7 comes with the directX 7 headers and libs already installed. If you want to use a newer DXSDK you have to put its path at the top of the "system paths" list. That means that the newer headers and libraries get found before the old ones (the same thing happens with VC++ BTW).

If that''s the problem the compile errors will probably be about IDirectWhatever8 being undeclared. If that isn''t the problem, post a sample of the error messages you''re getting.

Share this post


Link to post
Share on other sites
I never really found any sites that went into specifics of how to integrate CodeWarrior with DirectX 8, which was part of the reason I stayed with VC++. It''s not so much that I prefer one over the other, I''m just more comfortable with the interface.

I have to say, that I did kind of like the interface. It was definately different. But there were some features that I couldn''t find (not sure if they even existed) that I needed and were in VC++. Don''t remember offhand what they were. This was about 6 months ago.

I''m not real fond of VC++''s interface either, but I''m familiar with it, which is why I use it. As for where to get the libraries for CW, you might want to try installing the DirectX 8 SDK. The libraries are included. ;P


Looking for an honest video game publisher? Visit www.gamethoughts.com

Share this post


Link to post
Share on other sites