Hi there,
I'm trying to open up vrmesh file (to run a basic inspection) but for some reason i'm getting a segmentation fault on the ->init() line.
#include <iostream>
#include "mesh_file.h"
using namespace std;
int main(){
VUtils::MeshFile *mfile;
const char* nnn= "/tmp/cube.vrmesh";
mfile->init(nnn);
}
Any idea what's wrong there?
According to the mesh_file.h init() initializes the file returning true/false so I believe this is the right method to call...
Thank you,
kuba
I'm trying to open up vrmesh file (to run a basic inspection) but for some reason i'm getting a segmentation fault on the ->init() line.
#include <iostream>
#include "mesh_file.h"
using namespace std;
int main(){
VUtils::MeshFile *mfile;
const char* nnn= "/tmp/cube.vrmesh";
mfile->init(nnn);
}
Any idea what's wrong there?
According to the mesh_file.h init() initializes the file returning true/false so I believe this is the right method to call...
Thank you,
kuba
Comment