FOnline Development > Share Your Work
How to build FOClassic using Windows 7 64bit
(1/1)
adumbperson:
--- Quote ---"Whatever you do will be insignificant, but it is very important that you do it." - Mahatma Gandhi
--- End quote ---
Using VS2010 you'll need to refresh your installation...
First download microsoft's 7.1 sdk for windows
https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe
https://download.microsoft.com/download/7/5/0/75040801-126C-4591-BCE4-4CD1FD1499AA/VC-Compiler-KB2519277.exe
https://git-scm.com/download/win
https://github.com/Kitware/CMake/releases/download/v3.14.2/cmake-3.14.2-win64-x64.msi
Follow instruction and install these...
after rebooting you shud be rdy...
Fire up a git shell
--- Code: ---git clone https://github.com/rotators/foclassic
cd foclassic/
git submodule update --init --recursive
mkdir ../SDK.VS2010
cd ../SDK.VS2010
cmake -G "Visual Studio 10" ../foclassic
--- End code ---
From there you shud have all solutions and project files generated in the current directory.
You can now develop, compile & debug stuff using VS2010 apps
## Workaround fatal error C1083: missing header include : 'ammintrin.h'
If you get this error while generating binaries
--- Code: ---Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fatal error C1083: Impossible d'ouvrir le fichier include : 'ammintrin.h' : No such file or directory
--- End code ---
You'll need to import an header file: ammintrin.h
https://www.mathworks.com/matlabcentral/answers/uploaded_files/735/ammintrin.m
and move this last to
--- Code: ---C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ammintrin.h
--- End code ---
You can also clone foc from wipe's git repo, it includes automated building scipts and default file assets
--- Code: ---git clone https://github.com/wipe2238/foc
cd foc/Upstream
git clone https://github.com/rotators/foclassic FOClassic
cd FOClassic
git submodule update --init --recursive
cd ../..
Build.cmd
--- End code ---
Enjoy working with working stuffs...
Navigation
[0] Message Index
Go to full version