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

Author Topic: Building SFML on android: "relative paths cannot be used"  (Read 1073 times)

0 Members and 1 Guest are viewing this topic.

corcordp

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Building SFML on android: "relative paths cannot be used"
« on: May 22, 2019, 02:55:34 am »
Hi guys

I'm trying to set up an android studio SFML project. (I am on windows 10 using android studio 3.4.1 and Cmake 3.14.4)

I started by following this guide https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android

Before running the .bat files I made sure to download Cmake and Git, and the directories to both are included in my user environment variable settings (PATH) https://imgur.com/a/RDQ6fvb

in an admin-level console I scoped into the directory with the SFML android batch files, and ran

D:\Build-SFML-For-Android-On-Windows-master\Build-SFML-For-Android-On-Windows-master>download-ndk-and-build-sfml.bat D:\android_studio

I got the result

Relative paths cannot be used


I don't have the NDK installed yet... what am I missing?

Thanks for the help

DPC


corcordp

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Building SFML on android: "relative paths cannot be used"
« Reply #1 on: May 22, 2019, 03:11:08 am »
I went into android studios SDK settings and checked the boxes to install NDK. Now I run the command build-sfml.bat D:\android ndk directory and I get the resulting three CMD prompts. Left is the one I started with, right two pop up after execution.

https://imgur.com/a/nPHO4V6