You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings. I am learning about step code and this looks like a fun project to try out. I am learning to debug as I try to compile.
This is what I've done so far.... Check all the dependencies for stepcode and install Qt4. Then ...
$> mkdir project && cd project
$> git clone [...]stepcode
$> git clone [...]scview
$> cd SCView
$> # edit the CMakeLists.txt
$> # insert textView/ before the files that have moved into that folder
$> mkdir build && cd build
$> cmake .. -DSTEPCODE_ROOT_DIR=./../../stepcode
$> make -j 6
...
[ 80%] Generating expressg/moc_ExpressGScene.cxx
make[2]: *** No rule to make target `../EntityTypeList.h', needed by `moc_EntityTypeList.cxx'. Stop.
Okay, after some playing it looks like, due to some reorganization, compiling requires only minor changes in CMakeLists.txt.
$> # cd .. && edit CMakeLists.txt
$> # delete "EntityTypeList.h" from MOC_HDRS
$> # repeat from mkdir build
CMakeFiles/SCView_AP214E3_2010.dir/SchemaTree.cpp.o: In function `SchemaTree::findSelection()':
/home/nfette/qt/SCView/SchemaTree.cpp:110: undefined reference to `SchemaTree::selectedDescriptorChanged(TypeDescriptor const*)'
CMakeFiles/SCView_AP214E3_2010.dir/MainWindow.cpp.o: In function `MainWindow::MainWindow(QWidget*)':
/home/nfette/qt/SCView/MainWindow.cpp:43: undefined reference to `SchemaTreeDockWidget::SchemaTreeDockWidget(SchemaTree*, QWidget*)'
$> # cd .. and edit CMakeLists.txt to insert SchemaTree.h SchemaTreeDockWidget.h into MOC_HDRS, as well as SchemaTreeDockWidget.h and .cpp into HDRS and SRCS.
$> # repeat from mkdir build
Now it compiles. Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
would you mind to help me in building QT to build SCView?
I'm on win64b, using msys2 64b
I'm getting this error
$ cmake .. -G "MSYS Makefiles" -DSTEPCODE_ROOT_DIR=./../../stepcode
CMake Error at C:/kicad-wb-1602/msys64/mingw64/share/cmake-3.4/Modules/FindQt4.cmake:1326 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
CMakeLists.txt:28 (find_package)
or may be how to use a prebuilt package as the one at https://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/Qt-Builds/
Thanks
Greetings. I am learning about step code and this looks like a fun project to try out. I am learning to debug as I try to compile.
This is what I've done so far.... Check all the dependencies for stepcode and install Qt4. Then ...
Okay, after some playing it looks like, due to some reorganization, compiling requires only minor changes in CMakeLists.txt.
Now it compiles. Thanks.
The text was updated successfully, but these errors were encountered: