Sign in to follow this  
Dragon_Strike

problems with lib3ds

Recommended Posts

well ive been tryin to get the lib3ds workin but i keep gettin a LNK2019 error: Helix1 error LNK2019: unresolved external symbol _lib3ds_file_eval referenced in function "public: void __thiscall CMODEL::Load(char *)" (?Load@CMODEL@@QAEXPAD@Z) not that much code yet rly...
#ifndef MODEL_H
#define MODEL_H

#include <lib3ds/file.h>                        
#include <lib3ds/camera.h>
#include <lib3ds/mesh.h>
#include <lib3ds/node.h>
#include <lib3ds/material.h>
#include <lib3ds/matrix.h>
#include <lib3ds/vector.h>
#include <lib3ds/light.h>
#include <string.h>
#include <config.h>
#include <stdlib.h>
#include <math.h>
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif

#include "Helix.h"

class CMODEL
{
	public:
	
	Lib3dsFile *file;
	float current_frame;
	int gl_width;
	int gl_height;
	int halt;

	CMODEL()
	{
		halt=0;
		current_frame=0.0;
	}

	void Load(char* filename)
	{
		file=lib3ds_file_load(filename);
		lib3ds_file_eval(file,0);
	}
};

#endif


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this