Author Topic: Orbiter compilation WinXP  (Read 5296 times)

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Orbiter compilation WinXP
« on: September 24, 2008, 04:22:21 pm »
Hello everybody,

I'm trying to build the Orbiter for Windows XP from sources (charon-merge), using Microsoft Visual Studio 2005. Everything goes fine, I have my executable, except that it crashes immediately at the logger window.
The debugger is pointing at the logger.cpp file, with the function ptime. I can't figure out what's wrong, I have all libraries and headers included, and the dependencies compiled as well (DCE and DSL-helpers).

Any clue to solve my issue? Your help is greatly appreciated!

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Orbiter compilation WinXP
« Reply #1 on: September 24, 2008, 04:25:45 pm »
If you're building to run on LinuxMCE 0710, you'll need to use the LinuxMCE-0710 branch, because otherwise your shared libs will mismatch.

-Thom

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Orbiter compilation WinXP
« Reply #2 on: September 24, 2008, 04:35:34 pm »
Thanks for your answer. I'm using the branch for LinuxMCE 0710, so I guess the libraries shouldn't cause any problem?
For info, I'm using MySQL Server 5.0 for the libraries, if this could be an issue also.

Thanks for your help!

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Orbiter compilation WinXP
« Reply #3 on: September 24, 2008, 04:45:32 pm »
charon-merge is not the 0710 branch.

please check out the sources from:
http://svn.charonmedia.org/svn/branches/LinuxMCE-0710

-Thom

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Orbiter compilation WinXP
« Reply #4 on: September 24, 2008, 05:20:18 pm »
Sorry, I wanted to say that I tried to compile with the 0710 as well (including the correct libraries), and my issue is the same. I got the .exe, but it crashes, and the debugger is pointing at the localtime_r function.
Is there something to do, regarding that I don't get any compilation errors? Thanks a lot!

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Orbiter compilation WinXP
« Reply #5 on: September 24, 2008, 06:30:48 pm »
Yannko I have gotten to the same spot ... it appears that error is a result  of  going from vis c ++ 6  to vc ++ 2005.
Something about time not getting initialized iirc. good luck let us know how you make out.. I have been trying on and off for several weeks on this.


Tim
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Orbiter compilation WinXP
« Reply #6 on: September 25, 2008, 01:18:56 pm »
Thanks for your post tkmedia; I'm looking at the release history of Visual Studio and Visual C, do you think it would be better to use the Visual C++ 6, or the .NET 2003 professional could help me as well (I got an old official copy of it, so I could use it normally)? Thanks for you help, I will tell you if I got some new results.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Orbiter compilation WinXP
« Reply #7 on: September 25, 2008, 01:27:13 pm »
VS.2003 was used to build the project and solution file.

-Thom

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Orbiter compilation WinXP
« Reply #8 on: September 26, 2008, 02:50:22 pm »
Installed Visual Studio .NET 2003 this morning, and got a successfully working executable. Great, that solved the problem, so compiling should be done with this release of Visual Studio.
Many thanks for your help!