Currently in Manjaro/Arch/Linux there's this issue:
```
/.../src/Mod/Raytracing/App/LuxProject.cpp: In member function ‘virtual App::DocumentObjectExecReturn* Raytracing::LuxProject::execute()’:
/.../src/Mod/Raytracing/App/LuxProject.cpp:85:20: error: variable ‘std::ifstream file’ has initializer but incomplete type
85 | ifstream file (fi.filePath().c_str());
| ^~
/.../src/Mod/Raytracing/App/LuxProject.cpp:89:20: error: variable ‘std::ofstream ofile’ has initializer but incomplete type
89 | ofstream ofile(tempName.c_str());
| ^~~~~~~~
```
See https://stackoverflow.com/questions/50355130/variable-stdofstream-outfile-has-initializer-but-incomplete-type.
Also edit `Precompiled.h` as compile fix
49 lines
2.1 KiB
C++
49 lines
2.1 KiB
C++
/***************************************************************************
|
|
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
|
* *
|
|
* This file is part of the FreeCAD CAx development system. *
|
|
* *
|
|
* This library is free software; you can redistribute it and/or *
|
|
* modify it under the terms of the GNU Library General Public *
|
|
* License as published by the Free Software Foundation; either *
|
|
* version 2 of the License, or (at your option) any later version. *
|
|
* *
|
|
* This library is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU Library General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU Library General Public *
|
|
* License along with this library; see the file COPYING.LIB. If not, *
|
|
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
|
* Suite 330, Boston, MA 02111-1307, USA *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef __PRECOMPILED__
|
|
#define __PRECOMPILED__
|
|
|
|
#include <FCConfig.h>
|
|
|
|
#ifdef _PreComp_
|
|
|
|
// STL
|
|
#include <fstream>
|
|
#include <iosfwd>
|
|
#include <sstream>
|
|
#include <vector>
|
|
|
|
// OpenCascade View
|
|
#include <BRepMesh_IncrementalMesh.hxx>
|
|
#include <gp_Pnt.hxx>
|
|
#include <ShapeAnalysis_ShapeContents.hxx>
|
|
#include <Standard.hxx>
|
|
#include <TopExp_Explorer.hxx>
|
|
#include <TopoDS.hxx>
|
|
#include <TopoDS_Face.hxx>
|
|
#include <TopoDS_Shape.hxx>
|
|
|
|
#endif //_PreComp_
|
|
|
|
#endif
|