Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:35

    jcelerier on master

    [gui] Fix that opening a newly … (compare)

  • 17:27

    jcelerier on master

    [value filter] Fix tempo sync (compare)

  • 16:55

    jcelerier on master

    [ui] Fix that info panel text w… (compare)

  • 04:18
    thibaudk edited #1322
  • 04:15
    thibaudk edited #1322
  • 03:51
    thibaudk synchronize #1320
  • 03:43
    thibaudk synchronize #1320
  • 03:36
    thibaudk edited #1322
  • 03:36
    thibaudk edited #1322
  • 03:36
    thibaudk edited #1322
  • 03:36
    thibaudk edited #1322
  • 03:24
    thibaudk edited #1322
  • 03:24
    thibaudk edited #1322
  • 02:43

    jcelerier on master

    [ci] update libossia (compare)

  • 02:43

    jcelerier on master

    [libmapper] Work on implementin… (compare)

  • 01:19
    thibaudk opened #1322
  • 01:19
    thibaudk labeled #1322
  • 01:19
    thibaudk assigned #1322
  • Dec 05 19:09
    thibaudk labeled #1321
  • Dec 05 19:09
    thibaudk opened #1321
Thibaud Keller
@thibaudk
Any feedback or edits would be greatly appreciated !
And of course your feedback here is already helping a lot. keep it coming !
Pia Baltazar
@bltzr

btw - how would you suggest to understand cpp better? I understand higher languages quite well and also read a 101 book on cpp - but in real life cpp looks really complicated and difficult to understand/where to start. is there any advice you can give on this topic?

I went through all of Programming: Principles and Practice Using C++
Book by Bjarne Stroustrup
It took me a few months half-time, but that was time well-spent, I guess...

gus
@gusmccallum
Hi I'm just starting out trying to work on score and had some questions on setup. I'm trying to follow the instructions on setup for use with visual studio on windows and was confused by this part. Should visual studio be installed in this dev folder? I think there's an image missing maybe that would help. Screenshot
Jean-Michaël Celerier
@jcelerier
hi @gusmccallum
hmmm
developing on windows is
though
:)
this is from the documentation right ?
my recommendation would be to follow what the build script does
but be aware that on win32 the build is fairly slow when compared to linux
here's the script that fetches the dependencies
(they have to be installed in that exact c:/ossia-sdk folder, e.g. you should have c:/ossia-sdk/llvm/bin/clang.exe)
then you can run CMake
though in your case it will look more like this (the options in the CI build script are for making the actual release builds which are more optimized, have more features, and also take much more time to build)
cmake -GNinja %BUILD_SOURCESDIRECTORY% ^
  -DCMAKE_C_COMPILER=c:/ossia-sdk/llvm/bin/clang.exe ^
  -DCMAKE_CXX_COMPILER=c:/ossia-sdk/llvm/bin/clang++.exe ^
  -DOSSIA_SDK=c:\ossia-sdk ^
  -DSCORE_PCH=1 ^
  -DCMAKE_BUILD_TYPE=Debug
(replace %BUILD_SOURCESDIRECTORY% with e.g. c:/path/to/the/git/repo/of/score)
gus
@gusmccallum
Ok thanks!
Jean-Michaël Celerier
@jcelerier
tell me if you're stuck at any point, during the day I don't have much time until the end of the week but I'll try to keep an eye open
(also I recommend ninja for building as it's the fastest option on windows but you must have it in your PATH)
the initial build will be quite slow but once you have it subsequent builds should be ok
gus
@gusmccallum
Ok will do, and thanks good to know!
Jean-Michaël Celerier
@jcelerier
then I think that VS can open the CMake build folder but I'm not sure ? Or VSCode can do it, or Qt Creator, or CLion if you have any of those
gus
@gusmccallum
Ok
I'll try in VS and use one of the other ones if it's not working
Gauthier Segay
@smoothdeveloper

not sure if this channel is ok as a "ask C++ experts in context of multimedia related development", I'm wondering if I can use constexpr to initialize a static data structure definining parameters (of std::variant kind) for a VST plugin I'm trying to refactor a bit?

I'm not super familiar with uptodate C++, but kind of a language freak (very much into F#) and trying to use C++ features better for type safety and maintainability of the code, leveraging same techniques I'm used in F# or related languages.

I haven't looked much into OSSIA score at this point (but a person working on above project on the artists side told me about it being potential use for us later on), but came here through the recent post on HN about avendish, and figured this seems like the right place to help me skill up a bit on C++, right around people doing the kind of software engineering I love :)

s.a.d.
@depfriedpizza_twitter
Hi! Score v3.0.0-rc1 crashing on startup, showing message about missing .dll file (api-ms-win-core-console-l3-2-0). I'm using win10. Any ideas on this?
Gauthier Segay
@smoothdeveloper
@depfriedpizza_twitter not sure, it could be the program "works on my machine" when some windows SDK is installed but not otherwise (making it harder for actual developers to figure the issue in the first place)

https://docs.microsoft.com/en-us/answers/questions/297861/api-ms-win-core-console-l3-2-0dll-missing-from-sdk.html

For windows 10 version lower than 10.0.17134, api-ms-win-core-console-l3-2-0 is not available.

you may check your version of windows 10, if it is lower
s.a.d.
@depfriedpizza_twitter
@smoothdeveloper Thanks, i checked another builds. 3.0 a20 works fine
Gauthier Segay
@smoothdeveloper
@depfriedpizza_twitter great, thanks for the update, so maybe there is something with the build system assembling those binaries which changed.
regarding my above question, constexpr functions look great, refactoring away now :)
Jean-Michaël Celerier
@jcelerier
hi !
@smoothdeveloper I think it's a good use of this channel too ;p

if I can use constexpr to initialize a static data structure definining parameters

yes :)

what matters is that all your data types are constexpr too
std::variant has constexpr ctors
you can even do all the operations in constexpr context if you're starting from constexpr data: https://gcc.godbolt.org/z/nfzh5P54x
that's of limited use in audio tho
@depfriedpizza_twitter thanks for the report
hmm
that's generally because of old windows versions indeed, but I wonder what did cause that requirement
hopefully I don't have to rebuild the whole sdk x_x
(as it may have been picked up by a library we use in score that I regularly update)
Jean-Michaël Celerier
@jcelerier
and nice, an F# user :) I've not used it much but the ability to map data types directly from the data with e.g. CSV & such is.. crazy
a lot of the algorithms used in score were worked on in ocaml during my thesis work. wouldn't do that again tho...
Gauthier Segay
@smoothdeveloper

@jcelerier, thanks a bunch for the feedback! digging in C++ is exciting (C# is "yawn inducing" compared to it, I want to become better with C++) and yes I'm also using the F# features you mention (type providers) a lot in my day job, and going to use it to generate C++ code (and some day rust) out of metadata defined in csv files, etc.

I've not tried ocaml much, but things are probably improving (through reasonML).

So far, I'm able to proceed with my constexpr and std::variant refactoring, hope I'll find some time to dig a bit into architecture of OSSIA soon.