Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED] Error: Vector2 is not a template  (Read 7450 times)

0 Members and 1 Guest are viewing this topic.

JQ

  • Newbie
  • *
  • Posts: 6
    • View Profile
[SOLVED] Error: Vector2 is not a template
« on: April 09, 2020, 05:07:52 pm »


Error(s) is from file located in:
include\sfml\system\vector2.inl

I use:
Visual Studio Community 2017 15.9.21
SFML 2.5.1
ISO C++ 17 "Latest Draft Standard"
Release x64
SFML_STATIC

static library project
precompiled headers: disabled

Additional Dependencies:
(click to show/hide)

I tried (still the same error):
ISO C++ 14
Visual Studio Community 2017 15.9.19

VS Output:
(click to show/hide)
« Last Edit: April 10, 2020, 01:12:34 pm by JQ »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Error: Vector2 is not a template
« Reply #1 on: April 09, 2020, 07:06:08 pm »
What code are you compiling?
Laurent Gomila - SFML developer

JQ

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error: Vector2 is not a template
« Reply #2 on: April 10, 2020, 01:12:16 pm »
Problem Solved, One of mine unfinished scripts made this error.