Hi,
I am working on a VC++ (Visual Studio 2008) Module and i am new on this module. This module is working on 32bit fine, i need to convert this in 64 bit. I installed x64 bit compiler and select 64 bit in Project Properties.

I got following error while i try to convert 32 bit code in 64 bit:

Error 2 error LNK2001: unresolved external symbol BZ2_bzopen jdefile.obj
Error 3 error LNK2001: unresolved external symbol BZ2_bzread jdefile.obj
Error 4 error LNK2001: unresolved external symbol BZ2_bzstat64 jdefile.obj
Error 5 error LNK2001: unresolved external symbol BZ2_bzwrite jdefile.obj
Error 6 error LNK2001: unresolved external symbol BZ2_bzgetpos64 jdefile.obj
Error 7 fatal error LNK1120: 6 unresolved externals C:\Documents and Settings\ns553t\My Documents\Updated BARTSO\x64\Release\BARTSO.exe BARTSO


I attached both file (jdefile.h and jdefile.cpp)

Thanks in advance

Those functions are not defined in the files you posted so they must be in another file or library that you need to add to the solution. Look in your 32-bit project and find out where those function are found.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.