Big bugs in 1.5.0 Pre 2

Report bugs, bug fixes and workarounds here.
Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #81by rthorvald » 20.05.2007, 22:38

neo albireo wrote:I tried to compile with XCode just now, but build failed. I'm not experienced whatsoever, so far I was almost always lucky and builds succeeded. If there is anything simple and quick to make build succeed, please tell me.


If you have upgraded your Xtools recently, it changes the project filename. So if you update from CVS, the expected project might not exist. If you start from scratch, there is an error message and it is automatically fixed. Maybe that is your trouble?

I don??t know the Xcode versions relevant here, i just noticed that the current intel version expects the project to be named "celestia.xcodeproj", while the PPC version looks for "celestia.xcode".

- rthorvald
Image

neo albireo
Posts: 68
Joined: 03.02.2005
With us: 19 years 9 months
Location: Switzerland

Post #82by neo albireo » 21.05.2007, 08:34

I have Intel XCode Version 2.4
Xcode IDE: 759.0
Xcode Core: 757.0
ToolSupport: 733.0

So far, I always succeed. When building in Deployment mode (after CVS update and cleaning) I now get 21 errors and 15 warnings.

The errors:

Code: Select all

/Users/marco/celestia/macosx/../src/celengine/render.cpp:6605: error: expected primary-expression before '<<' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6605: error: expected primary-expression before '<<' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6605: error: expected primary-expression before '<<' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6605: error: expected primary-expression before '<' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6605: error: 'render' was not declared in this scope
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6606: error: expected `;' before 'char'
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6607: error: 'nameBuffer' was not declared in this scope
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6613: error: no matching function for call to 'Renderer::addLabel(<type error>, Color, Point3f)'
/Users/marco/celestia/macosx/../src/celengine/render.cpp:995: note: candidates are: void Renderer::addLabel(const char*, Color, const Point3f&, float)
/Users/marco/celestia/macosx/../src/celengine/render.cpp:1027: note:                 void Renderer::addLabel(const std::string&, Color, const Point3f&, float)
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6614: error: expected primary-expression before '==' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6614: error: expected primary-expression before '==' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6614: error: expected primary-expression before '==' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6614: error: expected primary-expression before '=' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6615: error: expected primary-expression before 'char'
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6615: error: expected `;' before 'char'
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6617: error: redeclaration of 'float distr'
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6608: error: 'float distr' previously declared here
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6622: error: no matching function for call to 'Renderer::addLabel(<type error>, Color, Point3f)'
/Users/marco/celestia/macosx/../src/celengine/render.cpp:995: note: candidates are: void Renderer::addLabel(const char*, Color, const Point3f&, float)
/Users/marco/celestia/macosx/../src/celengine/render.cpp:1027: note:                 void Renderer::addLabel(const std::string&, Color, const Point3f&, float)
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6623: error: expected primary-expression before '>>' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6623: error: expected primary-expression before '>>' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6623: error: expected primary-expression before '>>' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6623: error: expected primary-expression before '>' token
/Users/marco/celestia/macosx/../src/celengine/render.cpp:6624: error: expected `;' before 'nLabelled'
[/code]

neo albireo
Posts: 68
Joined: 03.02.2005
With us: 19 years 9 months
Location: Switzerland

Post #83by neo albireo » 22.05.2007, 07:42

Just deleted my celestia folder and downloaded from scratch and built without problems. Probably I updated too many times without a fresh new download.

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years

Post #84by dirkpitt » 22.05.2007, 12:10

rthorvald wrote:I don??t know the Xcode versions relevant here, i just noticed that the current intel version expects the project to be named "celestia.xcodeproj", while the PPC version looks for "celestia.xcode".

- rthorvald


Actually, the recommended project file is just celestia.xcodeproj. "celestia.xcode" exists only for people compiling on Mac OS X 10.3.

Aleksandr
Posts: 4
Joined: 16.07.2007
With us: 17 years 4 months

Post #85by Aleksandr » 18.07.2007, 08:31

Hello, tell please where I can download initial a code celestia 1.5? Excuse, what not in a theme, but I do not understand English, therefore necessary a theme have not found.

mjoubert
Posts: 58
Joined: 02.04.2007
With us: 17 years 7 months

Post #86by mjoubert » 18.07.2007, 09:17

As I don't understand exactly what you want, I try that :

CLICK

Aleksandr
Posts: 4
Joined: 16.07.2007
With us: 17 years 4 months

Post #87by Aleksandr » 18.07.2007, 09:30

No.... Not it. I mean the CODE. Which is written by programmers.
Sources code... celestia-1.5.0-pre3.tar.gz

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #88by selden » 18.07.2007, 09:57

The sourcecode for the current development version of Celestia is available on SourceForge, but not in tar format. You need to use anonymous cvs to get it.

http://sourceforge.net/projects/celestia
http://celestia.cvs.sourceforge.net/celestia/celestia/

cvs -z 3 -d:pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia checkout celestia
Selden


Return to “Bugs”