Search found 27 matches

by 7ofNine
Sat Apr 10, 2021 1:51 pm
Forum: Install / Compile
Topic: Windows compilation fails on master
Replies: 2
Views: 607

Re: Windows compilation fails on master

I compile it regularly under Windows and haven't encountered real problems in a while using C++17. Looking at one of the errors I wonder if FreeCad is released for C++20 and/or some of the 3rd-party tools. For Eigen it complains about result_of is not part of std which hint's at a problem with C++20...
by 7ofNine
Thu Jul 16, 2020 7:03 pm
Forum: Install / Compile
Topic: Start the CMAKE compilation over.
Replies: 7
Views: 1784

Re: Start the CMAKE compilation over.

O.K. Simply removing doesn't work. Macros can not simply be removed. I would expect from any conversion tool that it can handle macros because they are integral part of the language and in FreeCAD they show up everywhere. Quite often they are used to save writing code and avoid repeating code snippe...
by 7ofNine
Thu Jul 16, 2020 12:11 am
Forum: Install / Compile
Topic: Start the CMAKE compilation over.
Replies: 7
Views: 1784

Re: Start the CMAKE compilation over.

I still try to understand what you mean by your question. As far as I know there is not a single C++ macro in the code that is related to a CMAKE defintion and it also shouldn't be. Also these #if etc. C++ preprocessor directives are unrelated to CMAKE. What CMAKE does is that it provides the user a...
by 7ofNine
Tue Dec 03, 2019 4:28 pm
Forum: Install / Compile
Topic: [solved] conda: win: build-errors 20191201
Replies: 25
Views: 3116

Re: conda: win: build-errors 20191201

My two cents.
I am building with libpack 12.1.2_x64_VC15 using VS 2019 16.4.0 preview 6 and don't run into problems of this type.
by 7ofNine
Sat May 11, 2019 2:42 pm
Forum: Developers corner
Topic: App:Property in ViewProvider::updateDate issue?
Replies: 7
Views: 816

Re: App:Property in ViewProvider::updateDate issue?

Thank's for the help. I also see now what I didn't see before (pun intended) which threw me off. I am not used to using address comparisons as a discriminator in a C++ program but that seems to be the FC style. Nonetheless there is that small bug with trying to open a file with no name. I am also wo...
by 7ofNine
Sat May 11, 2019 2:30 am
Forum: Developers corner
Topic: App:Property in ViewProvider::updateDate issue?
Replies: 7
Views: 816

Re: App:Property in ViewProvider::updateDate issue?

A dynamic_cast might work but I think using FreeCAD's own type system might be a better answer. I'll have to stare at it a little bit longer.
by 7ofNine
Fri May 10, 2019 10:29 pm
Forum: Developers corner
Topic: App:Property in ViewProvider::updateDate issue?
Replies: 7
Views: 816

Re: App:Property in ViewProvider::updateDate issue?

There is a small correction to the above statements. Actually none of the Property* is of type ImagePlane* . One of the Property*'s coming from the ImagePlane object is of type ImageFile*. It doesn't change the argument though. static_cast-ing anything to a type that it is not is, according to the s...
by 7ofNine
Fri May 10, 2019 7:18 pm
Forum: Developers corner
Topic: App:Property in ViewProvider::updateDate issue?
Replies: 7
Views: 816

App:Property in ViewProvider::updateDate issue?

I didn't find anything quickly that this might have been discussed before. History: In the recent 18.1 official installation in windows when using the image workbench and trying to put an image on a plane in 3D space I end up with an exception. But before that happens I see in the report window &quo...
by 7ofNine
Fri Feb 08, 2019 7:14 pm
Forum: Install / Compile
Topic: Libpack/Packagemanager for windows
Replies: 15
Views: 3070

Re: Libpack/Packagemanager for windows

I have some possibly terribly naive questions about the windows builds. 1) why are you insisting on using outdated versions of VS instead of the latest "usable" version? VS2013 is meanwhile hard to get anywhere. VS2015 is also outdated and incomplete with regard to C++11 support and there ...
by 7ofNine
Mon Sep 17, 2018 9:51 pm
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 349
Views: 63440

Re: ana(conda) windows packaging

I had to look into the executables to get some real info. There are mainly some data structures and names added as well as some debug hooks. The hooks are only executed when the debugger gets attached and are performance irrelevant. The optimizations of the code are the same as in the release case w...