Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
assignment_2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aa2-olow
assignment_2022
Commits
5b13d41b
Commit
5b13d41b
authored
4 years ago
by
Benedict Gaster
Browse files
Options
Downloads
Patches
Plain Diff
updated readme and test windows/runtime
parent
88be6269
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+14
-0
14 additions, 0 deletions
README.md
windows/runtime/zlib1.dll
+0
-0
0 additions, 0 deletions
windows/runtime/zlib1.dll
with
14 additions
and
0 deletions
README.md
+
14
−
0
View file @
5b13d41b
...
...
@@ -16,14 +16,28 @@ build/shapes
build/splat
```
```
clang++ -std=c++17 -L./osx/lib/ -lSDL2 -lSDL2_ttf -lSDL2_image -lfreetype -lpng -lwebp -ltiff -ljpeg -lbz2 -lz -I./osx/include/ -I./osx/include/SDL2/ -I./include ./SDL_FontCache.o src/context.cpp src/app.cpp examples/splat.cpp -framework OpenGL
```
We need to build font cache
```
clang -c -I./osx/include/ -I./osx/include/SDL2/ -I./include src/SDL_FontCache.c
```
# Windows
```
cl /EHsc /Iwindows/include /Iinclude /Iwindows/include/SDL2 /c .\src\app.cpp .\src\context.cpp .\examples\shapes.cpp .\src\SDL_FontCache.c
```
```
link /SUBSYSTEM:CONSOLE /LIBPATH:windows\lib\x64 shapes.obj .\context.obj .\app.obj .\SDL_FontCache.obj SDL2.lib SDL2main.lib /NODEFAULTLIB:libcmtd.lib opengl32.lib shell32.lib SDL2_ttf.lib SDL2_image.lib freetype.lib
```
You can input the Visual Studio command line in Powershell with the command:
```
Import-BatchEnvironment 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat'
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
zlib1.dll
→
windows/runtime/
zlib1.dll
+
0
−
0
View file @
5b13d41b
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment