Skip to content

Commit

Permalink
Update SDK generation and fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
martinweismann committed Apr 24, 2018
1 parent ea815f1 commit 0ebbad7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SDK/Examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ add_executable(Example_BeamLattice Source/BeamLattice.cpp)
CopySharedLibrary(Example_BeamLattice)

if (WIN32)
IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 3.6)
IF(${CMAKE_VERSION} VERSION_LESS 3.6.3)
MESSAGE ("Note: You need to manually select a StartUp-project in Visual Studio.")
ELSE()
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Example_Cube)
Expand Down
2 changes: 1 addition & 1 deletion SDK/Examples/Source/TextureCube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ int main ()
}

// Set progress callback
lib3mf_writer_setprogresscallback(p3MFWriter, SimpleCallback, nullptr);
lib3mf_writer_setprogresscallback(p3MFWriter, SimpleCallback, NULL);

// Export Model into File
std::cout << "writing texturecube.3mf..." << std::endl;
Expand Down
1 change: 1 addition & 0 deletions SDK/GenerateSDK.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ cp ../Include/Common/Platform/NMR_SAL.h $SDKARTIFACTS/Include/Common/Platform/.
cp ../Include/Common/Platform/NMR_WinTypes.h $SDKARTIFACTS/Include/Common/Platform/.
cp ../Include/Common/Platform/NMR_COM_Emulation.h $SDKARTIFACTS/Include/Common/Platform/.
cp ../Include/Common/3MF_ProgressTypes.h $SDKARTIFACTS/Include/Common/.
cp ../Lib3MF-1.pdf $SDKARTIFACTS/Doc/.

#=Obtain latest lib3MF-shared libraries=#
echo Obtain latest lib3MF-shared libraries
Expand Down

0 comments on commit 0ebbad7

Please sign in to comment.