LinuxMCE Forums
May 23, 2013, 05:00:43 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Orbiter compilation WinXP  (Read 1370 times)
yannko
Regular Poster
**
Posts: 22


View Profile
« on: September 24, 2008, 03: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!
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: September 24, 2008, 03: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
Logged
yannko
Regular Poster
**
Posts: 22


View Profile
« Reply #2 on: September 24, 2008, 03: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!
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #3 on: September 24, 2008, 03: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
Logged
yannko
Regular Poster
**
Posts: 22


View Profile
« Reply #4 on: September 24, 2008, 04: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!
Logged
tkmedia
wants to work for LinuxMCE
**
Posts: 936


View Profile WWW
« Reply #5 on: September 24, 2008, 05: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
Logged

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
« Reply #6 on: September 25, 2008, 12: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.
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #7 on: September 25, 2008, 12:27:13 pm »

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

-Thom
Logged
yannko
Regular Poster
**
Posts: 22


View Profile
« Reply #8 on: September 26, 2008, 01: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!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!