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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xamza1608

Pages: [1]
1
Graphics / Re: I cant build SFML in visual studio code 2019
« on: April 24, 2020, 11:28:38 am »
Download the latest changes on master, that error should be fixed there.

Why are you trying to build it?  Why use visual studio code?  Why not Visual Studio?
Just questioning all actions isn't really helpful. ;)
Don't think you really need an answer to why building SFML is a good idea...
And people are free to use whatever tooling they want, but it's true that some tools can be a bit more hands-on.

I have pressed git tag and then git checkout 2.5.1 but it did not work.


I have used many hours on trying to fix this. Should I start from scratch and use visual studio instead?

2
Graphics / I cant build SFML in visual studio code 2019
« on: April 24, 2020, 10:23:06 am »
Hello I am trying to install SFML.
when i am trying build it i get this error.


The package name passed to find_package_handle_standard_args (VORBIS)
does not match the name of the calling package (Vorbis).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.


Does anyone have an idea. I used one hour and more to solve this but got no where
I am using visual studio code 2019 and building it using cmake.


Cmakelists.txt looks like this:

cmake_minimum_required(VERSION 3.17.1)

project(ssp)


add_subdirectory(libs/SFML)


include_directories(include
                    libs/SFML/include
)

add_executable(main src/main.cpp)


target_link_libraries(main sfml-graphics sfml-system)


*/ 


My cmake builded project can only compile when I press shift f5. Maybe it is a mistake with cmake?  All the tutorials use visual studio and not visual studio code. Maybe that's a problem?

Pages: [1]
anything