trouble when building with cmake

classic Classic list List threaded Threaded
30 messages Options
12
Reply | Threaded
Open this post in threaded view
|

trouble when building with cmake

Théo de la Hogue-2
Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".

------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
tap
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

tap
FWIW, We should *not* be linking with MaxAPI.  I can't tell from this output what it is that is trying to do that.  

Also, do we have a list of what is dependent on calls to Jitter?

Tim


On Fri, Aug 21, 2015 at 9:31 AM, Théo de la Hogue <[hidden email]> wrote:
Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".

------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel



------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Renaud Rubiano
In reply to this post by Théo de la Hogue-2
For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Théo de la Hogue-2
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Antoine Villeret
Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
But there is definetely something wrong with your system.

Cheers

Antoine

--
do it yourself                      
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel



------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Théo de la Hogue-2
Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                      
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Renaud Rubiano
Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Théo de la Hogue-2
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Antoine Villeret
it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external

btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so... sorry

best

--
do it yourself                      
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel



------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Théo de la Hogue-2
Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                      
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Pascal Baltazar-5
Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 

Pascal Baltazar
[hidden email]
http://www.baltazars.org

Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Renaud Rubiano
Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud






Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 


Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

=?utf-8?Q?Re=CC=81sultat_de_Terminal?= (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Antoine Villeret
Max related things have been moved to JamomaMax repo.
Which makes more sense to my eyes than leaving them in Core repo.
And this also fix some issues when JamomaCore is used outside the Umbrella repository, when building JamomaPuredata for instance.

I'm not sure Renaud is on the right way when saying you should checkout all dev branch.
I think you should rather use submodule as they are defined in each repo without touching them by hand.
If we made a change in JamomaCore and we want to see its effect into JamomaMax, then we should update the JamomaCore submodule of JamomaMax or update JamomaCore and JamomaMax submodules of Umbrella repo. 
If you checkout a custom branch (like dev) you could run into issue if someone (like me) forgot to update a submodule in the parent repo after pushing a change.
For example, if you checkout the master branch of the CicmWrapper inside JamomaPd repo, I'm pretty sure the build will fail because CICM developer often make changes that break backward compatibility.

Please note that Tavis-CI is building fine both Umbrella and JamomaMax repos for OS X, so I'm pretty sure that the commit pointed by submodule on these repo work with the current version of those repo.

I'll try to take a look into the state of JamomaMax and Umbrella repo and update them if necessary asap.

Cheers

Antoine

--
do it yourself                      
http://antoine.villeret.free.fr

2015-08-28 13:42 GMT+02:00 Renaud Rubiano <[hidden email]>:
Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud






Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 


Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel



------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Pascal Baltazar-5
In reply to this post by Renaud Rubiano
Hi Renaud !

Thanks for this - I’ve run it, and apparently all went fine !
I’ve tried the package in Max and everything seems to work well...
Great !

One question, though, what do you do once the folder is cloned and you just want to update it ?
Apparently that doesn’t seem to work…
I have commented out the git clone line, but it complains about changes being there and preventing it to checkout 
+ git submodule update --init --recursive
error: Your local changes to the following files would be overwritten by checkout:
Foundation/library/includes/JamomaCoreVersion.h
Please, commit your changes or stash them before you can switch branches.
Aborting
Unable to checkout '5cb332c5ac478674aaacdfd03ea64ae48d0ee4ce' in submodule path ‘JamomaCore'
Or maybe what you say is that the only solution you’ve found so far is to re-clone everything everytime you want to update ???

any hint ?

p

Pascal Baltazar
[hidden email]
http://www.baltazars.org

Le 28 août 2015 à 13:42, Renaud Rubiano <[hidden email]> a écrit :

Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud


<Résultat de Terminal>



Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 


Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
tap
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

tap
In reply to this post by Renaud Rubiano
Hi,

A quick note to say a few things:

First, thank you to Antoine who has done the thankless and frustrating work of getting all of the CMake stuff working!

Second, thank you to Renaud for the `Install_JamomaMax_repo.sh` script.  IMO the contents of this script should be included in the ReadMe for JamomaMax to show people how to get going.

Regarding other questions:

* Yes, we should ditch the 'dev' branch for 'master' as soon as possible.
* Yes, we should ditch the umbrella repository as soon as possible.
* Yes, we should delete the alternative ruby build scripts as soon as possible.

We have agreed to do both of the above but I think we have been waiting because it will cause some problems with the BEK server and we wanted to be sure not to cause problems.  I'm not sure if all of the above causes problems or just some steps.  Right now Jamoma feels like a bit of a mess because of all of this.  

We have automated builds on every push now that does not require the BEK server to do the work.  

One place the BEK server still offers unique service is running the implementation tests in Max.  I'm not sure if those are running though?  If they aren't then we should just move ahead, IMO.  I also wonder if it is possible to tell Travis to download Max and run the integration tests.

Tim


On Fri, Aug 28, 2015 at 6:42 AM, Renaud Rubiano <[hidden email]> wrote:
Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud






Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 


Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel



------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Renaud Rubiano
In reply to this post by Pascal Baltazar-5
I know that I’m sometimes a bit mad with GIT, but I didn’t clone the repo each time I want to update it !! (eve if my fish new optical fiber connection is really fast)

We simply have to type two commands 

git pull
git submodule foreach git pull 



Le 28 août 2015 à 14:12, Pascal Baltazar <[hidden email]> a écrit :

Hi Renaud !

Thanks for this - I’ve run it, and apparently all went fine !
I’ve tried the package in Max and everything seems to work well...
Great !

One question, though, what do you do once the folder is cloned and you just want to update it ?
Apparently that doesn’t seem to work…
I have commented out the git clone line, but it complains about changes being there and preventing it to checkout 
+ git submodule update --init --recursive
error: Your local changes to the following files would be overwritten by checkout:
Foundation/library/includes/JamomaCoreVersion.h
Please, commit your changes or stash them before you can switch branches.
Aborting
Unable to checkout '5cb332c5ac478674aaacdfd03ea64ae48d0ee4ce' in submodule path ‘JamomaCore'
Or maybe what you say is that the only solution you’ve found so far is to re-clone everything everytime you want to update ???

any hint ?

p


Le 28 août 2015 à 13:42, Renaud Rubiano <[hidden email]> a écrit :

Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud


<Résultat de Terminal>



Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 


Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Pascal Baltazar-5
Yes, sure… of course… sorry for the noise

I think I need to go and get a nap

p

Pascal Baltazar
[hidden email]
http://www.baltazars.org

Le 28 août 2015 à 14:23, Renaud Rubiano <[hidden email]> a écrit :

I know that I’m sometimes a bit mad with GIT, but I didn’t clone the repo each time I want to update it !! (eve if my fish new optical fiber connection is really fast)

We simply have to type two commands 

git pull
git submodule foreach git pull 



Le 28 août 2015 à 14:12, Pascal Baltazar <[hidden email]> a écrit :

Hi Renaud !

Thanks for this - I’ve run it, and apparently all went fine !
I’ve tried the package in Max and everything seems to work well...
Great !

One question, though, what do you do once the folder is cloned and you just want to update it ?
Apparently that doesn’t seem to work…
I have commented out the git clone line, but it complains about changes being there and preventing it to checkout 
+ git submodule update --init --recursive
error: Your local changes to the following files would be overwritten by checkout:
Foundation/library/includes/JamomaCoreVersion.h
Please, commit your changes or stash them before you can switch branches.
Aborting
Unable to checkout '5cb332c5ac478674aaacdfd03ea64ae48d0ee4ce' in submodule path ‘JamomaCore'
Or maybe what you say is that the only solution you’ve found so far is to re-clone everything everytime you want to update ???

any hint ?

p


Le 28 août 2015 à 13:42, Renaud Rubiano <[hidden email]> a écrit :

Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud


<Résultat de Terminal>



Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserFrom.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInOutFunction.test.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfbandLinear33.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighMidLowShelf.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIParserTo.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseOutFunction.test.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTCircularEaseInOutFunction.test.cpp.o
[ 62%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDISource.cpp.o
[ 62%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth1.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth3.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassButterworth4.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTExponentialEaseInOutFunction.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley2.test.cpp.o
[ 63%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseOutFunction.test.cpp.o
Linking CXX shared library MIDI.ttdylib
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHighpassLinkwitzRiley4.test.cpp.o
[ 64%] Built target MIDI
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTElasticEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBackEaseInOutFunction.test.cpp.o
[ 64%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbert9.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHilbertLinear33.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInFunction.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth1.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth2.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth3.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassButterworth4.test.cpp.o
[ 65%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassFourPole.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTBounceEaseInOutFunction.test.cpp.o
[ 66%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley2.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassLinkwitzRiley4.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassOnePole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTLowpassTwoPole.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirror5.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTMirrorBandpass10.test.cpp.o
[ 67%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTOnePole.test.cpp.o
[ 68%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTSvf.test.cpp.o
Linking CXX shared library FunctionLib.ttdylib
[ 68%] Built target FunctionLib
Linking CXX shared library FilterLib.ttdylib
[ 68%] Built target FilterLib
make: *** [all] Error 2
bltzr:Jamoma bltzr$ 


Le 28 août 2015 à 11:31, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 28 août 2015 à 10:12, Antoine Villeret <[hidden email]> a écrit :

it looks like your XML library is 64bit only
you can either :

- try to install a FAT library (32bit + 64bit in one bundle) with something like :
`brew install --universal libxml` 
but I'm not sure this is the right command line (and I don't have a Mac under the hand to test it right now)

- or remove the `--universal` option from Renaud's script on line https://github.com/PixelStereo/Install-JamomaMax-repo/blob/master/Install_JamomaMax_repo.sh#L16
thus you will build 64bit only max external
ok I’ll try that !


btw concerning the JamomaCore submodule in Max, I thought to have mention it somewhere when I done it but I may have forgot to do so… sorry
you certainly did but I've forgot about that during my vacation …

thanks !
Best
TO


best

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-28 10:02 GMT+02:00 Théo de la Hogue <[hidden email]>:
Hi Renaud,
thanks for this detailed process. 
it makes understand that there is a JamomaCore submodule into Max repository now !

However the build from Max repository script is failing on Modular (see part of log below).
and unfortunatelly the umbrella build.sh script is still not working on my machine.

Best,
TO

Undefined symbols for architecture i386:
  "_xmlCheckVersion", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFree", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::fromXmlChar(void const*, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlFreeTextReader", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlFreeTextWriter", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextReaderFilename", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlNewTextWriterFilename", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderIsEmptyElement", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToAttribute", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderMoveToElement", referenced from:
      TTCueManager::ReadFromXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::ReadFromXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
  "_xmlTextReaderMoveToFirstAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
  "_xmlTextReaderMoveToNextAttribute", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderName", referenced from:
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
  "_xmlTextReaderNodeType", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderRead", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderReadString", referenced from:
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextReaderValue", referenced from:
      TTApplication::ReadFromXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::readNodeFromXml(TTXmlHandler*) in TTApplication.cpp.o
      TTApplicationManager::ReadFromXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
      TTMapperManager::ReadFromXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTXmlHandler::Read(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlAttribute(TTSymbol, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      TTXmlHandler::getXmlNextAttribute(TTSymbol&, TTValue&, bool, bool) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterEndDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterEndElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterSetIndent", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartDocument", referenced from:
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
  "_xmlTextWriterStartElement", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      ...
  "_xmlTextWriterWriteAttribute", referenced from:
      TTApplication::WriteAsXml(TTValue const&, TTValue&) in TTApplication.cpp.o
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTApplicationManager::writeProtocolAsXml(TTXmlHandler*, TTObject) in TTApplicationManager.cpp.o
      TTCueManager::WriteAsXml(TTValue const&, TTValue&) in TTCueManager.cpp.o
      TTPresetManager::WriteAsXml(TTValue const&, TTValue&) in TTPresetManager.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
      TTXmlHandler::Write(TTValue const&, TTValue&) in TTXmlHandler.cpp.o
      ...
  "_xmlTextWriterWriteComment", referenced from:
      TTApplicationManager::WriteAsXml(TTValue const&, TTValue&) in TTApplicationManager.cpp.o
  "_xmlTextWriterWriteFormatAttribute", referenced from:
      TTMapperManager::WriteAsXml(TTValue const&, TTValue&) in TTMapperManager.cpp.o
  "_xmlTextWriterWriteFormatComment", referenced from:
      TTApplication::writeNodeAsXml(TTXmlHandler*, TTNode*) in TTApplication.cpp.o
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteRaw", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
  "_xmlTextWriterWriteString", referenced from:
      TTScript::WriteAsXml(TTValue const&, TTValue&) in TTScript.cpp.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [JamomaCore/Modular/library/libJamomaModular.6.dylib] Error 1
make[1]: *** [JamomaCore/Modular/library/CMakeFiles/Modular.dir/all] Error 2

Le 27 août 2015 à 14:55, Renaud Rubiano <[hidden email]> a écrit :

Hi Theo,

I had similar troubles a few days ago, and I tried to write a little script inspired by Antoine’s scripts to checkout and build JamomaMax and its Core submodule.

The script will do the following steps : 
  • Go the your Home Folder
  • checkout JamomaMax
  • switch to the dev branch
  • initialize all submodules (JamomaCore is the only one at this moment)
  • switch submodules to dev branch
  • build JamomaMax

You can found it there it you want to make a try : 

cheers,

renaud


Le 25 août 2015 à 11:14, Théo de la Hogue <[hidden email]> a écrit :

Hi Antoine,

Le 25 août 2015 à 10:45, Antoine Villeret <[hidden email]> a écrit :

Hi, 

I'm wondering why it's not working for you while Travis CI is still available to build it for Mac OS X.
What is your CMAKE version ?
it is the last version 3.3.1

FInd_library() is used to locate Framework.
You can force that by manually setting MaxAPI_LIB, Jitter_LIB and MaxAudio_LIB.
Add them to cmake configuration step, either in the CMake GUI or in command line.
yes I’ll tried using CMake GUI instead of the build.sh to see what happen.

But there is definetely something wrong with your system.
that’s what I was supposing

thanks !
TO


Cheers

Antoine

--
do it yourself                       
http://antoine.villeret.free.fr

2015-08-25 10:23 GMT+02:00 Théo de la Hogue <[hidden email]>:
After pulling and checking for dev branch for umbrella and all other repositories, I still have the same problem. I’ve also deleted the build folder to start from scratch.

I don’t understand what I can do to not link with MaxAPI, MaxAudio and Jitter.
any idea ?

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : 335c442
Git tag : 0.6.0.a40
Git tag length : 7
building version 335c442 with tag 0.6.0.a40
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found dl: /usr/lib/libdl.dylib
-- Found PORTAUDIO: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/AudioEngine/portaudio/libportaudio-jamoma.a  
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
-- Found SNDFILE: /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a  
-- Found PORTMIDI: /Users/WALL-E/Documents/Jamoma/Core/Graph/extensions/MidiLib/portmidi/libportmidi-jamoma.a  
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.2") 
building on Git rev : d49e454
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".


Le 24 août 2015 à 15:39, Renaud Rubiano <[hidden email]> a écrit :

For the record, I had the same behavior today. My jamoma-iumbrella was on the master branch.
I switched to the dev branch and the build worked fine.

cheers,

renaud


Le 21 août 2015 à 16:31, Théo de la Hogue <[hidden email]> a écrit :

Hi,
I’m trying to build the whole jamoma project using the build.sh script (I’m on dev branch) but I have a trouble with MaxAPI_LIB, MaxAudio_LIB and Jitter_LIB.
do I miss something ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

Best,
TO

wall-e:Jamoma WALL-E$ ./build.sh --multi --no-jamoma-pd
Will build using every logical core on the computer (faster)
Will not install JamomaPd
cmake .. -DCMAKE_INSTALL_PREFIX=/Users/WALL-E/Documents/Jamoma/build/JamomaInstall -DCMAKE_BUILD_TYPE=Debug -DBUILD_JAMOMAMAX:bool=True -DBUILD_JAMOMAPD:bool=False
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_INSTALL_PREFIX /Users/WALL-E/Documents/Jamoma/build/JamomaInstall/jamoma/
Configure JamomaCore
building on Git rev : c109a75
Git tag : 0.6.0.a40
Git tag length : 7
building version c109a75 with tag 0.6.0.a40
-- Found dl: /usr/lib/libdl.dylib
Linking AudioEngine with /System/Library/Frameworks/Carbon.framework
Linking AudioEngine with /System/Library/Frameworks/CoreAudio.framework
Linking AudioEngine with /System/Library/Frameworks/AudioUnit.framework
Linking AudioEngine with /System/Library/Frameworks/AudioToolbox.framework
Checking /Users/WALL-E/Documents/Jamoma/Core/DSP/extensions/SoundfileLib/libsndfile/libsndfile-jamoma.a architecture.
Linking MidiLib with /System/Library/Frameworks/Carbon.framework
Linking MidiLib with /System/Library/Frameworks/CoreAudio.framework
Linking MidiLib with /System/Library/Frameworks/CoreMIDI.framework
Linking MidiLib with /System/Library/Frameworks/CoreFoundation.framework
Linking MIDI with /System/Library/Frameworks/Carbon.framework
Linking MIDI with /System/Library/Frameworks/CoreAudio.framework
Linking MIDI with /System/Library/Frameworks/CoreMIDI.framework
Linking MIDI with /System/Library/Frameworks/CoreFoundation.framework
building on Git rev : 607d642
Git tag : 
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
Linking with: 
MaxAPI_LIB MaxAPI_LIB-NOTFOUND
MaxAudio_LIB MaxAudio_LIB-NOTFOUND
Jitter_LIB Jitter_LIB-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Jitter_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAPI_LIB
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library
MaxAudio_LIB (ADVANCED)
    linked by target "JamomaMax" in directory /Users/WALL-E/Documents/Jamoma/Implementations/Max/library

-- Configuring incomplete, errors occurred!
See also "/Users/WALL-E/Documents/Jamoma/build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel

------------------------------------------------------------------------------
_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel


------------------------------------------------------------------------------

_______________________________________________
Jamoma-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jamoma-devel
Reply | Threaded
Open this post in threaded view
|

Re: trouble when building with cmake

Renaud Rubiano
In reply to this post by tap
Hi Tim,

Thank you for your feedback.

A question for all Jamoma developers, Is someone still using the RUBY scripts?

If not, I can delete them. I think I have good skills for this kind of task

cheers,

renaud




Le 28 août 2015 à 14:19, Timothy Place <[hidden email]> a écrit :

Hi,

A quick note to say a few things:

First, thank you to Antoine who has done the thankless and frustrating work of getting all of the CMake stuff working!

Second, thank you to Renaud for the `Install_JamomaMax_repo.sh` script.  IMO the contents of this script should be included in the ReadMe for JamomaMax to show people how to get going.

Regarding other questions:

* Yes, we should ditch the 'dev' branch for 'master' as soon as possible.
* Yes, we should ditch the umbrella repository as soon as possible.
* Yes, we should delete the alternative ruby build scripts as soon as possible.

We have agreed to do both of the above but I think we have been waiting because it will cause some problems with the BEK server and we wanted to be sure not to cause problems.  I'm not sure if all of the above causes problems or just some steps.  Right now Jamoma feels like a bit of a mess because of all of this.  

We have automated builds on every push now that does not require the BEK server to do the work.  

One place the BEK server still offers unique service is running the implementation tests in Max.  I'm not sure if those are running though?  If they aren't then we should just move ahead, IMO.  I also wonder if it is possible to tell Travis to download Max and run the integration tests.

Tim


On Fri, Aug 28, 2015 at 6:42 AM, Renaud Rubiano <[hidden email]> wrote:
Hi Pascal,

I already had same fails when building Umbrella  (fails on Filter lib) and my skills with Cmake are so limited that the solution I found was to checkout a fresh Jamoma Umbrella, set up all submodules to dev, and it runs smoothly.
From what I understand, it seems that you have to be sure that all submodules are set to the dev branch, and update all of them.

But it’s so long to download everything, and set up manually, so the solution I found was to checkout only JamomaMa, duplicate the script made by Antoine on Umbrella and adapt it to JamomaMax repo.
JamomaCore is included as a submodule of JamomaMax, so I found it simpler to do that way if I want to work on JamomaMax.

To make it « more simpler », I wrote a little script (still based on Antoine’s scripts) that will checkout JamomaMax, init JamomaCore, and switch both to the dev branch, then build JamomaMax.

I just test it a few minutes ago, and the build succeed.

If you want to try that solution, here is the script : 

It will checkout on your home folder.

I see a big difference between your log and mine, your git tag is 0.6.40b when mine is 1.0.0.b1 (I attached a copy of my build log to this mail)

Maybe it’s time to make our branch’s policy more coherent, and stop using dev branch, because the difference between dev and master is not easy to understand. I know that we were using commits to master for triggering a build on the JamomaServer, but it should be replace by a tag of the git repo (JamomaMax, or JamomaPD). I remember that it was discussed on the last BOD.

I hope this helps

cheers,

renaud






Le 28 août 2015 à 13:05, Pascal Baltazar <[hidden email]> a écrit :

Hi !

I haven’t really followed this thread, so please excuse me in advance if I’m talking about stuff that has been already discussed before

but, when trying to build with
 I get an error as shows the log below

when trying to build again it stops directly, and outputs this:
building on Git rev : ed9274c
Git tag : 0.6.0.a40
git sha : ed9274c
--  Files.h have been found here : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
CMake Error at Implementations/Max/library/CMakeLists.txt:60 (addMaxsupport):
  Unknown CMake command "addMaxsupport".


-- Configuring incomplete, errors occurred!
See also "/Users/bltzr/dev/Jamoma/build/CMakeFiles/CMakeOutput.log".
bltzr:Jamoma bltzr$ 

any idea ?

p

[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseOutFunction.test.cpp.o
In file included from /Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/source/Max.cpp:16:
/Users/bltzr/dev/Jamoma/Core/Modular/extensions/Max/includes/Max.h:22:10: fatal error: 
      'ext.h' file not found
#include "ext.h"                                        // Max Header
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/source/Max.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target MIDI
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTFilter.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDI.cpp.o
Linking CXX executable test_Modular
In file included from /Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp:7:
/Users/bltzr/dev/Jamoma/Implementations/Max/source/c74support/max-includes/common/commonsyms.c:9:10: fatal error: 
      'ext.h' file not found
#include "ext.h"
         ^
1 error generated.
make[2]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/__/__/__/__/Implementations/Max/source/c74support/max-includes/common/commonsyms.cpp.o] Error 1
make[1]: *** [Core/Modular/extensions/Max/CMakeFiles/Max.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTQuinticEaseInOutFunction.test.cpp.o
[ 60%] Built target test_Modular
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband3.test.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseInFunction.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIDestination.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband5.test.cpp.o
[ 60%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIInput.cpp.o
[ 60%] Building CXX object Core/DSP/extensions/FunctionLib/CMakeFiles/FunctionLib.dir/tests/TTSineEaseOutFunction.test.cpp.o
[ 61%] Building CXX object Core/Modular/extensions/MIDI/CMakeFiles/MIDI.dir/source/MIDIOutput.cpp.o
[ 61%] Building CXX object Core/DSP/extensions/FilterLib/CMakeFiles/FilterLib.dir/tests/TTHalfband9.test.cpp.