Jump to content

  • Log In with Google      Sign In   
  • Create Account


how to compile ASSIMP using vs 11


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 sobeit   Members   -  Reputation: 381

Like
0Likes
Like

Posted 18 May 2013 - 04:18 PM

Hi all, Recently I'm learning opengl with GLSL, and come to the phase where 3d model is needed. my problem is I can't build assimp appropriately under VS 2012. Should I just create a new project and add all source code and build them? Can someone provide a tutorial on this?(I got my boost installed.) Thanks.


Edited by sobeit, 18 May 2013 - 04:33 PM.


Sponsor:

#2 Zaoshi Kaba   Crossbones+   -  Reputation: 3434

Like
0Likes
Like

Posted 18 May 2013 - 04:34 PM

Personally I copy/pasted all files, including libraries, and copied boost workaround since I'm not using boost. If I remember correctly some includes needed fixing but that's all.



#3 sobeit   Members   -  Reputation: 381

Like
0Likes
Like

Posted 19 May 2013 - 11:59 PM


Personally I copy/pasted all files, including libraries, and copied boost workaround since I'm not using boost. If I remember correctly some includes needed fixing but that's all.

thanks for helping here. but I still got errors and tons of warnings. did you create a new VS project and add all header and source file in manually, including "include" and "contrib" file? can you describe the process in more detail?

Edited by sobeit, 20 May 2013 - 12:24 AM.


#4 Krohm   Crossbones+   -  Reputation: 2920

Like
0Likes
Like

Posted 20 May 2013 - 01:39 AM

It might be useful to post the errors.

Don't mind the warnings, they are ok anyway.



#5 NightCreature83   Crossbones+   -  Reputation: 2654

Like
0Likes
Like

Posted 20 May 2013 - 03:13 AM

This chart shows it should compile under VS2012 (vc11): http://assimp.sourceforge.net/main_downloads.html

 

What are you doing to get Assimp as you don't need to compile it on your own, you can just download their SDK package and link to the required libraries, this is what I did when using this library for my own use.

 

Also which version of Assimp are you using.


Edited by NightCreature83, 20 May 2013 - 03:13 AM.

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, Mad Max

#6 sobeit   Members   -  Reputation: 381

Like
0Likes
Like

Posted 20 May 2013 - 10:37 AM

This chart shows it should compile under VS2012 (vc11): http://assimp.sourceforge.net/main_downloads.html

 

What are you doing to get Assimp as you don't need to compile it on your own, you can just download their SDK package and link to the required libraries, this is what I did when using this library for my own use.

 

Also which version of Assimp are you using.

I'm using VS 2012, so I need to use VS 11 version of pre-compiled libraries which they do not provide yet.

I downloaded the source code of latest version.



#7 sobeit   Members   -  Reputation: 381

Like
0Likes
Like

Posted 20 May 2013 - 10:45 AM

It might be useful to post the errors.

Don't mind the warnings, they are ok anyway.

the compiler says "LNK1561: entry point must be defined".



#8 Krohm   Crossbones+   -  Reputation: 2920

Like
0Likes
Like

Posted 20 May 2013 - 11:01 AM

I'm using VS 2012, so I need to use VS 11 version of pre-compiled libraries which they do not provide yet.

They don't? I suppose I made those myself then.

Go to project property pages.

General settings

Target extension: .lib

Configuration type: static library

C/C++ > Code Generation

Might need to set "runtime library" to multi-threaded dll (optionally debug), make sure it's coherent with other projects being built and linked

C/C++ > Precompiled header

Should be already set, just make sure it's on.

 

Have a try.



#9 NightCreature83   Crossbones+   -  Reputation: 2654

Like
0Likes
Like

Posted 21 May 2013 - 02:36 AM

Just get the full installer from here: http://sourceforge.net/projects/assimp/files/assimp-3.0/

 

And tell your project which include and which lib directory to use, I use this SDK package and it works fine. When you have the lib and header files it doesn't really matter that much which version of VS it is compiled with, you can happily use a lib compiled in 2005 with the latest version of Visual Studio.

 

PS: VS11 doesn't exist, vc stands for Visual C++. They 11 comes from an internal tool number as such these are the vc versions tied to Visual Studio versions, VS2012=vc11, VS2010=vc10, VS2008=vc9 and VS2005=vc8.


Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, Mad Max




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS