mit-gfx / multicopter_design

GNU General Public License v2.0
81 stars 35 forks source link

Windows Error Code LNK1104 in 2019 Visual Studio #10

Open zacharyfailla opened 4 years ago

zacharyfailla commented 4 years ago

I attempted to run the software on Visual Studio after I configured and generated it using CMake. I opened the multicopter_design.sln file that was created and opened up Visual Studio, and then pressed "build." After the software finished building, the error code "LNK1104 cannot open file 'nlopt.lib'" showed up at the bottom of the screen. I attempted to run the last working version anyway but that also did not work. Here is a picture of what my screen looks like with the error, and what pops up after I attempt to run the last working version. FullScreenPicture RunAnywayError

I am not sure if I am experiencing this issue because I am running visual studio 2019 instead of the 2017 version or if some other error has occured.

Any help would be very appreciated, thank you!

ghost commented 4 years ago

Could you please try the following? Right click "copter_viewer" -> Set as StartupProject -> Press F7 to recompile?

zacharyfailla commented 4 years ago

I tried that once again but ran into the same issue. However, I am running Visual Studio 2019. I ended up downloading Visual Studio 2017 to see if that made a difference, and it built the files successfully, however, I was met with another error when I went to build the solution.

2017PostBuild 2017RunError

zacharyfailla commented 4 years ago

I also wanted to attach DebugConsole a picture of the debug console and what it says.