Help on env/compile issue

This forum is for programmers who have questions about the source code.
Post Reply
jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Help on env/compile issue

Post by jfd2 » Thu Dec 16, 2010 12:59 pm

Hello all,

I compiled the 7.5 tree with vs express 2010 and it can be run on the dev machine. when I moved to two other machines, the opendental crashed right away. i even tried the debug version and still cannot see any message except the OS saying "the opendental is crashed etc". here are my env for all the machines:

1) dev machine: used for compiling and runs ok
32b vista business, .net 3.5sp1 and 4.0 and enterprise lib 5.0 exist
2) client machine 1: 64b vista business .net 3.5sp1 and 4.0
3) client machine2: 32b vista home. .net 3.5sp1 and 4.0

i assume either there is something in the dev machine but not in the client machines. but I could not identify what really needed for the opendental to run except the .net libs.

Or is it some of the flags I did not set rigth in the compiling setting? i did not change anything when I open the solution, but made sure the ref path and the platform (x86) and release flag are all set when building.

Really appreciate your help. thanks so much.

Jfd
Best regards,

Jeff

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Help on env/compile issue

Post by wjstarck » Thu Dec 16, 2010 4:08 pm

I'm guessing your other two boxes are missing a critical .dll, or they have the wrong version.

Check the files in the OD folder on your other two boxes against those on the dev machine.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Re: Help on env/compile issue

Post by jfd2 » Thu Dec 16, 2010 4:35 pm

thanks for the reply, I actually copied the who dir from the dev machine to other machines. But I did a fold comparison and there was no difference between these OD folders. so if the dll is missing or wrong version, then must be some common ones somewhere.
Best regards,

Jeff

jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Re: Help on env/compile issue

Post by jfd2 » Fri Dec 17, 2010 11:29 am

Ok, I get little more. although not sure about the cause of my problem.

since vs10 let you chose the target .net platform to run. i found out that 5 of the projects (rdlengine, rdlview, reportdesigner, xcodebase, xdatabaseIntegritycheck) aare all targeted 2.0 but all others are targeting 3.5?

is this by design?

should all targeting one platform etc?

thanks.
jfd
Best regards,

Jeff

jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Re: Help on env/compile issue

Post by jfd2 » Fri Dec 17, 2010 11:42 am

i tried by changing all projects to targeting 3.5 and still make no difference when move to another machine.
Best regards,

Jeff

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Help on env/compile issue

Post by wjstarck » Fri Dec 17, 2010 1:53 pm

No, as you found out, some still target 2.0.

So that's not the problem.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Re: Help on env/compile issue

Post by jfd2 » Fri Dec 17, 2010 3:00 pm

Another dummy question, do we need anything else, except the dotnet and all the compiled solution dir from the opendental. anything else did I miss?
Best regards,

Jeff

jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Re: Help on env/compile issue

Post by jfd2 » Fri Dec 17, 2010 4:37 pm

Ok, finally got this off. it is the directX versions on all those machines that are different. so I reinstalled the directX on all machines and recompiled the code. looks like it is fine now.

thanks.

jfd
Best regards,

Jeff

Post Reply