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 Advanced Maniac

    Member
    7
    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
    3
    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
    1
    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
    13
    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 Advanced Maniac

    Member
    7
    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
    2
    Oct 28, 2015
    .
     
    Last edited by thatbooisaspy, Jun 3, 2017
    Sasori likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice