Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Some functions are missing #4

Open
RoRue opened this issue Jan 19, 2019 · 10 comments
Open

Some functions are missing #4

RoRue opened this issue Jan 19, 2019 · 10 comments

Comments

@RoRue
Copy link

RoRue commented Jan 19, 2019

Hi,

as I am trying to setup your program I keep running into the same issues.
It seems like some functions and variables are not configured.
Could you help me with that?
Feel free to message me for more info.
vulkansponza_error

@SaschaWillems
Copy link
Owner

SaschaWillems commented Jan 20, 2019

Those are Win32 functions and should work out of the box on Windows. But it looks like you're using MinGW which may require different includes. It's also possible the that MinGW requires different defines to make this working. Is _WIN32 properly defined?

@RoRue
Copy link
Author

RoRue commented Jan 20, 2019

Ugh okay thats seems weird.
Which Compiler would your recommend? Maybe using a different one would make Things a Lot easier.

@SaschaWillems
Copy link
Owner

clang, gcc or msvc. clang works fine for me on Windows, Linux and Android, so I'd go with that one.

@RoRue
Copy link
Author

RoRue commented Jan 25, 2019

I got it to Work! :)
But only on my PC
I somehow can't get it to work on my smartphone.
I am using android studio and it doesn't compile. Seems like I am missing something. The error code says "task assembly not found" have you ever encountered that?

@RoRue
Copy link
Author

RoRue commented Jan 25, 2019

that was on my laptop. On my PC it is throwing me a different Error: "no resource found that matches the given name"
Do I need to migrate the project to gradle? Why is it throwing that error? I can't seem to fix it...
I know I am a noob please forgive me. I never worked with android studio before.

@SaschaWillems
Copy link
Owner

This project still uses ndk-build and hasn't been converted to Android Studio. If you need to use Android studio, take a look at my other samples. Using the gradle files from there to build this project shouldn't be much work.

I may update this project to Android Studio at some time, but haven't had time to do so yet.

@RoRue
Copy link
Author

RoRue commented Jan 25, 2019

Ah maybe thats why it didnt work.
I don't need to use Android Studio. Which IDE would you recommend?

@SaschaWillems
Copy link
Owner

SaschaWillems commented Feb 1, 2019

Either Android Studio or Visual Studio (not Code. I do like Code, but never really used it for Android development). I prefer the later though.

@RoRue
Copy link
Author

RoRue commented Feb 3, 2019

I can't really get it to work on android even on VS. Maybe I am doing something wrong. I am encountering errors, that i don't know how to fix.
Maybe you could help me - if you have the time...
Is there a way i could reach out to you except github?

@RoRue
Copy link
Author

RoRue commented Feb 3, 2019

jni/..//jni/..//../src/vulkansponza.cpp:200:4: error: use of undeclared identifier 'vkFreeDescriptorSets'
vkFreeDescriptorSets(device, descriptorPool, 1, &descriptorSet.second);
This is the error i get while using ndk-build. vkFreeDescriptorSets is declared in vulkan.h

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants