xboxscene.org forums

Pages: [1] 2

Author Topic: Using Openxdk With Dev-c++  (Read 276 times)

ColdReader

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
Using Openxdk With Dev-c++
« on: August 10, 2005, 11:37:00 PM »

heres the package http://www.savefile.com/files/5407724

also to be able to make ur .exe a .xbe after compiling heres how to set up cxbe this was taken from kennelbounds tutorial credit goes to him

1) Click Tools->Configure tools
2) Click the plus to add a tool
3) In the Title box put "CXBE" (without quotes)
4) In the Program box put "C:\cygwin\usr\local\openxdk\bin\cxbe.exe" (without
quotes)
5) In the Working Directory box put "<PROJECTPATH>" (without quotes)
6) In the Parameters box put:
CODE-TITLE:"<PROJECTNAME>" -DUMPINFO:"<PROJECTNAME>.cxbe" -OUT:"default.xbe" default.exe
7) Click OK
8) Click Close

then after ur done compiling ur code just run the tool smile.gif
Logged

yello

  • Archived User
  • Full Member
  • *
  • Posts: 198
Using Openxdk With Dev-c++
« Reply #1 on: August 11, 2005, 10:23:00 AM »

thank you much appreciated  smile.gif
Logged

kennelbound

  • Archived User
  • Newbie
  • *
  • Posts: 39
Using Openxdk With Dev-c++
« Reply #2 on: August 12, 2005, 12:09:00 PM »

Wow, an hour and a half of my time has just been voided by a couple of sentences. ohmy.gif

hehe, just joking, this looks much simpler than mine.
Logged

kennelbound

  • Archived User
  • Newbie
  • *
  • Posts: 39
Using Openxdk With Dev-c++
« Reply #3 on: August 13, 2005, 12:13:00 AM »

http://www.willamett...n/cygintl-3.dll

Third search item at google.
Logged

HackDaBox

  • Archived User
  • Hero Member
  • *
  • Posts: 885
Using Openxdk With Dev-c++
« Reply #4 on: August 13, 2005, 12:24:00 AM »


 pop.gif

Y I P P E E E ! ! !

 T H A N K S  S O  M U C H  ! ! !

 You don't wanna know how long i have spent trying to get this damn thing working !

 But now it all works perfectly ! Thanks go to both ...

kennelbound

and

ColdReader

Can a mod please tidy this post up ( put it all together and corrected and sticky please )

HackDaBox !

www.HackDaBox.com

Logged

HackDaBox

  • Archived User
  • Hero Member
  • *
  • Posts: 885
Using Openxdk With Dev-c++
« Reply #5 on: August 13, 2005, 09:08:00 AM »


OK another question ...

If i wanna try all the examples then i will have to add the

extern "C" void

to each and every function ?

and also i will have to do the same to all the include files like xboxkrnl.h ???

HackDaBox !

Logged

HackDaBox

  • Archived User
  • Hero Member
  • *
  • Posts: 885
Using Openxdk With Dev-c++
« Reply #6 on: August 13, 2005, 09:36:00 AM »


OK. To answer my own questions above ... NO you don't.

Just choose New Project,  Windows app but choose C not C++ and the code compiles without problems !

No editing needed !!!

HackDaBox !



Logged

kennelbound

  • Archived User
  • Newbie
  • *
  • Posts: 39
Using Openxdk With Dev-c++
« Reply #7 on: August 13, 2005, 11:12:00 AM »

Yeah,

I probably didn't make this clear in my example. My tutorial was for helping someone setup the IDE, but it was also a tut on how to make C++ projects compile w/ the openxdk.

Logged

ColdReader

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
Using Openxdk With Dev-c++
« Reply #8 on: August 14, 2005, 06:59:00 PM »

too tired to tell... post ur code and i'll figure it out sorry kennelbound it was a request but i must admit i wouldnt have been able to set up my Dev-C++ to work with openxdk if it wasnt for you
Logged

FletcherJ

  • Archived User
  • Newbie
  • *
  • Posts: 3
Using Openxdk With Dev-c++
« Reply #9 on: August 15, 2005, 01:28:00 AM »

CODE

#include
#include

void XBoxStartup()
{
debugPrint("print this message please\n");
XSleep(10000);
XReboot();
}


I tried it with the extern directives aswell.
Logged

HackDaBox

  • Archived User
  • Hero Member
  • *
  • Posts: 885
Using Openxdk With Dev-c++
« Reply #10 on: August 15, 2005, 04:54:00 AM »


The code is fine and compiles without erros. Just Uninstall everything and start again. With the tutorial and the download of cygwin needed files , it is really easy to set up.

HackDaBox !

Logged

Songoku

  • Archived User
  • Newbie
  • *
  • Posts: 11
Using Openxdk With Dev-c++
« Reply #11 on: August 15, 2005, 09:55:00 AM »

where to find cygiconv-2.dll?
Logged

Songoku

  • Archived User
  • Newbie
  • *
  • Posts: 11
Using Openxdk With Dev-c++
« Reply #12 on: August 15, 2005, 11:18:00 AM »

I do not know what to do. I tried the tutorial 10 times and it does not work for me. Please help me. When i use this tutorial, first it says it can not find cygintl-3.dll. After installing that it says it can not find cygiconv-2.dll. After installing this the following message is appearing: "g++: installation problem, cannot exec 'cc1plus': No such file or directory". What to do? i tried to use i386-pc-xbox-gcc.lnk, i386-pc-xbox-g++.lnk and i386-pc-xbox-windres.lnk from C:\cygwin\usr\local\openxdk\bin instead of gcc and g++... and all compiles fine but there is no .exe made. Please help
Logged

Songoku

  • Archived User
  • Newbie
  • *
  • Posts: 11
Using Openxdk With Dev-c++
« Reply #13 on: August 15, 2005, 12:01:00 PM »

smile.gif Now i can start coding. smile.gif
Logged

ColdReader

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
Using Openxdk With Dev-c++
« Reply #14 on: August 16, 2005, 07:04:00 AM »

pop.gif
Logged
Pages: [1] 2