[Problem] visual studio PCL project in release mode

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Problem] visual studio PCL project in release mode

swaroop.capricorn
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: [Problem] visual studio PCL project in release mode

VictorLamoine
Administrator
Your binary file rely on libraries (here DLL), these libraries must be available when launching the application.
Either you have to compile PCL on all the machines you want your program to or you have to provide binaries for all the platforms and install them on the target machines.
Reply | Threaded
Open this post in threaded view
|

Re: [Problem] visual studio PCL project in release mode

swaroop.capricorn
This post has NOT been accepted by the mailing list yet.
So, would installing PCL on my target machine help me in providing dlls?

 
Reply | Threaded
Open this post in threaded view
|

Re: [Problem] visual studio PCL project in release mode

VictorLamoine
Administrator
Yes exactly.

Another option is to use static linking.
Reply | Threaded
Open this post in threaded view
|

Re: [Problem] visual studio PCL project in release mode

swaroop.capricorn
This post has NOT been accepted by the mailing list yet.
This post was updated on .
you mean by opting this in visual studio before releasing

project properties > configuration properties > general > Use of MFC --> Use MFC in a static Library.

If so, I did this.

and My option for configuration properties > C/C++ > Code Generation > Runtime Library --> Multi-Threaded (/MT)

But, It didn't work.

Am I missing anything.


Reply | Threaded
Open this post in threaded view
|

Re: [Problem] visual studio PCL project in release mode

swaroop.capricorn
This post has NOT been accepted by the mailing list yet.
In reply to this post by VictorLamoine
I installed PCL as you suggested.. Thanks! Now, The error regarding the pcl_release.dll is no more disturbing. But, I have a fresh one "The application was unable to start correctly (0xc000007b)"

I just went online reading, what might cause this error. I am feeling, this might be because of my application was developed in 32bit environment of both vc++ and PCL. Now, I am trying to run the application in 64-bit environment.

I read, installing vc++ redistributable package for runtime libraries would help. But, I could not install it :(
I get a windows displayed saying "A newer version of Microsoft Visual c++ 2010 Redistibutbable has been detected on the machine." Do you have any Idea regarding this. Would be gald, If you could help. Bytheway, I dont't have visualstudio on the windows 7 system.

Reply | Threaded
Open this post in threaded view
|

Re: [Problem] visual studio PCL project in release mode

swaroop.capricorn
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello,

Doesn't matter what os the system is running on. My application was developed in 32 bit so. I installed PCL 32 bt on windows 7 (64 bit) system. It workd without error.