Problem compiling OpenViBE with Visual Studio 2008

wangfei0328
Posts: 3
Joined: Mon Nov 15, 2010 4:45 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by wangfei0328 »

This problem means that the linker didn't found some functions, here in the itpp library (itpp is a dependence of openvibe, that we use for signal processing for example).

This error can occurs if you try to compile your project with one compiler while your dependency is compiled with another compiler.
Did you install the dependencies for VS2010 ? It's the first item to check in the list when running win32-install_dependencies.exe.

Cheers,

Laurent
Hi, Laurent

I followed the steps listed in FAQ, downloaded the latest source files from SVN, installed win32-install-dependencies.exe in scripts folder, then executed win-32-build...

I tried to change vs2010 to vs2008, though the build process can last much longer, but the same error occurred in the final. When I build the source files on WindowsXP with vs2008, it was ok, no errors.

Thank you for your reply.

Fei

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by lbonnet »

I still think it may comes from compiler problem.

Do you have on your computer both visual studios ? (2008 & 2010)
If so, the win32-build script automatically uses the most recent compiler, in this case it would be VS2010.
If the dependencies are compiled with VS2008, it won't work.


Laurent-
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Dear wangfei0328,

did you successfully compile OpenViBE with either VS2008 or VS2010 ?

Yann

wangfei0328
Posts: 3
Joined: Mon Nov 15, 2010 4:45 pm

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by wangfei0328 »

yrenard wrote:Dear wangfei0328,

did you successfully compile OpenViBE with either VS2008 or VS2010 ?

Yann
Hi, Yann

I tried Win7+VS2008 and Win7+VS2010 separately, unfortunately, all failed. I have to give up because I have spent too much time on it. Now I change the OS to Windows XP, it works. :(

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Problem compiling OpenViBE with Visual Studio 2008

Post by yrenard »

Ok, thank you for your feedback
Yann

Post Reply