Cancel
Showing results for 
Search instead for 
Did you mean: 

[Jtk8.0] Examples do not run

Legend
Legend

Hi,

I try to run the examples of the toolkit in VS2013, but I get errors on each example.

Do I have to change some settings or what is the problem?

I ask because in my opinion the examples should run without any changes!

 

Here are the errormessages:

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1186,5): warning MSB8012: TargetPath(C:\Program Files (x86)\Siemens\JTOpenToolkit\8_0\example\License\Debug\license_check.exe) does not match the Linker's OutputFile property value (C:\Program Files (x86)\Siemens\JTOpenToolkit\8_0\example\License\license_check_vc12_Win32_Debug.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1188,5): warning MSB8012: TargetName(license_check) does not match the Linker's OutputFile property value (license_check_vc12_Win32_Debug). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).

2 REPLIES

Re: [Jtk8.0] Examples do not run

Valued Contributor
Valued Contributor

I remember that I had some issues with the examples as well.

"Unfortunatelly" it's solved for me and I can't easily reproduce it by importing new projects.

 

The following settings work for me:

 

Go to project settings -> Configuration Properties

  • C/C++: "Additional Include Directories": $(TOOLKIT_INCL_DIR);%(AdditionalIncludeDirectories)
  • Linker: "Additonal Library Directories": $(TOOLKIT_LIB_DIR)/win_64_$(COMPILER);%(AdditionalLibraryDirectories)
    • Input: "Additional Dependencies": netapi32.lib;odbc32.lib;odbccp32.lib;glu32.lib;opengl32.lib;JtTk$(TOOLKIT_VER).lib;%(AdditionalDependencies)

Betreff: [Jtk8.0] Examples do not run

Legend
Legend

Thank you!

 

Indeed, that was one Problem. I added the additional directories.

Furthermore I had to change an environment variable because it was pointing to a x86 folder.

 

 

What is JT?

JT is the World’s Most Widely Used 3D File Format for PLM

JT is the common language of PLM and is the world’s most widely used 3D format. JT is the first ISO International Standard ( IS 14306-1) for 3D visualization and collaboration. Compact and accurate, JT is used throughout the product development lifecycle in all major industries to communicate the critical design information typically locked up inside a CAD file.

Siemens PLM Software customers rely on JT to be the most robust 3D visualization format available.

JT Open Factsheet
JT Open Member Resources
JT Open Documentation Technology
JT Open File Format Technology
JT Open Toolkit

Downloadable viewers for Windows Desktop, Windows 10 Universal App, Android and iOS.


Download JT2Go for your platform today Download JT2Go Desktop 64 Bit all languages
Download JT2Go Desktop 32 Bit for English
Windows 10 JT2Go Universal App
Android JT2Go
iOS JT2Go