Unofficial Window X64 and X32 Development Snapshots

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
ektus
Posts: 141
Joined: Sat Sep 22, 2012 6:23 pm
Location: Germany

Re: Unofficial Window X64 and X32 Development Snapshots

Postby ektus » Sat Dec 20, 2014 9:00 am

sgrogan wrote:I have upload updated unofficial development snapshot of FreeCAD 15.4283 here:

https://www.dropbox.com/sh/5pa8odwo234t ... F_9Wa?dl=0

There are 32 and 64 bit builds. Unfortunately the x64 build will not run on Win XP you'll need to use the x86 build.
Follow the instruction in the readme.
Trying to run the 64bit Version from the link above on my Windows 7 notebook, I encounter three times runtime error
Runtime_error.png
Runtime_error.png (32.43 KiB) Viewed 1896 times
and a message "DLL load failed".
DLL_load_failure.png
DLL_load_failure.png (60.15 KiB) Viewed 1896 times
Installation: Uncompressed the folder inside the "programs" directory. The same error happens if I attempt to start the program from a network drive.

Nevertheless, FreeCAD 0.15 seems to work, I was able to load a model, but my Space Mouse doesn't. It is working in 0.14.3389 (that one was started from an entry in the "start" menu).

Regards
Ektus.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4283 (Git)
Branch: master-sgrogan-build
Hash: d8722070b819af0a9ad0a2efc138a3e7decec33e
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
wmayer
Site Admin
Posts: 15274
Joined: Thu Feb 19, 2009 10:32 am

Re: Unofficial Window X64 and X32 Development Snapshots

Postby wmayer » Sat Dec 20, 2014 10:37 am

Do I get you right that you first get the runtime error dialog but the application still comes up with the main window where it shows that a DLL cannot be loaded?

To troubleshoot this issue try to load all workbenches and note which you cannot load. Then use the tool "dependency walker" and import the corresponding DLLs for which the workbench didn't load. In the dependency list you should find some icons of missing or incompatible DLLs.
User avatar
r-frank
Posts: 2181
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Unofficial Window X64 and X32 Development Snapshots

Postby r-frank » Sat Dec 20, 2014 10:44 am

Hello.

For the 015.4250 - Development Snapshot SGROGAN was hosting previously on Dropbox, he
mentioned in the readme that you also have to install the
Microsoft Visual C++ 2013 Redistributable (X64) - [The Version of FreeCAD was 64bit]

Maybe this is also the case here ?

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
microelly2
Posts: 4560
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Unofficial Window X64 and X32 Development Snapshots

Postby microelly2 » Sat Dec 20, 2014 11:12 am

I tested it on win32

Self Tests results
Running with the libpack installed works fine

Runnning without the libpack
error in testcase 38/39

The fem module raises the dll error.
TestWorkbenchLoading GUI of Mesh module... done
Loading GUI of MeshPart module... done
Loading GUI of Drawing module... done
Loading Raytracing module... done
Loading GUI of Raytracing module... done
Loading GUI of Image module... done
Loading GUI of Complete module... done
Loading Drawing module... done
Loading Image module... done
Loading Complete module... done
Active: CompleteWorkbench Expected: CompleteWorkbench
Active: PlotWorkbench Expected: PlotWorkbench
Active: TestWorkbench Expected: TestWorkbench
Loading Spreadsheet module... done
Spreadsheet workbench activated
Active: SpreadsheetWorkbench Expected: SpreadsheetWorkbench
Loading GUI of Web module... done
Spreadsheet workbench deactivated
Active: WebWorkbench Expected: WebWorkbench
Loading GUI of Inspection module... done
Active: InspectionWorkbench Expected: InspectionWorkbench
Active: ShipWorkbench Expected: ShipWorkbench
Active: PartWorkbench Expected: PartWorkbench
Active: DrawingWorkbench Expected: DrawingWorkbench
DLL load failed: Das angegebene Modul wurde nicht gefunden.
Traceback (most recent call last):
File "<string>", line 65, in Initialize

Active view is UndoTest : 1[*] (at 1F370AC0)
Active: DrawingWorkbench Expected: FemWorkbench
User avatar
ektus
Posts: 141
Joined: Sat Sep 22, 2012 6:23 pm
Location: Germany

Re: Unofficial Window X64 and X32 Development Snapshots

Postby ektus » Sat Dec 20, 2014 11:41 am

wmayer wrote:Do I get you right that you first get the runtime error dialog but the application still comes up with the main window where it shows that a DLL cannot be loaded?
Exactly. I get this dialogue three times, and then the main window comes up as shown in the screenshot, complete with error message and with blank background.
wmayer wrote: To troubleshoot this issue try to load all workbenches and note which you cannot load. Then use the tool "dependency walker" and import the corresponding DLLs for which the workbench didn't load. In the dependency list you should find some icons of missing or incompatible DLLs.
You lost me there. I'm user, my programming experience ends with a little VBA in MS Excel...

Missing workbenches (calling them brings another of those dialogues): Arch, FEM, inspection, OpenSCAD, PartDesign, Points (new message: DLL not found), Reverse Engineering (not found), Sketcher, Spreadsheet, Start.

Looks like all of them...

There are a lot of DLLs in the FreeCAD-portable directory. Is there a (security) setting somewhere that prevents them from being loaded?


Regards
Ektus.
User avatar
sgrogan
Posts: 5585
Joined: Wed Oct 22, 2014 5:02 pm

Re: Unofficial Window X64 and X32 Development Snapshots

Postby sgrogan » Sat Dec 20, 2014 1:29 pm

@ektus

please install Microsoft Visual C++ 2013 Redistributable (X64)

http://www.microsoft.com/en-us/download ... x?id=40784

I am running the x64 version that I download on a non-build machine with no errors.
User avatar
ektus
Posts: 141
Joined: Sat Sep 22, 2012 6:23 pm
Location: Germany

Re: Unofficial Window X64 and X32 Development Snapshots

Postby ektus » Sat Dec 20, 2014 1:42 pm

sgrogan wrote:@ektus

please install Microsoft Visual C++ 2013 Redistributable (X64)

http://www.microsoft.com/en-us/download ... x?id=40784
Okay, download and install complete, but no improvement.
There are several versions of the re-distributable installed on this machine: 2005 x86 and x64, 2008 x86 and x64 in 7 different flavours, 2010 x86 and x64 10.0.40219 and now 2013 x64 12.0.21005. Should I uninstall some of the older versions, or would that have the potential to break other applications?


Regards
Ektus.
User avatar
sgrogan
Posts: 5585
Joined: Wed Oct 22, 2014 5:02 pm

Re: Unofficial Window X64 and X32 Development Snapshots

Postby sgrogan » Sat Dec 20, 2014 1:58 pm

@ektus

No other versions are necessary. This build of FreeCAD should run standalone (even from a USB) as long as the 2013 redistributable is installed on the host machine.
I will look into this. Thanks for the feedback.
User avatar
ektus
Posts: 141
Joined: Sat Sep 22, 2012 6:23 pm
Location: Germany

Re: Unofficial Window X64 and X32 Development Snapshots

Postby ektus » Sat Dec 20, 2014 4:39 pm

sgrogan wrote:@ektus

No other versions are necessary. This build of FreeCAD should run standalone (even from a USB) as long as the 2013 redistributable is installed on the host machine.
I will look into this. Thanks for the feedback.
You're welcome.

For the records: I installed and tried the previous snapshot, too, to see if there was a change, but encountered the same errors. I also did a fresh install from the archive to rule out corrupted files.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4250 (Git)
Branch: master
Hash: ec4a496866d707084168425927bbb8ecc4ea9ee9
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
wmayer
Site Admin
Posts: 15274
Joined: Thu Feb 19, 2009 10:32 am

Re: Unofficial Window X64 and X32 Development Snapshots

Postby wmayer » Sat Dec 20, 2014 4:52 pm

On my system I have installed the files MSVCP120.DLL and so on but some workbenches do not load. These are:
* Reverse Engineering
* Points
* Inspection
* Complete

The reason for the failure is the missing file VCOMP120.DLL. No idea how this is possible because the file is supposed to be part of the re-distributable.