Jump to content
  • Advertisement
Sign in to follow this  
Dragon_Strike

problems with lib3ds

This topic is 4235 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!