News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Orbiter compilation WinXP

Started by yannko, September 24, 2008, 04:22:21 PM

Previous topic - Next topic

yannko

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

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

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

charon-merge is not the 0710 branch.

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

-Thom

yannko

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

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 [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

yannko

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

VS.2003 was used to build the project and solution file.

-Thom

yannko

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!