Bug #1

Linker errors on Visual Studio 2003

Added by Roland Landertshamer almost 16 years ago. Updated almost 16 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Roland Landertshamer% Done:

0%

Category:inVRs (whole framework)
Target version:V1.0 Alpha2 release
Resolution:fixed

Description

When building inVRs with Visual Studio 2003 the linker fails because of undefined library references.

History

#1 Updated by Roland Landertshamer almost 16 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Bug was in CMakeLists.txt files: the libraries a project was depending on were defined in add_dependencies but not added to the linker flags via target_link_libraries.
e.g. src/SystemCore/CMakeLists.txt:

add_library(inVRsSystemCore SHARED ${ALL_SRCS})
add_dependencies (inVRsSystemCore irrXML)
+ target_link_libraries(inVRsSystemCore irrXML)

Fixed in v1.0alpha2

Also available in: Atom PDF