- This topic has 1 reply, 2 voices, and was last updated 9 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Problems with working in windows in developing a code
Hello all,
Thanks for your answers to our questions.
I had some problems in using Sofa in Linux so although developing a code in Linux is much easier for me, I decided to work with Sofa in Windows.
The main problem I have is about long time of building a new code in Visual Studio. In Linux when we write a new code or change a code in QT it takes only about a few minutes (e.g. 2 or 3 mins) to build so we can develop a new code very fast!
But when we do this in Windows and click on Build button, Visual Studio builds the project from the beginning and it takes about half an hour (on my PC) so working with code is very difficult for me in Windows.
I will be thankful if you inform me how I can work like Linux in Windows:
– Can we do anything in Visual Studio to make it work like QT in Linux and just build the new changes of the code?
– I tried to work with QT with Visual Studio as the compiler (in Windows) but it didn’t work. (Is there any way to do this)?
Thanks for your attention,
Sarrami
Hi,
We compile with Windows daily and we do not have that behaviour: as expected, only the modified files are recompiled. My guess is that you have a problem with the configuration of your Visual:
– Ensure that you do build with “Build” (F7) and not “Re-Build” (Alt+Shift+F7)
– You said (in a previous past) you are using CMake 3.2. I’m using 2.8. Perhaps that is a point ?
– Try to restart the source code compilation from scratch in a new directory (including running cmake) to prevent interferences from scoria of previous misconfigurations.
Clément Forest
Digital-Trainers
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.