Comments (2)
You can specify the location of phosg by defining the cmake variable PHOSG_DIR, e.g. when you have phosg in a directory parallel to resource_dasm:
cmake -DPHOSG_DIR=../phosg .
Note that for that to work there must be a symlink (or hardlink) inside the phosg directory called "phosg" that points to "src" like so:
ln -s src phosg
See:
Lines 24 to 31 in 4b27622
from resource_dasm.
That worked to link and run resource_dasm. Thank you very much. However I wasn't able to link the one after, m68kdasm. I'll keep trying, maybe there's an include or a config issue on my system.
[ 62%] Linking CXX executable m68kdasm
/usr/bin/ld: CMakeFiles/m68kdasm.dir/src/m68kdasm.cc.o: in function std::thread::thread<void (&)(std::function<bool (unsigned long, unsigned long)>&, std::atomic<unsigned long>&, std::atomic<unsigned long>&, unsigned long, unsigned long), std::reference_wrapper<std::function<bool (unsigned long, unsigned long)> >, std::reference_wrapper<std::atomic<unsigned long> >, std::reference_wrapper<std::atomic<unsigned long> >, unsigned long&, unsigned long, void>(void (&)(std::function<bool (unsigned long, unsigned long)>&, std::atomic<unsigned long>&, std::atomic<unsigned long>&, unsigned long, unsigned long), std::reference_wrapper<std::function<bool (unsigned long, unsigned long)> >&&, std::reference_wrapper<std::atomic<unsigned long> >&&, std::reference_wrapper<std::atomic<unsigned long> >&&, unsigned long&, unsigned long&&)': /usr/include/c++/9/thread:126: undefined reference to
pthread_create'
Edit: I added the following and succeeded.
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
add_executable(m68kdasm src/m68kdasm.cc)
target_link_libraries(m68kdasm PRIVATE Threads::Threads resource_file)
from resource_dasm.
Related Issues (20)
- Suggestion: Rework the codebase into a .hsb/.rmf extractor HOT 11
- compile error with g++ 11.2.1_p20220115 HOT 1
- Any way to group the items by resource type? HOT 6
- Encoding.hh: shifting a negative signed value is undefined HOT 1
- Format string errors HOT 2
- Black borders when decoding PICT HOT 3
- Format of Spectre Supreme "shap" resources HOT 7
- Technically, it's "PEF", not "PEFF" (Preferred Executable Format) HOT 1
- Improvement : extracting as png instead of bmp HOT 5
- compile error in Ubuntu on Pi4 ARM HOT 16
- warning: PICT rendering failed (mask region rect Rect(x1=-27892, y1=26790, x2=0, y2=256) is not same as source rect HOT 5
- Suggestion: Conditional compilation for some features HOT 4
- Easier way to convert TEXT/styl to .rtf? HOT 2
- issue with Mail.app .emlx files HOT 6
- Maelstrom icns converted to PNG/BMP are just mask HOT 4
- Bad CPU type in executable HOT 2
- Incorrect canvas size for some PICTs HOT 5
- Doesn't Work On Amazon Trail? HOT 2
- compile errors with g++ 13.2.1 20230826 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resource_dasm.