Git Product home page Git Product logo

Comments (3)

KhazAkar avatar KhazAkar commented on August 29, 2024

About my system:
OpenSUSE Leap 15, fully updated. HW: Dell Precision 5510.

from heekscad.

fatalfeel avatar fatalfeel commented on August 29, 2024

I use the version build ok on windows and linux

//
https://github.com/jehc/heekscad

///////////////////windows wxwidgets 2.8.12
C:\wxWidgets-2.8.12\build\msw\wx.sln
build unicode debug version

///////////////////windows opencascade-6.7.1.exe
C:\OpenCASCADE6.7.1\opencascade-6.7.1\msvc.bat vc9
build all

//////////////////heekscad windows
C:\heekscad\src\HeeksCAD VC2008.sln
project properties

  1. Use Unicode Character Set
  2. link lib
    opengl32.lib glu32.lib TKVrml.lib TKStl.lib TKBRep.lib TKIGES.lib TKShHealing.lib TKSTEP.lib TKSTEP209.lib TKSTEPAttr.lib TKSTEPBase.lib TKXSBase.lib TKShapeSchema.lib FWOSPlugin.lib PTKernel.lib TKBool.lib TKCAF.lib TKCDF.lib TKDraw.lib TKernel.lib TKFeat.lib TKFillet.lib TKG2d.lib TKG3d.lib TKGeomAlgo.lib TKGeomBase.lib TKHLR.lib TKMath.lib TKOffset.lib TKPCAF.lib TKPrim.lib TKPShape.lib TKService.lib TKTopAlgo.lib TKV3d.lib TKMesh.lib TKAdvTools.lib TKBO.lib TKXDESTEP.lib TKXCAF.lib TKXCAFSchema.lib TKDCAF.lib TKLCAF.lib TKPLCAF.lib wxmsw28ud_core.lib wxmsw28ud_aui.lib wxmsw28ud_gl.lib wxbase28ud.lib

/////
/////
//////////Linux wxwidgets 2.8.12

  1. apt-get install libgl1-mesa-dev libglu1-mesa-dev

cd /root/wxWidgets-2.8.12
gedit ./configure
find
/usr/openwin/share/include"
add one line to
/usr/openwin/share/include \
/usr/include/x86_64-linux-gnu"

mkdir buildgtk
cd buildgtk
../configure --prefix=/opt/wxgtk --with-gtk=2 --with-opengl --enable-unicode
make -j4 && make install

cd ..
mkdir buildgtkd
cd buildgtkd
../configure --prefix=/opt/wxgtkd --with-gtk=2 --with-opengl --enable-unicode --enable-debug
make -j4 && make install

///////////////////linux opencascade-6.7.1.tgz
apt-get install tcl-dev tk-dev libfreetype6-dev libxt-dev libxmu-dev libgl1-mesa-dev libfreeimage-dev libtbb-dev libgl2ps-dev
./build_configure
./configure --prefix=/opt/opencascade

//////////////////heekscad ubuntu
gedit /root/heekscad/src/CMakeLists.txt
find
set( CASCADE_LIBS TKVRML TKSTL TKBRep TKIGES TKShHealing TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase TKXSBase TKShapeSchema FWOSPlugin TKBool TKCAF TKCDF TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo TKGeomBase TKHLR TKMath TKOffset TKPrim TKPShape TKService TKTopAlgo TKV2d TKV3d TKMesh TKAdvTools TKBO TKXDESTEP TKXCAF TKXCAFSchema TKLCAF TKPLCAF )
remove TKV2d to
set( CASCADE_LIBS TKVRML TKSTL TKBRep TKIGES TKShHealing TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase TKXSBase TKShapeSchema FWOSPlugin TKBool TKCAF TKCDF TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo TKGeomBase TKHLR TKMath TKOffset TKPrim TKPShape TKService TKTopAlgo TKV3d TKMesh TKAdvTools TKBO TKXDESTEP TKXCAF TKXCAFSchema TKLCAF TKPLCAF )

apt-get install cmake-qt-gui
mkdir build
cd build
cmake-gui

CMAKE_BUILD_TYPE -> Debug
CMAKE_INSTALL_PREFIX -> /opt/heekscade (no effect but just setting)
configure
generate
make

cp -R /root/heekscad/bitmaps /root/heekscad/build/share/heekscad
cp -R /root/heekscad/icons /root/heekscad/build/share/heekscad

gedit /root/.bashrc
//add
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/wxgtk/lib:/opt/opencascade/lib
cd /root/heekscad/build/bin
./heekscad-0.18.0

from heekscad.

bullestock avatar bullestock commented on August 29, 2024

I have created a fork which compiles with wxWidgets 3.2. See https://github.com/bullestock/heekscad/

from heekscad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.