Open diplfranzhoepfinger opened 5 months ago
fbe has several git submodules. So you either need to clone it with submodule update:
git clone --recursive --depth 1 https://github.com/eclipse-4diac/4diac-fbe.git
or if you have allready cloned it without submodules initialize and update them:
git submodule init
git submodule update
fbe has several git submodules.
yes. and ? it would not start to compile if there are not the submodules in place.
develop branch:
C:\git\franz\4diac-fbe>compile.cmd
Downloading https://sourceforge.net/projects/fordiac/files/4diac-fbe/2024-04/Windows-toolchain-x86_64-w64-mingw32.zip/download...
Extracting toolchain environment...
rm: can't remove '*-toolchain-*.tar.gz': No such file or directory
Usage: ./install-crosscompiler.sh <target-triplet>
Installation successful. Press Enter to exit:
sh: unknown option -- n
BusyBox v (2024-03-22 14:19:13 CET) multi-call binary
Usage: cp [OPTIONS] SOURCE... DEST
Copy SOURCE(s) to DEST
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
-T Treat DEST as a normal file
-u Copy only newer files
C:\git\franz\4diac-fbe\scripts\compile.sh: Exiting due to error
C:\git\franz\4diac-fbe>
so, try this:
compile.cmd native-toolchain
it starts with a lot of non-intuitive Errors:
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/boost: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/bzip2: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/forte: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/libmodbus: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/libpcap: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/libressl: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/luajit: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/open62541: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/openpowerlink: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/paho.mqtt.c: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/tinyxml: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/zlib: Function not implemented
Full log here:
https://gist.github.com/diplfranzhoepfinger/36e016381a56ca844f7e4c193dd336c0
As I'm not sure what the status of fbe on your machine is and it was at one point sensitive to download errors I would recommend that delete your 4diac-fbe directory and freshly clone the release branch from github.
As I'm not sure what the status of fbe on your machine is and it was at one point sensitive to download errors I would recommend that delete your 4diac-fbe directory and freshly clone the release branch from github.
agree. i will do.
so, next try running.
cloned,
copy compile.cmd
to main Folder,
get this:
still...
and ...
then:
then i select "Überspringen"
then:
Extracting toolchain environment...
rm: can't remove '*-toolchain-*.tar.gz': No such file or directory
Usage: ./install-crosscompiler.sh <target-triplet>
Installation successful. Press Enter to exit:
then again:
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/boost: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/bzip2: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/forte: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/libmodbus: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/libpcap: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/libressl: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/luajit: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/open62541: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/openpowerlink: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/paho.mqtt.c: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/tinyxml: Function not implemented
ln: C:/git/franz/4diac-fbe/build/debug/etc/cget/recipes/zlib: Function not implemented
same Error:
https://gist.github.com/diplfranzhoepfinger/88d07b073bb0d02885300e14bf943601
As you nicely showed your toolchain files are not installed. So it can not work.
As you nicely showed your toolchain files are not installed. So it can not work.
How to install them? This very long process is not the install?
i make another test now:
https://github.com/diplfranzhoepfinger/4diac-fbe/tree/feature/second_try
reduce all things a lot as recommended by @azoitl
still we get in the beginning this:
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/boost: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/bzip2: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/forte: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/libmodbus: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/libpcap: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/libressl: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/luajit: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/open62541: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/openpowerlink: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/paho.mqtt.c: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/tinyxml: Function not implemented
ln: C:/git/franz/4diac-fbe/build/native-toolchain/etc/cget/recipes/zlib: Function not implemented
which i dislike a lot.
what should Function not implemented
be ?
please change this to a clear and concise error Message, and handle it in the proper way.
if it is blocking, then it should be cacelling the compile,
if it is a warning only it should be marked as warning.
still a lot of warnings https://gist.github.com/diplfranzhoepfinger/afad16fddc9b83768dea8254fce0504f
but it buit forte.exe. HURRAY
will try later Linux again.
so, next try:
https://github.com/diplfranzhoepfinger/4diac-fbe/tree/feature/second_try_new_forte
just updated the FORTE.
@cochicde so, how to go on ?
@cochicde so, how to go on ?
Sorry, I don't how it happened. Apparently I clicked on the button, but I didn't even read all the comments
@cochicde so, how to go on ?
Sorry, I don't how it happened. Apparently I clicked on the button, but I didn't even read all the comments
maybe we need really to close this issue, and open several small issues with only single topics.
as it overall runs in 1 config, but brings strange warnings, and not run in the basic config. this might be different storys at all.
I'm always a fan of smaller more concrete issues.
I'm always a fan of smaller more concrete issues.
this is the Idea. i will work on it by time.
As soon as eclipse-4diac/4diac-fbe#17 is merged, the new release has arrived in the develop branch of 4diac-fbe. Please check with a clean checkout (git checkout https://github.com/eclipse-4diac/4diac-fbe -b develop --recursive
) and try building the default configurations. It should produce a working forte binary on all three supported platforms.
i am happy to test, however it will take me a bit of time, as School is starting next Week.
https://github.com/eclipse-4diac/4diac-fbe/tree/release
as it is, at least starts to compile, but finish with an Error:
Log in Windows:
https://gist.github.com/diplfranzhoepfinger/124818dbff8db0b57e80eed4fd33250d
--> it seems here: @azoitl @jwalt
is the Showstopper.
where can i set not to use open62541 ?
Updating the Submodule "toolchain" to Commit 77f2e2ba30c4fcac2e59d75d65d1ebf0a77c4d06 does not change this
change to branch
https://github.com/eclipse-4diac/4diac-fbe/tree/develop
12
we get this:
Update everything to latest:
i did here:
https://github.com/diplfranzhoepfinger/4diac-fbe/tree/feature/try
we get this: