OpenViBE forum

The OpenViBE community
It is currently Wed Sep 18, 2019 11:30 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Sep 07, 2009 1:21 pm 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
ringo-ring asked in this thread an off-topic question I'll answer here :
ringo-ring wrote:
How to rebuild only OpenViBEAcquisitionServer? Running whole win32-build.cmd takes a lot of time...


The build win32-build.cmd script looks for modified files and compiles / links only those files / projects. If you only want to compile the acquisition server, just limit your modifications to this project. If you actually limit your modifications and the win32-build.cmd script keeps compiling the whole platform, either you ran win32-clean.cmd script (so you of course need to re-compile everything), or you have misconfigured time/date on your computer (the "modified" status of a file / project is deduced from the date of the source file and its corresponding object file).

Hope this helps,
Yann


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 07, 2009 3:51 pm 
Offline

Joined: Sat Sep 05, 2009 8:24 am
Posts: 4
Yes, I noticed it does not rebuild everything, but it does check everything and it takes a lot of time on my laptop. Maybe there is a way to shut off those checks too?


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 09, 2009 9:54 am 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
No, because if it does not check, it can't build modified things anymore. If you run Windows and have an antivirus running, you can disable on-access scan. That would speed up things. On my Linux box, it takes less than a second.

I'm sorry to tell you that after that, if you need faster access, you'll have to get a faster computer / faster hard drive ;)

Yann


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 09, 2009 9:58 am 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
Ok, one second was not true :)

Code:
[11:55:44|yrenard@cervelet] [svn-repository:~/openvibe] /scripts/ # time ./linux-build

blah blah

real    0m5.677s
user    0m3.192s
sys     0m1.620s


so it is less than 6 seconds.

Yann


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.