Homebrew Homebrew Can't Find vShader_bin.h Did I Miss A Step?

  • Thread starter Deleted User
  • Start date
  • Views 2,012
  • Replies 5
D

Deleted User

Guest
OP
I started to learn to make homebrew last night but for some reason I can't make my most recent addition which is a cube. Make is telling me " vshader_shbin.h: No such file or directory"

Was there another lib I needed to add to DevKitPro?

/devkitPro/myFirstHomebrew/source/main.c:4:27: fatal error: vshader_shbin.h: No such file or directory
compilation terminated.
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

tried both of these but still get the same error during MAKE
Code:
#include <string.h>
#include <3ds.h>
#include<stdio.h>
#include "vshader_shbin.h"
#include "kitten_bin.h"

Code:
#include <string.h>
#include <3ds.h>
#include<stdio.h>
#include <vshader_shbin.h>
#include "kitten_bin.h"
 
Last edited by ,

Naindre

Member
Newcomer
Joined
Feb 20, 2016
Messages
16
Trophies
0
XP
61
Country
Canada
Where is vshader_shbin.h located?
"vshader_shbin.h" will only work if it's in the directory that the code that includes it is in.

<vshader_shbin.h> will only work if it's in devkitPRO/ctrulib/include/shader_shbin.h or if it's in your system includes.
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
I started to learn to make homebrew last night but for some reason I can't make my most recent addition which is a cube. Make is telling me " vshader_shbin.h: No such file or directory"

Was there another lib I needed to add to DevKitPro?

/devkitPro/myFirstHomebrew/source/main.c:4:27: fatal error: vshader_shbin.h: No such file or directory
compilation terminated.
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

tried both of these but still get the same error during MAKE
Code:
#include <string.h>
#include <3ds.h>
#include<stdio.h>
#include "vshader_shbin.h"
#include "kitten_bin.h"

Code:
#include <string.h>
#include <3ds.h>
#include<stdio.h>
#include <vshader_shbin.h>
#include "kitten_bin.h"

I suppose you're trying to compile textured_cube sample for citro3D lib.
You first need to compile the PICA200 vertex shader in data folder with picasso.
It will create the vshader_shbin.h file you need.
 
D

Deleted User

Guest
OP
I suppose you're trying to compile textured_cube sample for citro3D lib.
You first need to compile the PICA200 vertex shader in data folder with picasso.
It will create the vshader_shbin.h file you need.
Thats exactly what I was trying to do. Thank you :)

I thought I was going crazy haha
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up