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

Discussion in '3DS - Homebrew Development and Emulators' started by Sasori, Feb 22, 2016.

  1. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,339
    770
    Jan 28, 2015
    United States
    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?

    Full Error

    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 Sasori, Feb 22, 2016
  2. catlover007

    catlover007 GBAtemp Regular

    Member
    143
    152
    Oct 23, 2015
    Germany
    maybe there is an error in your shader in therefore it doesn't compile, please show whats the output of make
     
  3. Naindre

    Naindre Member

    Newcomer
    16
    10
    Feb 20, 2016
    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.
     
  4. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,260
    Nov 24, 2014
    Italy
    Bologna
    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.
     
  5. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,339
    770
    Jan 28, 2015
    United States
    Thats exactly what I was trying to do. Thank you :)

    I thought I was going crazy haha
     
  6. thatbooisaspy

    thatbooisaspy GBAtemp Fan

    Member
    367
    151
    Oct 28, 2015
    .
     
    Last edited by thatbooisaspy, Jun 3, 2017
    Sasori likes this.