Page 1 of 1

building DECAXP

Posted: Mon Nov 23, 2020 9:50 am
by kobbs
Hi I am trying to build DECaxp ->https://gitlab.com/crysalcoresystems/DECaxp

I am getting the error:
./build.sh: line 119: cd: bin: No such file or directory
make: *** No targets specified and no makefile found. Stop.

I'm not sure whats happening I have all dependencies installed

Re: building DECAXP

Posted: Tue Nov 24, 2020 12:03 am
by sms

Code: Select all

> Hi I am trying to build DECaxp

   On what?
   
> ->https://gitlab.com/crysalcoresystems/DECaxp

   Where?  I get "404" from that.

> I am getting the error:
> ./build.sh: line 119: cd: bin: No such file or directory

   When you do what, exactly?  What's on "line 119" of "./build.sh"?

   A command like ""cd bin" can fail with that error message is there is
no "bin" directory wherever you happen to be at the moment.

> I'm not sure whats happening [...]

   With my weak psychic powers, you have a better view of it than I.

Re: building DECAXP

Posted: Tue Nov 24, 2020 2:15 am
by martinv
In the most likely original project of this fork, Jonathan D. Belanger's new AXP emulator (referenced in a hobbyist forum thread), I find around line 119 in build.sh:

Code: Select all

#
# OK, if the bin directory does not exist, then create it, cd into it,a nd run CMake
# Otherwise, just cd into the bin directory.
#
if [[ run_cmake -eq 1 ]]; then
  cd bin
  cmake -DCMAKE_BUILD_TYPE=$BLD_TYPE ..
else
  cd bin
fi
So, the code does something else than the comment suggests. Id' just

Code: Select all

mkdir bin
and move on.

Or try the other new Alpha emulator which is a descendant of the es40 emulator.

Re: building DECAXP

Posted: Tue Nov 24, 2020 1:15 pm
by kobbs
thanks i got it building by making a bin directory and running ./build.sh -r
still having a problem with the header files I think i have to edit them for my machine, i'll try the other emulator for now.
the original project is here
https://gitlab.com/osf1/DECaxp