Hello! I am working with someone else's code here, and I am new to 
emscripten, so bear with me.

I am looking to translate all the .c files of a folder into one (or at 
least correctly reference them). The script that came with the code I was 
given (which was not Windows) was:

emcc -o libembroidery-convert.js temp/*.c

Which I assume works. However, this command does not work in Windows 
whether I swap the "/" to the appropriate direction or not. Emscripten does 
not accept that *.c (* wildcard) is any file. (image attached)
If I naively run only the main file with emscripten, it fails to find the 
additional files in the same folders that hold the data it needs:

emcc -o libembroidery-convert.js temp\libembroidery-convert-main.c

embFormatList_create is within another .c file in the temp directory, but 
as you can see it's an unresolved symbol (image attached).

Is there a setting I'm missing, or a command I don't understand? I have 
read over the package page, but I am not packaging data: I am packaging 
other .c files that are necessary for compilation. Every example I can see 
on the website uses only one .c or .cpp file.

Thank you for your time!
~April

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to