Include<boost/lexicast.hpp> no such file directory ::issue
-
wrote on 12 May 2016, 07:06 last edited by
do you see a boost directory there, containing a lexical_cast.hpp file?
Did you find the
lexical_cast.hpp
file? And if so, what was the full path to it? -
do you see a boost directory there, containing a lexical_cast.hpp file?
Did you find the
lexical_cast.hpp
file? And if so, what was the full path to it?wrote on 12 May 2016, 07:09 last edited byyeah, i saw lexical_cast.hpp inside folder boost . the full path is C:\Users\USER\Desktop\boost_1_60_0\boost
thanks
-
wrote on 12 May 2016, 07:13 last edited by
@QT_QT_QT said:
yeah, i saw lexical_cast.hpp inside folder boost . the full path is C:\Users\USER\Desktop\boost_1_60_0\boost
Ok, so with:
INCLUDEPATH += C:/Users/USER/Desktop/boost_1_60_0
Show us the compiler command and output (ie the contents of the "Compiler Output" pane, if using Qt Creator).
Cheers.
-
@QT_QT_QT said:
yeah, i saw lexical_cast.hpp inside folder boost . the full path is C:\Users\USER\Desktop\boost_1_60_0\boost
Ok, so with:
INCLUDEPATH += C:/Users/USER/Desktop/boost_1_60_0
Show us the compiler command and output (ie the contents of the "Compiler Output" pane, if using Qt Creator).
Cheers.
wrote on 12 May 2016, 07:17 last edited byok, So far i only got this error which is C1083: Cannot open such file :boost/lexical_cast.hpp':no such file or directory
-
wrote on 12 May 2016, 07:22 last edited by
Without seeing the compiler command being executed, it will be difficult to suggest what might be going wrong. Are you able to show us the compiler command?
-
Without seeing the compiler command being executed, it will be difficult to suggest what might be going wrong. Are you able to show us the compiler command?
wrote on 12 May 2016, 07:24 last edited byhi , what is that compiler command ? you want to know the command of building Boost this libraries?
-
wrote on 12 May 2016, 07:29 last edited by
@QT_QT_QT said:
you want to know the command of building Boost this libraries?
No, I mean the command that results in the "C1083: Cannot open such file :boost/lexical_cast.hpp':no such file or directory" error. Given that you're on Windows (and that the C1083 code is Microsoft's compiler-specific), it will probably start with
cl.exe
orfull\path\to\cl.exe
.If you're using Qt Creator, it should be in the Compiler Output pane, one to several lines before the error message.
-
wrote on 12 May 2016, 07:30 last edited by
So, instead of this code C:/Users/USER/Desktop/boost_1_60_0/boots
i changed the code into something like this : C:\Users\USER\Desktop\boost_1_60_0\boost
After the modification , i got an error like this : C1902 :Program Database manager mismatch;please check your installation
-
wrote on 12 May 2016, 07:33 last edited by
The compiler command will look something like:
cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 /WX -GR -EHsc -DUNICODE -DWIN32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DBUILD_USER=appveyor -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DNDEBUG -I..\..\bipolar\src -I. -I..\..\bipolar\src -I..\..\bipolar\src\os -I..\..\bipolar\src\polar\v2 -I..\..\bipolar\src\protobuf -I..\..\bipolar\src\threads -I..\..\bipolar\src\widgets -I..\..\bipolar\src\widgets\gpx -I..\..\bipolar\src\widgets\hrm -I..\..\bipolar\src\widgets\tcx -I..\..\..\Qt\5.6\msvc2015_64\include -I..\..\..\Qt\5.6\msvc2015_64\include\QtWidgets -I..\..\..\Qt\5.6\msvc2015_64\include\QtGui -I..\..\..\Qt\5.6\msvc2015_64\include\QtANGLE -I..\..\..\Qt\5.6\msvc2015_64\include\QtXml -I..\..\..\Qt\5.6\msvc2015_64\include\QtCore -Irelease\tmp -I..\..\..\Qt\5.6\msvc2015_64\mkspecs\win32-msvc2015 -Forelease\tmp\ @C:\Users\appveyor\AppData\Local\Temp\1\nm6457.tmp
Cheers.
-
wrote on 12 May 2016, 07:34 last edited by QT_QT_QT 5 Dec 2016, 07:36
@Paul-Colby said:
..\TestingCrow\main.cpp: fatal error C1902: Program database manager mismatch; please check your installation
jom: C:\Users\USER\Documents\build-TestingCrow-Desktop_Qt_5_6_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\main.obj] Error 2
jom: C:\Users\USER\Documents\build-TestingCrow-Desktop_Qt_5_6_0_MSVC2015_64bit-Debug\Makefile [debug] Error 2
15:33:49: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project TestingCrow (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
When executing step "Make"The message i access it from "compile output" WIndows->output panes->compile output
-
wrote on 12 May 2016, 08:45 last edited by
INCLUDEPATH += C:/Users/USER/Desktop/boost_1_60_0/
LIBS += -L"C:/Users/USER/Desktop/boost_1_60_0/boost" -l Lexical_Cast
was trying this solution , however its not working . Some one from here please help me .
15/16