Forums » Air Combat & Civil Aviation » EECH / EEAH » Source Compile Issues Active Topics You are not logged in. [Log In] [Register User]
Topic Options
Rate This Topic
Hop to:
#3572934 - 05/14/12 08:28 PM Source Compile Issues
aparsons Offline
Junior Member

Registered: 02/18/12
Posts: 14
After compiling the source under MSVC8 (no changes made to the source, just what I've downloaded) and run the resulting EXE (after copying it to my working EECH 1.14.1 directory - backing up my original EXE), when I load into the sim in the AH64D in any campaign, the chopper loads on its nose and 50% ends up damaging the main rotor and spinning in endless revolutions.

I'm building in Win32 Release (Win32 Debug is too slow to run on my development PC).

Anyone have any ideas what is going wrong? I made some changes to a few files regarding the shared memory data, found the issue, copied my changed files to a safe backup directory, then reverted all back to repository copy.

Top
#3573068 - 05/15/12 02:54 AM Re: Source Compile Issues [Re: aparsons]
arneh Online   content
Member

Registered: 06/18/06
Posts: 2259
Loc: Oslo, Norway
You need to use Watcom for compiling.

Someone was looking at making it work with Visual C++, and got it compiling, but I think the bug you're descriping was one of the remaining issues.

Top
#3573190 - 05/15/12 10:35 AM Re: Source Compile Issues [Re: aparsons]
aparsons Offline
Junior Member

Registered: 02/18/12
Posts: 14
That was exactly it. Also another issue I had was figuring out that you need the August 2007 version of the SDK and the appropriate libs and headers copied without the X86/X64 folders (copy the X86 files from the DirectXSDK\Libs\X86 to the WATCOM\lib386\nt directory, same for the WATCOM\h\nt files). Using the newer versions of the SDK resulted in type mismatch errors in dirdraw.c and a few other files.

Now to put my changes back into the source and see what pops out.

You're the man arneh. Hopefully, we can get some help in here to take care of the nitpicky things we want while you work on the major feature additions and recodings of things like cockpits that are very in-depth and a little tricky to understand the goings on. As we progress in working with EECH, there may be a day where EECH is brought to the beauty of sims we all wish it to be. With talented developers (which I hope to be, but am far from) and helpful people like yourself, EECH is where it is because of people like you and this community.

Top
#3573358 - 05/15/12 02:56 PM Re: Source Compile Issues [Re: aparsons]
Executioner Offline
Member

Registered: 06/21/08
Posts: 200
Originally Posted By: aparsons
That was exactly it. Also another issue I had was figuring out that you need the August 2007 version of the SDK and the appropriate libs and headers copied without the X86/X64 folders (copy the X86 files from the DirectXSDK\Libs\X86 to the WATCOM\lib386\nt directory, same for the WATCOM\h\nt files). Using the newer versions of the SDK resulted in type mismatch errors in dirdraw.c and a few other files.

Now to put my changes back into the source and see what pops out.

You're the man arneh. Hopefully, we can get some help in here to take care of the nitpicky things we want while you work on the major feature additions and recodings of things like cockpits that are very in-depth and a little tricky to understand the goings on. As we progress in working with EECH, there may be a day where EECH is brought to the beauty of sims we all wish it to be. With talented developers (which I hope to be, but am far from) and helpful people like yourself, EECH is where it is because of people like you and this community.


I hate to show up and wave, but the VS2010 code version was down to me - and life got in the way. I have the latest source from the repository again and I'll be looking to do a merge this weekend (possibly into next week) - at which point anyone will be able to use a more modern compiler to make builds smile

The most pressing issue I found had to do with compiler interaction with the FPU - I added specific FPU assembly code to fix the issue (I believe what you are describing was part of that - maths being the root of most of the problems that manifest in-sim with VStudio compiles).

Anyway - looking forward to next week wink

Martin...

Top
#3573849 - 05/16/12 11:19 AM Re: Source Compile Issues [Re: aparsons]
aparsons Offline
Junior Member

Registered: 02/18/12
Posts: 14
Real life has a way of shifting priorities, thats for sure.

In the meantime, I've been compiling with OpenWatcom successfully and developing in VS2008. I've also created a project file for EECHCommServer and EECHCommClient projects in order to build the associated exes, as I'm working on getting more data out of EECH so I can use it in my external HUD program.

Top
#3598039 - 06/27/12 06:52 AM Re: Source Compile Issues [Re: aparsons]
gr1mR36p3r Offline
Junior Member

Registered: 12/04/08
Posts: 35
Loc: italy, napoli
ehm... then sry for stepping in wink
eventually, after ages, I have a small machine (just an Amd X2, still pretty cool) just devoted to developing ...
so when the VS2010 is ready you have another man on the team wink

ps. I have an old idea I would like to dig into...
pps. btw, who do I have to ask for access to the repository??
ppps. Arneh you still around? smile


Edited by gr1mR36p3r (06/27/12 06:52 AM)
Edit Reason: my english is rubbish, not the post is slightly clearer!!

Top
#3598077 - 06/27/12 08:52 AM Re: Source Compile Issues [Re: aparsons]
AndyB Offline
Member

Registered: 12/13/09
Posts: 347
Loc: Ayrshire, Scotland
Hi gr1mRe6p3r,

I believe you need to email:

eech-dev-subscribe@bollocks.net.nz

and ask for an access account.

When you get a response you then need to go to the repository and set up an account.

All the details are here:

www.eechcentral.com/wiki/index.php?title=Development

Hope this helps,

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

Top
#3598575 - 06/28/12 03:55 AM Re: Source Compile Issues [Re: aparsons]
gr1mR36p3r Offline
Junior Member

Registered: 12/04/08
Posts: 35
Loc: italy, napoli
it does smile going to do that now :P

Top
#3598580 - 06/28/12 04:04 AM Re: Source Compile Issues [Re: aparsons]
gr1mR36p3r Offline
Junior Member

Registered: 12/04/08
Posts: 35
Loc: italy, napoli
the original idea I wanted to work on was to improve the terrain texture. something like take on, where you could land and walk on foot...
it is such a difficult task I cannot start to fathom, yet I would like to try, and before doing that I would like to know how EE enging manages texture...
ok, it seems like I never layed a brick the whole of my life and now I want to build a cathedral... but who knows wink

Top
Topic Options
Rate This Topic
Hop to:

Moderator:  RacerGT 
 

Forum Use Agreement | Privacy Statement
Copyright 1997-2013, SimHQ Inc. All Rights Reserved.