Game Development Community

Run on PC, but not on MAC

by Isaac Barbosa · in iTorque 2D · 02/19/2010 (6:57 pm) · 11 replies

Hi,

I have no idea on what to do next to solve this. My game is running fine in PC (development machine since I have torsion) but when I try on the MAC the game crashes. Any idea? What could be wrong or what should I check?

Thanks

#1
02/19/2010 (7:33 pm)
Console.log is the first thing to look at, but it doesn't show the last line printed. This is the first place to look.
#2
02/19/2010 (9:50 pm)
nothing wrong with the console. I have no idea since it is working on the PC and my experience with other games is that if run in the PC should run in the MAC... and then in the iPod. This is not my first project. No idea what´s wrong.

Thanks
#3
02/19/2010 (9:55 pm)
on Xcode,

getting EXC_BAD_ACCESS

and mLinearPickList.clear() is highlighted in the function t2dScenegraph::clearPickList(); in the file t2dSceneGraph.cc

No idea on how to fix this.

Any help is as always greatly appreciated
#4
02/19/2010 (10:40 pm)
I´ve done this with every previous project, this is giving problem:

Build in 1.2

Not run in 1.3.1

How can update the 1.2 project to 1.3.1?
#5
02/19/2010 (11:22 pm)
When you say you tried it on the Mac do you mean the iPhone or the desktop?
#6
02/20/2010 (1:52 am)
Have you read the quick start guide?
#7
02/20/2010 (7:39 pm)
Yes, I´ve read. But it´s a quick start guide and it doesn´t solve nothing. And I guess that the documentation is the same documentation, not updated, so I don´t read. The game runs perfect if I use 1.2 but not if I intend to use 1.3.1 -I´ve created a new project using 1.3.1 and have copied game folder, as usual with other games, and should works, but don´t-.

When I say MAC I mean MAC.

Thanks
#8
02/20/2010 (7:42 pm)
Does your code use anything specific?

Some stuff has changed since 1.2, most obviously the 3D shapes were cut completely. but they are not the only thing that changed
#9
02/20/2010 (9:42 pm)
nothing specific

the weird thing is that another 3 projects runs fine. This one is giving problem and I´m following same logic. I mean, I´m the same guy with the same brain! ;)

#10
02/20/2010 (10:04 pm)
then they likely have something specific in that no longer exists. try running them in a debug build straight from xcode
#11
02/22/2010 (3:13 am)
You're going to need to use the debugger and track the problem.