QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Problem compiling cpp

This is a discussion on Problem compiling cpp within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; When I compiling c to prx it's ok, but when I compling cpp it said "cannot find entry symbol module_start..." ...

Reply
 
LinkBack Thread Tools
Old 07-11-2007, 12:47 AM   #1
 
Join Date: May 2007
Posts: 4
Trader Feedback: 0
Default Problem compiling cpp

When I compiling c to prx it's ok,
but when I compling cpp it said
"cannot find entry symbol module_start..."
please let me know why and how to solve

can I compile cpp to prx?

thx
symfzerily is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2007, 01:41 AM   #2
 
 
My Mood: Bored
Join Date: Apr 2006
Location: England ~¦¦¦|+|¦¦¦~
Posts: 1,112
Trader Feedback: 0
Default

is the cpp file any different to the c file? From what i can see, you haven't put 'module_start' anywhere, this is the equivalent of 'main' in other projects. How bout posting your code so i can see.
__________________
...Just Returned To The Scene...
JaSo PsP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2007, 01:58 AM   #3
 
Join Date: May 2007
Posts: 4
Trader Feedback: 0
Default You could understand my questions this way

I've made a game correctly(cpp), I can compile it to eboot.pbp

But how should I change the source code and Makefile
if I want to compile it to a PRX file
thx


->JaSo PsP (thx for reading my post)
not really,
the error above happens whether I've got a module_start or not.

I've a sample which can be compiled to PRX successfully,
but when I change its extension from c to cpp
it tells can not find entry symbol module_start again.

it must be the difference between c and cpp


by the way My code is to long to post. But it can be compiled to eboot.pbp successfully.

Last edited by symfzerily; 07-11-2007 at 02:09 AM.. Reason: Automerged Doublepost
symfzerily is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2007, 08:34 AM   #4
 
 
My Mood: Bored
Join Date: Apr 2006
Location: England ~¦¦¦|+|¦¦¦~
Posts: 1,112
Trader Feedback: 0
Default

Quote:
Originally Posted by symfzerily
I've made a game correctly(cpp), I can compile it to eboot.pbp

But how should I change the source code and Makefile
if I want to compile it to a PRX file
thx


->JaSo PsP (thx for reading my post)
not really,
the error above happens whether I've got a module_start or not.

I've a sample which can be compiled to PRX successfully,
but when I change its extension from c to cpp
it tells can not find entry symbol module_start again.

it must be the difference between c and cpp


by the way My code is to long to post. But it can be compiled to eboot.pbp successfully.
i think the error may lie in your Makefile. have you put BUILD_PRX = 1 in it? I'm probably wrong, theres not much i can tell you without actually seeing the evidence
__________________
...Just Returned To The Scene...
JaSo PsP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
compiling , cpp , problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 08:20 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us