Error 20150902 develop - Qt error: vinternalvariable.h: No such file or directory

Issue #345 resolved
Susan Spencer created an issue

On Windows 8.1, 64bit, using Qt5.4.1 this error occurred when compiling:

-I"C:\Qt5.4\5.4\mingw491_32\include\QtNetwork" -I"C:\Qt5.4\5.4\mingw491_32\include\QtCore" -I"moc" -I"uic" -I"C:\Qt5.4\5.4\mingw491_32\mkspecs\win32-g++" -o obj\vtooloptionspropertybrowser.o ........\valentina\src\app\valentina\core\vtooloptionspropertybrowser.cpp In file included from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../../../../vpatterndb/variables/vmeasurement.h:32:0, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../../../../vpatterndb/variables.h:33, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../../../../vpatterndb/vcontainer.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../../vdatatool.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../../vabstracttool.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../vdrawtool.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../vabstractpoint.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../vtoolsinglepoint.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.h:32, from ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/drawtools.h:32, from ........\valentina\src\app\valentina\core\vtooloptionspropertybrowser.cpp:30: ........\valentina\src\app\valentina/../../libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/../../../../../../vpatterndb/variables/vvariable.h:32:31: fatal error: vinternalvariable.h: No such file or directory #include "vinternalvariable.h" ^ compilation terminated. Makefile:10605: recipe for target 'obj/vtooloptionspropertybrowser.o' failed mingw32-make[3]: [obj/vtooloptionspropertybrowser.o] Error 1 mingw32-make[3]: Leaving directory 'C:/Users/Susan/src/build-Valentina-Desktop_Qt_5_4_1_MinGW_32bit-Release/src/app/valentina' Makefile:39: recipe for target 'sub-valentina-make_first' failed mingw32-make[2]: Leaving directory 'C:/Users/Susan/src/build-Valentina-Desktop_Qt_5_4_1_MinGW_32bit-Release/src/app' mingw32-make[2]: [sub-valentina-make_first] Error 2 Makefile:65: recipe for target 'sub-app-make_first' failed mingw32-make[1]: [sub-app-make_first] Error 2 mingw32-make[1]: Leaving directory 'C:/Users/Susan/src/build-Valentina-Desktop_Qt_5_4_1_MinGW_32bit-Release/src' makefile:38: recipe for target 'sub-src-make_first' failed mingw32-make: [sub-src-make_first] Error 2 14:57:40: The process "C:\Qt5.4\Tools\mingw491_32\bin\mingw32-make.exe" exited with code 2. Error while building/deploying project Valentina (kit: Desktop Qt 5.4.1 MinGW 32bit) When executing step "Make" 14:57:40: Elapsed time: 44:12.

Comments (16)

  1. Roman Telezhynskyi repo owner

    I can't confirm. What commit do you used? You should delete the build folder and run full rebuild.

  2. Roman Telezhynskyi repo owner

    What does say Qt Creator when you open vvariable.h? Do it see vinternalvariable.h? Also check if you have file vinternalvariable.h in correct place.

  3. Susan Spencer reporter

    I have done this several times. I delete the previous build folder and selected 'Build All' with 'Release' Qmake runs without error (which usually exits with errors about previously existing files if the build folder hasn't been deleted)

  4. Roman Telezhynskyi repo owner

    Ok, i will double check on Windows. Please, check that you use the last code in develop branch.

  5. Susan Spencer reporter

    Using Qt's Tool/locate, I found both files:

    File vvariable.h is in valentina/src/libs/vpatterndb/variables

    File vinternalvariable.h is in valentina/src/libs/vpatterndb/variables

  6. Susan Spencer reporter

    C:\Users\Susan\src\valentina>hg branch

    develop

    C:\Users\Susan\src\valentina>hg pull

    pulling from https://bitbucket.org/dismine/valentina searching for changes no changes found

    C:\Users\Susan\src\valentina>hg update

    0 files updated, 0 files merged, 0 files removed, 0 files unresolved

  7. Roman Telezhynskyi repo owner

    I don't understand what's happen. Both files are in the same folder.

    Does vvariable.h contain this string?

    #include "vinternalvariable.h"
    
  8. Roman Telezhynskyi repo owner

    I just remembered Valentina said something about broken paths too. I think she can help us.

  9. Susan Spencer reporter

    /********** @file vvariable.h @author Roman Telezhynskyi <dismine(at)gmail.com> @date 9 7, 2014 @brief @copyright This source code is part of the Valentine project, a pattern making program, whose allow create and modeling patterns of clothing. Copyright (C) 2013-2015 Valentina project https://bitbucket.org/dismine/valentina All Rights Reserved. Valentina is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Valentina is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Valentina. If not, see http://www.gnu.org/licenses/. *************/

    #ifndef VVARIABLE_H #define VVARIABLE_H

    #include "vinternalvariable.h" #include "../ifc/ifcdef.h"

    class VVariableData;

    class VVariable :public VInternalVariable { public: VVariable();

  10. Log in to comment