[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] compiling SC-Plugins after recent updates




Am 2015-12-03 um 18:20 schrieb Victor Bombi:
> It seems that
> 
> set(STKDIR ${CMAKE_CURRENT_SOURCE_DIR}/stk)
> 
> if(NOT EXISTS ${STKDIR})
>   message(FATAL_ERROR "Should use submodule update to get Stk")
> endif()
> 
> was not enought because /stk is already present before submodule update?
> perhaps:
> 
> 
> if(NOT EXISTS "${STKDIR}/src")

There's nothing wrong with source/StkInst/CMakeLists.txt I think. It's
part of my normal update practice to *always* invoke git submodule
update (after git pull) but in this case this wasn't enough as a new
submodule was added:
https://github.com/sonoro1234/StkInst/commit/acf2065764ec81313a0763cd3b845f01db42e9a3
- in that case one should call git submodule init too. I just did that
and everything worked fine.

Thanks very much for your attention and sorry for the noise,
Stefan
> 
> 
> ----- Original Message ----- From: "Dan Stowell" <danstowell@xxxxxxxxx>
> To: "SuperCollider developers list" <sc-dev@xxxxxxxxxxxxxxxx>
> Sent: Thursday, December 03, 2015 9:27 AM
> Subject: Re: [sc-dev] compiling SC-Plugins after recent updates
> 
> 
>> git submodule update
>>
>> 2015-12-02 22:32 GMT+00:00 Stefan Nussbaumer <stefanus@xxxxxxxxx>:
>>> Hi,
>>>
>>> I've just tried to compile the plugins after having pulled the latest
>>> changes (esp. the STKUgens). But compilation failed with the following
>>> error:
>>>
>>> $ cmake .. && make clean && make
>>> -- Using SC source located at /home/stefan/sources/supercollider
>>> -- Building plugins for SuperCollider version: 3.7alpha1
>>> -- local_sources:
>>> CMake Error at source/StkInst/CMakeLists.txt:22 (list):
>>>   list sub-command REMOVE_ITEM requires two or more arguments.
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>> See also
>>> "/home/stefan/sources/sc3-plugins/build/CMakeFiles/CMakeOutput.log".
>>> See also
>>> "/home/stefan/sources/sc3-plugins/build/CMakeFiles/CMakeError.log".
>>>
>>>
>>> I'm on UbuntuStudio 14.04, using cmake 2.8.12.2
>>>
>>> Anybody knows what I'm missing?
>>>
>>> thanks, Stefan
>>>
>>> _______________________________________________
>>> sc-dev mailing list
>>>
>>> info (subscription, etc.):
>>> http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>>>
>>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>>
>>
>>
>> -- 
>> http://www.mcld.co.uk
>>
>> _______________________________________________
>> sc-dev mailing list
>>
>> info (subscription, etc.):
>> http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>>
>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/ 
> 
> 
> _______________________________________________
> sc-dev mailing list
> 
> info (subscription, etc.):
> http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> 
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
> 

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/