1
General / Re: Cryptic error when trying to load texture from file
« on: February 14, 2018, 01:00:14 am »
Ooops... Sorry... Can't call non const qualified functions on const objects....
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.
error: passing 'const sf::Texture' as 'this' argument of 'bool sf::Texture::loadFromFile(const string&, const IntRect&)' discards qualifiers [-fpermissive]
Here's the offending code:SFML_COMPILE_EXAMPLES
flag.nmake && nmake install
TARGET_ARCH_ABI := armeabi
between LOCAL_PATH := $(call my-dir)
and include $(CLEAR_VARS)
make
makefile:37: *** missing separator. Stop.
32 #=============================================================================
33 # Set environment variables for the build.
34
35 !IF "$(OS)" == "Windows_NT"
36 NULL=
37 !ELSE
38 NULL=nul
39 !ENDIF
40 SHELL = cmd.exe
nmake -f Makefile
and nmake install
but now I'm unsure about how to use this...
CMAKE_SYSTEM_NAME is 'Android' but 'NVIDIA Nsight Tegra Visual Studio Edition'
I looked it up and found out I had to install 'NVIDIA Nsight Tegra Visual Studio Edition' at https://developer.nvidia.com/nvidia-nsight-tegra