Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows buildscript #27

Closed
berndhahnebach opened this issue Feb 2, 2016 · 37 comments
Closed

windows buildscript #27

berndhahnebach opened this issue Feb 2, 2016 · 37 comments

Comments

@berndhahnebach
Copy link
Contributor

Just tried to build on windows 7 by provided buildscript. I had done this before sucessfully a few times (last one on 8th of January). I get an error on building depencieces. I do not know if it is the right place to report the problem?

Attached a file containing the last 9999 lines of compiling. Is oce the culprit?

bernd
log.txt

@Stinkfist0
Copy link
Contributor

For starters I would probably try removing the deps\oce\build-vs2013-x64 folder and try again. If that doesn't help, maybe try removing deps\oce altogether and rerun the script.

@berndhahnebach
Copy link
Contributor Author

Thanks for your help. Tested both, same problem.

@aothms
Copy link
Member

aothms commented Feb 2, 2016

@Stinkfist0 I don't see any recent commits in OCE (not sure if recent changes broke the oce build), but maybe it's better to let the build script checkout a tag to be sure it's stable?

@Stinkfist0
Copy link
Contributor

@aothms Yeah, it would be nice to fix OpenCOLLADA and Open Cascade to known good revisions.

@berndhahnebach
Copy link
Contributor Author

@aothms Yeah, it would be nice to fix OpenCOLLADA and Open Cascade to known good revisions.

+1

@Stinkfist0
Copy link
Contributor

I will be testing with VS 2013 x64 build on Windows 10 and will report back.

@Stinkfist0
Copy link
Contributor

@berndhahnebach seems to build OK. Maybe try building the INSTALL project of the oce.sln manually from the VS IDE?

@berndhahnebach
Copy link
Contributor Author

I'm not a windows guy in the regard of compiling. How would I do this?

@Stinkfist0
Copy link
Contributor

@berndhahnebach A-haa, I see C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\ in your output - are you running the VS2013 x64 Cross Tools Command Prompt which is meant for compiling 64-bit code on a 32-bit platform? I haven't tried that and have used VS2013 x64 Native Tools Command Prompt always and e.g. where libshould look like this: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\lib.exe

@berndhahnebach
Copy link
Contributor Author

The window title of my comand prompt says
VS2013 x64 Cross Tools Command Prompt

Thats the one I have been successfully build IfcOpenShell and depencies with your Build script quite a few times since August 2015

@Stinkfist0
Copy link
Contributor

OK, there might be something wonky in OCE regarding that. I'd recommend using Developer Command Prompt for VS2013 if doing only 32-bit builds or VS2013 x64 Native Tools Command Prompt if doing 64-bit and 32-bit builds.

Just to make sure: you are running on a 64-bit Windows?

@berndhahnebach
Copy link
Contributor Author

deleted all and started new ....

Win7 Pro SP1, all Windows updates
Microsoft Visual Studio Express 2013 for Windows Desktop

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts\Developer Command Prompt for VS2013
it says Developer Command Prompt for VS2013 in the windowtitle of the promt

git clone https://github.com/IfcOpenShell/IfcOpenShell C:\Users\bhb\Desktop\ifcos\ifcosdev
cd  C:\Users\bhb\Desktop\ifcos\ifcosdev\win

set IFCOS_USE_PYTHON2=TRUE

build-deps.cmd "Visual Studio 12 2013 Win64"
... 

       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKFillet\TKFillet.vcxproj.metaproj" (St
       andardziel) (32) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKFillet\TKFillet.vcxproj" (Standardzie
       l) (95) ->
         BRepFilletAPI_LocalOperation.obj : warning LNK4221: This object file does not define any previously undefined
       public symbols, so it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\if
       cos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKFillet\TKFillet.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKNIS\TKNIS.vcxproj.metaproj" (Standard
       ziel) (37) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj.metaproj" (St
       andardziel) (38) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj" (Standardzie
       l) (100) ->
         OpenGl_AVIWriter.obj : warning LNK4221: This object file does not define any previously undefined public symbo
       ls, so it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\ifcos\ifcosdev
       \deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKSTEP\TKSTEP.vcxproj.metaproj" (Standa
       rdziel) (43) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKSTEP\TKSTEP.vcxproj" (Standardziel) (
       115) ->
       (ClCompile Ziel) ->
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\STEPConstruct\STEPConstruct_AP203Context.cxx(149): warning C4
       996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to d
       isable deprecated API warnings [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKSTEP\T
       KSTEP.vcxproj]

    31 Warnung(en)
    0 Fehler

Verstrichene Zeit 00:08:03.16
Das Sprungziel - InstallCMakeProject wurde nicht gefunden.

An error occurred


C:\Users\bhb\Desktop\ifcos\ifcosdev\win

EDIT: sorry but I do not know how to change languarge on a windows command promt to english. I do not even know it it is possible though.

@Stinkfist0
Copy link
Contributor

It would appear that you're using Express instead of Community, but don't think that should matter. Note that with Developer Command Prompt for VS2013 you want/can build 32-bit version, i.e. pass "Visual Studio 12 2013" (omit the Win64). FYI, in the near future I'm committing an enhancement which picks the used generator automatically.

You might want to translate "Das Sprungziel - InstallCMakeProject wurde nicht gefunden." into English and Google that. System languages can be added and changed from Control Panel\Clock, Language, and Region\Language

@Stinkfist0
Copy link
Contributor

To build the install INSTALL project manually: after using the right CMake generator and assuming the build still fails, open up C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x86\OCE.sln, in the Solution Explorer you should see INSTALL project, right click -> project only -> build INSTALL only

@berndhahnebach
Copy link
Contributor Author

To build the install INSTALL project manually: open up "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln, in the Solution Explorer you should see INSTALL project, right click -> project only -> build INSTALL only

screen

No I don't see any "INSTALL project" to do a right click on. I used "ALL_BUILD" instead. Means I made right click --> build only ALL_BUILD. In output window it said.

1>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
1>  Building Custom Rule C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/CMakeLists.txt
1>  CMake does not need to re-run because C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\CMakeFiles\generate.stamp is up-to-date.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

I tried rebuild and right click on ALL_BUILD --> clean only ALL_BUILD and build no sucess same output.

BTW: Thanks very much for all the help so far.

@Stinkfist0
Copy link
Contributor

Did you now switch to x64 command prompt? Please tell exactly which command prompt (and toolset thereof) and CMake generator you are using.

INSTALL should be under the CMakePredefinedTargets folder. Also, can you try putting pause in here after the CMake invokation and check out the output https://github.com/IfcOpenShell/IfcOpenShell/blob/master/win/build-deps.cmd#L234 Maybe delete \deps\oce\build-vs2013-x86\CMakeCache.txt before that.

@berndhahnebach
Copy link
Contributor Author

Did you now switch to x64 command prompt? Please tell exactly which command prompt (and toolset thereof) and CMake generator you are using.

screen

@Stinkfist0
Copy link
Contributor

How about the CMake generator? For you it must be "Visual Studio 12 2013". Weird that you don't have the VS2013 x64 Native Tools Command Prompt shortcut there. Maybe it's a limitation in the Express edition (Community is really what's recommended), maybe you forgot the check some box during the installation, who knows. And just making sure that you are running 64-bit Windows (Win+Pause will tell that quickly, see System type)? Although judging from the Program Files folder that is the case.

@berndhahnebach
Copy link
Contributor Author

Deinstalled express edition and installed community edition ...

Just to make sure I'm using the right tools ....

Win+Pause --> 64 bit
Win7 Pro SP1 64bit
Microsoft Visual Studio Community 2013 with Update 5

From:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts
I used:
VS2013 x64 Native Tools Command Prompt

Same problem as before. I wil try the manual build of oce.

@Stinkfist0
Copy link
Contributor

OK, this would appear to be a very weird bug indeed. BTW what's your CMake version (cmake --version)?

@berndhahnebach
Copy link
Contributor Author

C:\Users\bhb\Desktop\ifcos\ifcosdev\win>cmake --version
cmake version 3.3.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

C:\Users\bhb\Desktop\ifcos\ifcosdev\win>

@Stinkfist0
Copy link
Contributor

OK, it might be worth a shot to update CMake, although it should not be issue here, but who knows...

@Stinkfist0
Copy link
Contributor

Also the output from OCE's CMake invokation would be interesting too see (put pause after the RunCMake call).

@berndhahnebach
Copy link
Contributor Author

OK, it might be worth a shot to update CMake

done

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64>cmake --version
cmake version 3.5.0-rc1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64>

Also the output from OCE's CMake invokation would be interesting too see (put pause after the RunCMake call).

Cloning Open CASCADE Community Edition into C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce.
Cloning into 'C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce'...
remote: Counting objects: 185674, done.
remote: Total 185674 (delta 0), reused 0 (delta 0), pack-reused 185674
Receiving objects: 100% (185674/185674), 169.77 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (130646/130646), done.
Checking connectivity... done.
Checking out files: 100% (52099/52099), done.
Cloning Open CASCADE Community Edition into C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle.
Cloning into 'C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle'...
remote: Counting objects: 7423, done.
rRemote: Total 7423 (delta 0), reused 0 (delta 0), pack-reused 7423eceiving objects: 100% (7423/7423), 17.28 MiB | 1.14
Receiving objects: 100% (7423/7423), 17.42 MiB | 1.13 MiB/s, done.

Resolving deltas: 100% (3820/3820), done.
Checking connectivity... done.
Checking out files: 100% (3513/3513), done.
Running CMake for Open CASCADE Community Edition.
-- The C compiler identification is MSVC 18.0.40629.0
-- The CXX compiler identification is MSVC 18.0.40629.0
-- Check for working C compiler using: Visual Studio 12 2013 Win64
-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013 Win64
-- Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build 64bit
Using oce-win-bundle checkout
-- Found MSVC compiler: 1 1800
oce_output_path: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64/bin/
-- Creating directory, C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64/oce-win-bundle/libs/freetype/includ
e/freetype2.
-- Creating C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64/oce-win-bundle/libs/freetype/include/freetype2
/ftconfig.h.
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found OpenGL: opengl32
-- OPENGL LIBS: glu32;opengl32
-- FREETYPE LIBS: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64/bin/$<CONFIG>/freetype.lib
-- FREETYPE INCLUDES: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/oce-win-bundle/libs/freetype;C:/Users/bhb/Desktop/ifc
os/ifcosdev/deps/oce/oce-win-bundle/libs/freetype/include
-- THREAD LIB:
-- Windows system detected
-- Found MSVC compiler: 1 1800
-- output_path: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64/bin/
Warning: OCE_USE_STATIC_MSVC_RUNTIME option can lead to deployment/maintenance issues. Use it when building
                an application executable that uses OCE, not when building redistributable OCE library for others
                to use. See the related discussion at https://github.com/tpaviot/oce/pull/577.
-- Processing ToolKit: TKernel (FSD;MMgt;OSD;Plugin;Quantity;Resource;SortTools;Standard;StdFail;Storage;TColStd;TCollec
tion;TShort;Units;UnitsAPI;IncludeLibrary;Dico;NCollection;Message)
-- Processing ToolKit: TKMath (math;ElCLib;ElSLib;BSplCLib;BSplSLib;PLib;Precision;GeomAbs;Poly;CSLib;Convert;Bnd;BVH;gp
;TColgp;TopLoc;Expr;ExprIntrp)
-- Processing ToolKit: TKG2d (Geom2d;LProp;TColGeom2d;Adaptor2d;Geom2dLProp;Geom2dAdaptor;GProp)
-- Processing ToolKit: TKG3d (Geom;TColGeom;GeomAdaptor;AdvApprox;GeomLProp;Adaptor3d;LProp3d;TopAbs)
-- Processing ToolKit: TKGeomBase (ProjLib;GeomProjLib;GCPnts;CPnts;Approx;AppParCurves;FEmTool;AppCont;Extrema;IntAna;I
ntAna2d;GeomConvert;AdvApp2Var;GeomLib;Geom2dConvert;Hermit;BndLib;AppDef;GeomTools;GC;GCE2d;gce)
-- Processing ToolKit: TKBRep (TopoDS;TopExp;TopTools;BRep;BRepLProp;BRepAdaptor;BRepTools)
-- Processing ToolKit: TKGeomAlgo (Hatch;GeomInt;IntStart;IntWalk;IntImp;IntCurveSurface;IntSurf;IntPatch;Geom2dInt;IntI
mpParGen;IntRes2d;IntCurve;TopTrans;Intf;ApproxInt;GccAna;GccEnt;GccInt;GccIter;GccGeo;HatchGen;Geom2dHatch;Law;AppBlend
;Plate;GeomPlate;LocalAnalysis;GeomAPI;GeomFill;Geom2dAPI;Geom2dGcc;FairCurve;NLPlate;IntPolyh;TopClass)
-- Processing ToolKit: TKTopAlgo (IntCurvesFace;MAT;MAT2d;Bisector;BRepMAT2d;BRepCheck;BRepBndLib;BRepExtrema;BRepClass;
BRepClass3d;BRepLib;BRepGProp;BRepIntCurveSurface;BRepTopAdaptor;BRepBuilderAPI;BRepApprox)
-- Processing ToolKit: TKPrim (BRepPrim;Primitives;BRepSweep;Sweep;BRepPrimAPI)
-- Processing ToolKit: TKBO (IntTools;BRepAlgoAPI;BOPCol;BOPInt;BOPDS;BOPAlgo;BOPTools)
-- Processing ToolKit: TKHLR (HLRTopoBRep;HLRBRep;HLRAlgo;HLRAppli;Intrv;TopBas;TopCnx;Contap)
-- Processing ToolKit: TKMesh (BRepMesh)
-- Processing ToolKit: TKShHealing (ShapeBuild;ShapeExtend;ShapeConstruct;ShapeCustom;ShapeAnalysis;ShapeFix;ShapeUpgrad
e;ShapeAlgo;ShapeProcess;ShapeProcessAPI)
-- Processing ToolKit: TKXMesh (XBRepMesh)
-- Processing ToolKit: TKBool (TopOpeBRep;TopOpeBRepDS;TopOpeBRepBuild;TopOpeBRepTool;BRepAlgo;BRepFill;BRepProj)
-- Processing ToolKit: TKFillet (ChFiDS;ChFi2d;ChFi3d;ChFiKPart;Blend;BRepBlend;BlendFunc;BRepFilletAPI;FilletSurf)
-- Processing ToolKit: TKFeat (LocOpe;BRepFeat)
-- Processing ToolKit: TKOffset (BRepOffsetAPI;Draft;BRepOffset;BiTgte)
-- Processing ToolKit: TKService (Aspect;SelectBasics;Image;InterfaceGraphic;TColQuantity;Font;WNT)
-- Processing ToolKit: TKV3d (V3d;Graphic3d;Visual3d;Select3D;Prs3d;StdPrs;SelectMgr;PrsMgr;AIS;DsgPrs;StdSelect)
-- Processing ToolKit: TKOpenGl (OpenGl)
-- Processing ToolKit: TKMeshVS (MeshVS)
-- Processing ToolKit: TKNIS (NIS)
-- Processing ToolKit: TKVoxel (Voxel)
-- Processing ToolKit: TKCDF (CDM;PCDM;CDF;UTL;LDOM)
-- Processing ToolKit: PTKernel (DBC;PCollection;PColStd;PMMgt;PShort;PStandard;PTColStd;ObjMgt)
-- Processing ToolKit: TKLCAF (TDF;TDataStd;TFunction;TDocStd;AppStdL)
-- Processing ToolKit: FWOSPlugin (FWOSDriver)
-- Processing ToolKit: TKPShape (PBRep;PTopoDS;PGeom;PGeom2d;PPoly;PColgp;PTopLoc;PColPGeom;PColPGeom2d;MgtBRep;MgtGeom;
MgtGeom2d;MgtPoly;MgtTopLoc;MgtTopoDS)
-- Processing ToolKit: TKBinL (BinMDF;BinMDataStd;BinMFunction;BinMDocStd;BinObjMgt;BinLDrivers)
-- Processing ToolKit: TKXmlL (XmlLDrivers;XmlMDF;XmlMDataStd;XmlMDocStd;XmlMFunction;XmlObjMgt)
-- Processing ToolKit: TKPLCAF (PDF;PDataStd;PFunction;PDocStd;MDF;MDataStd;MFunction;MDocStd)
-- Processing ToolKit: TKTObj (TObj)
-- Processing ToolKit: TKShapeSchema (ShapeSchema;PCDMShape)
-- Processing ToolKit: TKStdLSchema (StdLSchema;StdLDrivers)
-- Processing ToolKit: TKCAF (TDataXtd;TNaming;TPrsStd;AppStd)
-- Processing ToolKit: TKBin (BinDrivers;BinMDataXtd;BinMPrsStd;BinMNaming;BinTools)
-- Processing ToolKit: TKXml (XmlDrivers;XmlMDataXtd;XmlMNaming;XmlMPrsStd)
-- Processing ToolKit: TKPCAF (PDataXtd;PNaming;PPrsStd;MDataXtd;MPrsStd;MNaming)
-- Processing ToolKit: TKBinTObj (BinTObjDrivers)
-- Processing ToolKit: TKXmlTObj (XmlTObjDrivers)
-- Processing ToolKit: TKStdSchema (StdSchema;StdDrivers)
-- Processing ToolKit: TKSTL (StlMesh;StlAPI;StlTransfer;RWStl)
-- Processing ToolKit: TKXSBase (Interface;Transfer;IFGraph;IFSelect;TransferBRep;XSControl;StepData;StepFile;HeaderSect
ion;RWHeaderSection;APIHeaderSection;StepSelect;UnitsMethods;XSAlgo;LibCtl;MoniTool)
-- Processing ToolKit: TKSTEPBase (StepBasic;RWStepBasic;StepRepr;RWStepRepr;StepGeom;RWStepGeom;StepShape;RWStepShape)
-- Processing ToolKit: TKIGES (IGESData;IGESFile;IGESBasic;IGESGraph;IGESGeom;IGESDimen;IGESDraw;IGESSolid;IGESDefs;IGES
Appli;IGESConvGeom;IGESSelect;IGESToBRep;GeomToIGES;Geom2dToIGES;BRepToIGES;BRepToIGESBRep;IGESControl)
-- Processing ToolKit: TKSTEPAttr (StepVisual;RWStepVisual;StepDimTol;RWStepDimTol)
-- Processing ToolKit: TKSTEP209 (StepElement;StepFEA;RWStepElement;RWStepFEA)
-- Processing ToolKit: TKSTEP (StepAP214;RWStepAP214;StepAP203;RWStepAP203;STEPConstruct;STEPEdit;GeomToStep;StepToGeom;
StepToTopoDS;TopoDSToStep;STEPControl;STEPSelections;StepAP209)
-- Processing ToolKit: TKVRML (VrmlConverter;VrmlAPI;Vrml;VrmlData)
-- Processing ToolKit: TKXCAF (XCAFApp;XCAFDoc;XCAFPrs)
-- Processing ToolKit: TKXCAFSchema (MXCAFDoc;PXCAFDoc;XCAFDrivers;XCAFSchema)
-- Processing ToolKit: TKXmlXCAF (XmlXCAFDrivers;XmlMXCAFDoc)
-- Processing ToolKit: TKBinXCAF (BinXCAFDrivers;BinMXCAFDoc)
-- Processing ToolKit: TKXDEIGES (IGESCAFControl)
-- Processing ToolKit: TKXDESTEP (STEPCAFControl)
Setting oce-win-bundle depends...
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64
Drücken Sie eine beliebige Taste . . .

@berndhahnebach
Copy link
Contributor Author

And again the error I get. Slowly I understand more of build processes on windows os. Compiling has been done successful ("Der Buildvorgang wurde erfolgreich ausgeführt.") , but installation does not work due to a not valid directory name ("Der Verzeichnisname ist ungültig."). But the directory name is not printed ?

   118>Die Erstellung von Projekt "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj" ist
        abgeschlossen (Standardziele).
     2>Die Erstellung von Projekt "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.meta
       proj" ist abgeschlossen (Standardziele).
     1>Die Erstellung des Projekts "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" ist abgeschl
       ossen, Build Ziel(e).

Der Buildvorgang wurde erfolgreich ausgeführt.

       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKNIS\TKNIS.vcxproj.metaproj" (Standard
       ziel) (37) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj.metaproj" (St
       andardziel) (38) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj.met
       aproj" (Standardziel) (39) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj" (S
       tandardziel) (62) ->
       (ClCompile Ziel) ->
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\base\ftrfork.c(818): warning C49
       96: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation
       , use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-
       vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\base\ftrfork.c(828): warning C49
       96: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation,
       use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs
       2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\base\ftrfork.c(829): warning C49
       96: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation,
       use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs
       2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\base\ftsystem.c(240): warning C4
       996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, u
       se _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2
       013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\bdf\bdflib.c(2060): warning C499
       6: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation,
        use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-v
       s2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\bdf\bdflib.c(2073): warning C499
       6: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation,
        use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-v
       s2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\bdf\bdflib.c(2399): warning C499
       6: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation,
        use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-v
       s2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\bdf\bdflib.c(2407): warning C499
       6: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation,
        use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-v
       s2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(263): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(283): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(315): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(528): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(534): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(540): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(546): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]
         c:\users\bhb\desktop\ifcos\ifcosdev\deps\oce\oce-win-bundle\libs\freetype\src\type1\t1driver.c(552): warning C
       4267: '=' : conversion from 'size_t' to 'FT_ULong', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\d
       eps\oce\build-vs2013-x64\oce-win-bundle\libs\freetype\freetype.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\FWOSPlugin\FWOSPlugin.vcxproj.metaproj"
        (Standardziel) (3) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj.metaproj" (Standard
       ziel) (4) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj.metaproj" (Stan
       dardziel) (5) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj" (Standardziel)
        (61) ->
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\OSD\OSD_FileNode.cxx(851): warning C4244: 'return' : conversi
       on from 'intptr_t' to 'Standard_Integer', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\bu
       ild-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\OSD\OSD_FileNode.cxx(885): warning C4244: 'return' : conversi
       on from 'intptr_t' to 'Standard_Integer', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\bu
       ild-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\OSD\OSD_Host.cxx(218): warning C4996: 'GetVersionExA': was de
       clared deprecated [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKernel\TKernel.vcxpr
       oj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\OSD\OSD_Thread.cxx(143): warning C4244: 'return' : conversion
        from 'intptr_t' to 'DWORD', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x6
       4\adm\cmake\TKernel\TKernel.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\OSD\OSD_Process.cxx(307): warning C4244: 'return' : conversio
       n from 'intptr_t' to 'Standard_Integer', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\bui
       ld-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\FWOSPlugin\FWOSPlugin.vcxproj.metaproj"
        (Standardziel) (3) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj.metaproj" (Standard
       ziel) (4) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj.metaproj" (Stan
       dardziel) (5) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj" (Standardziel)
        (61) ->
       (Lib Ziel) ->
         OSD_signal.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so
        it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\
       oce\build-vs2013-x64\adm\cmake\TKernel\TKernel.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\FWOSPlugin\FWOSPlugin.vcxproj.metaproj"
        (Standardziel) (3) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj.metaproj" (Standard
       ziel) (4) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj" (Standardziel) (63
       ) ->
       (ClCompile Ziel) ->
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\LDOM\LDOM_OSStream.cxx(106): warning C4244: 'return' : conver
       sion from 'std::streamsize' to 'int', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-
       vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\LDOM\LDOM_OSStream.cxx(128): warning C4244: 'initializing' :
       conversion from 'std::streamsize' to 'int', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\
       build-vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj]
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\LDOM\LDOM_OSStream.cxx(156): warning C4244: '+=' : conversion
        from 'std::streamsize' to 'Standard_Integer', possible loss of data [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\o
       ce\build-vs2013-x64\adm\cmake\TKCDF\TKCDF.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKBO\TKBO.vcxproj.metaproj" (Standardzi
       el) (7) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKGeomAlgo\TKGeomAlgo.vcxproj.metaproj"
        (Standardziel) (13) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKGeomAlgo\TKGeomAlgo.vcxproj" (Standar
       dziel) (79) ->
       (Lib Ziel) ->
         IntPatch_PolyhedronTool.obj : warning LNK4221: This object file does not define any previously undefined publi
       c symbols, so it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\ifcos\i
       fcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKGeomAlgo\TKGeomAlgo.vcxproj]
         GeomInt_TheMultiLineToolOfWLApprox_0.obj : warning LNK4221: This object file does not define any previously un
       defined public symbols, so it will not be used by any link operation that consumes this library [C:\Users\bhb\De
       sktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKGeomAlgo\TKGeomAlgo.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKBin\TKBin.vcxproj.metaproj" (Standard
       ziel) (17) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKCAF\TKCAF.vcxproj.metaproj" (Standard
       ziel) (20) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKHLR\TKHLR.vcxproj.metaproj" (Standard
       ziel) (21) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKHLR\TKHLR.vcxproj" (Standardziel) (86
       ) ->
         HLRBRep_LineTool.obj : warning LNK4221: This object file does not define any previously undefined public symbo
       ls, so it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\ifcos\ifcosdev
       \deps\oce\build-vs2013-x64\adm\cmake\TKHLR\TKHLR.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKFillet\TKFillet.vcxproj.metaproj" (St
       andardziel) (32) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKFillet\TKFillet.vcxproj" (Standardzie
       l) (95) ->
         BRepFilletAPI_LocalOperation.obj : warning LNK4221: This object file does not define any previously undefined
       public symbols, so it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\if
       cos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKFillet\TKFillet.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKNIS\TKNIS.vcxproj.metaproj" (Standard
       ziel) (37) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj.metaproj" (St
       andardziel) (38) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj" (Standardzie
       l) (100) ->
         OpenGl_AVIWriter.obj : warning LNK4221: This object file does not define any previously undefined public symbo
       ls, so it will not be used by any link operation that consumes this library [C:\Users\bhb\Desktop\ifcos\ifcosdev
       \deps\oce\build-vs2013-x64\adm\cmake\TKOpenGl\TKOpenGl.vcxproj]


       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\OCE.sln" (Build Ziel) (1) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKSTEP\TKSTEP.vcxproj.metaproj" (Standa
       rdziel) (43) ->
       "C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKSTEP\TKSTEP.vcxproj" (Standardziel) (
       115) ->
       (ClCompile Ziel) ->
         C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\src\STEPConstruct\STEPConstruct_AP203Context.cxx(149): warning C4
       996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to d
       isable deprecated API warnings [C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x64\adm\cmake\TKSTEP\T
       KSTEP.vcxproj]

    31 Warnung(en)
    0 Fehler

Verstrichene Zeit 00:08:09.48
Der Befehl "b" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Verzeichnisname ist ungültig.
Installing RelWithDebInfo Open CASCADE Community Edition. Please be patient this will take a while.
MSBUILD : error MSB1009: Die Projektdatei ist nicht vorhanden.
Schalter: INSTALL.vcxproj
Der Befehl "1" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Das Sprungziel - InstallCMakeProject wurde nicht gefunden.

An error occurred

C:\Users\bhb\Desktop\ifcos\ifcosdev\win>

@berndhahnebach
Copy link
Contributor Author

I'm getting closer ...

  • startded MS VS Community 2013
  • opened C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x86\OCE.sln
  • In solution explorer --> CMakePredefinedTargets --> INSTALL --> right click --> Project only --> build only INSTALL
Tons of output ... 
1>  -- Installing: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/oce/include/oce/Message_ProgressScale.lxx
1>  -- Installing: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/oce/include/oce/Message_ProgressSentry.lxx
1>  CMake Error at adm/cmake/TKernel/cmake_install.cmake:260 (file):
1>    file INSTALL cannot find
1>    "C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/oce/build-vs2013-x64/bin/Debug/TKerneld.lib".
1>  Call Stack (most recent call first):
1>    cmake_install.cmake:45619 (include)
1>    
1>  
1>  
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

@Stinkfist0
Copy link
Contributor

Remember to switch to RelWithDebInfo build type from the menu (a freshly created sln by CMake defaults to Debug)
buildcgftype

@Stinkfist0
Copy link
Contributor

C:\Users\bhb\Desktop\ifcos\ifcosdev\win should be perfectly valid folder for doing the build (file path with spaces will most likely not work currently). One can always try some really short path for the build e.g. C:\ifcos if it would help.

@berndhahnebach
Copy link
Contributor Author

Remember to switch to RelWithDebInfo build type from the menu (a freshly created sln by CMake defaults to Debug)

Does the trick inside MS VS 2013

  • startded MS VS Community 2013
  • opened C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\oce\build-vs2013-x86\OCE.sln
  • changed buildtyp to RelWithDebug
  • In solution explorer --> CMakePredefinedTargets --> INSTALL --> right click --> Project only --> build only INSTALL
Tons of output ...
1>  -- Installing: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/oce/include/oce/STEPCAFControl_ExternFile.lxx
1>  -- Installing: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/oce/Win64/lib/TKXDESTEP.lib
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

How do I continue the build script or find where the culprit in the script is ?

@Stinkfist0
Copy link
Contributor

Great to hear that at least a manual workaround has been found.

@berndhahnebach
Copy link
Contributor Author

Yeah not possible without your help! How do I continue the build script ?

@Stinkfist0
Copy link
Contributor

Errors about commands "b" and "1" seem really strange. Maybe this is some weird locale specific bug regarding batch files. I would probably try first changing the OS language to English, Control Panel\Clock, Language, and Region\Language, Add a language. A Windows restart is probably highly recommended after changing the language. Another thing to try could be trying using build directory with a really short path name.

@Stinkfist0
Copy link
Contributor

You could also try putting echo onbefore the InstallCMakeProject line to see what exactly goes on.

@berndhahnebach
Copy link
Contributor Author

  • It is not the path name I tried a realy short one on C:\
  • I havn't had the possibility to change the language. Will do this later on.
  • Added echo on before call :RunCMake ... in oce part off the script
:: input (more than 32,000 characters). Could maybe try using subst for the build dir to overcome this.
echo on
call :RunCMake  -DOCE_BUILD_SHARED_LIB=0 -DOCE_INSTALL_PREFIX="%INSTALL_DIR%\oce" -DOCE_TESTING=0 ^

wired things ... It breaks before even begin to start oce stuff ... before even start OpenCollada

        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
OpenCOLLADA already cloned. Pulling latest changes.
Already up-to-date.
Das Sprungziel - RunCMake wurde nicht gefunden.

An error occurred

C:\Users\bhb\Desktop\ifcos\ifcosdev\win>

@berndhahnebach
Copy link
Contributor Author

Just tried a clean build with latest master branch, which is commit 480 (90f72c4) and it builds like a charm on windows !!!

again thanks for all the afford you did stinkfist !

@Stinkfist0
Copy link
Contributor

Great to hear! @aothms I think this could be closed now.

@aothms
Copy link
Member

aothms commented Mar 3, 2016

Done. Thanks both for the extensive debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants