c++ - .obj : fatal error LNK1107: invalid or corrupt file: cannot read at 0x6592 -


i trying load .obj model c++ opengl 3 code reason gives me error :

1>linking... 1>.\bunny.obj : fatal error lnk1107: invalid or corrupt file: cannot read @ 0x6592

i tried search similar errors, there .dll's or .lib's.

can please me out issue. have tried different obj models gives me error.

you trying load object model c++ linker (probably have added project, , tries compiled). linker can process .obj files, waits them 'object-code' files (which have .obj extension), compiled modules (e.g. written in c++ language) ready linked single executable or dll.

neither part of c++ compiler able read graphical object model. should remove .obj file ide project. , make sure have code reads file when program runs.

if want object model embedded .exe (so program not require file in directory), can put resources , link them executable.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -