Skip to content

Fixing examples/scala/Makefile#190

Merged
boyland merged 3 commits into
boyland:masterfrom
amir734jj:user/amir734jj/fix-examples-scala-makefile
Jun 23, 2026
Merged

Fixing examples/scala/Makefile#190
boyland merged 3 commits into
boyland:masterfrom
amir734jj:user/amir734jj/fix-examples-scala-makefile

Conversation

@amir734jj

@amir734jj amir734jj commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Fixing the problem that was caused by this PR: #189

@amir734jj
amir734jj marked this pull request as ready for review June 22, 2026 18:58
@boyland

boyland commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Not working yet:

$ make
make: *** No rule to make target `nested-cycles.scala', needed by `obj/DYNAMIC/nested-cycles.class'.  Stop.

@amir734jj

Copy link
Copy Markdown
Contributor Author

It builds fine locally. I did a fresh clone. Please make sure to run git clean -f in the examples/scala folder

examples/scala Makefile default runs as part of the build sanity check, so everything should be fixed now

@boyland

boyland commented Jun 23, 2026

Copy link
Copy Markdown
Owner

My previous problem eas because I hadn't made install at the top. A new clone needs that of course.
Now I get:

boyland@UWM022518 scala % make
../../bin/aps2scala -p ..:../../base -G nested-cycles
../../bin/aps2scala -p ..:../../base -G simple
scalac -cp .:obj/DYNAMIC:../../lib/aps-library.jar -d obj/DYNAMIC simple.scala
simple.scala:2: error: not found: object basic_implicit
import basic_implicit._;
       ^
simple.scala:8: error: not found: type C_TYPE

This appears to be because base/scala doesn't build aps-library.jar

@boyland

boyland commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Oh, I need to make install too. Much better now.

@boyland
boyland merged commit 672bb28 into boyland:master Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants