Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

LINKER ERROR :: Cannot open file(...).lib

$
0
0

I uses CROW this micro framework to create a server site. First of all, I started to write a simple code with a Notepad++ , such as like this:

#include"crow.h"int main(){return0;

}

I save it as .cpp file and save it inside "include" folder along with other header file. After that, I tried to compile the code via developer command prompt with such command as like this : cl /EHsc /I C:\local\boost_1_60_0 C:\Users\USER\Desktop\crow-master\include\example.cpp ^ /link /LIBPATH:C:\local\boost_1_60_0\lib64_msvc-12.0 This approach will give linker error with a message saying cannot open file (...).lib . Am I doing the right way? Did I miss out something ? Please tell me what should I do to improve this situation. Thank you in advance !


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>