slycelote / caide

Automates certain common tasks that you do during programming competitions
84 stars 18 forks source link

Link error when the Visual Studio solution has just been created #34

Open slycelote opened 3 years ago

slycelote commented 3 years ago

Right after the solution has just been created, build fails with a link error. Workaround is to build cpplib project manually or close and reopen the solution.

Spidy104 commented 3 years ago

Reopening also doesn't work, my problem was solved, when I ran code analysis on the solution.

Spidy104 commented 3 years ago

I also had a question, what is I want to include some pre-written library of mine in my solution, but it is not present in the cpplib folder, How shall we do that?

Spidy104 commented 3 years ago

I also wanted to say one thing, about the error, I was getting don't know whose mistake was yours or mine, I build my solution without statically linking my cpplib directory, so that is why I was getting that error.

I discovered it after I did a lot of research from the internet.

Spidy104 commented 3 years ago

I also had a question, Is there any way to make the questions parse into a certain directory.

slycelote commented 3 years ago

I also wanted to say one thing, about the error, I was getting don't know whose mistake was yours or mine, I build my solution without statically linking my cpplib directory, so that is why I was getting that error.

I discovered it after I did a lot of research from the internet.

There seems to be some issue with Visual Studio: it doesn't build cpplib project automatically even though the problem project depends on it. As mentioned in the first comment closing and reopening the solution (or building the project manually) fixes it for me.

Spidy104 commented 3 years ago

Also My visual studio stops responding when I load the caide solution.

How to stop this?

slycelote commented 3 years ago

Please use a separate github issue for each bug.

Spidy104 commented 3 years ago

Ok I am really sorry, I am a beginner to github that is why this happened.