Comments (4)
Yeah, some of those FindXXX modules are quite inconsistent. Though the behavior you encountered seems to be working as intended, I suppose. Does the build work for you if you just omit the PostgreSQL-related arguments to the CMake command-line? Because that'd be the ideal case -- CMake just finds everything it needs.
from binexport.
No, without them (and that was my original problem which triggered this issue) CMake selected the default PostgreSQL installation, with the build later failing:
LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\PostgreSQL\9.5\lib\intl.lib'
But, looking now at my PostgreSQL installation, version 9.5 (the docs suggests to download a previous one), I see that (potentially) the same library exist but as libintl.lib
, so maybe this is just a naming issue.
from binexport.
It appears that there is no other way to force FindPostgreSQL to reliably accept path overrides. So I guess your solution to add to CMAKE_FIND_ROOT_PATH
is sensible. Re-rooting the search tree in this case isn't as bad as it sounds, though, as we're deliberately shipping/installing third-party dependencies in third_party
.
from binexport.
Added your workaround. Marking as fixed.
from binexport.
Related Issues (20)
- Binary Ninja: diverging instructions not being treated as such HOT 1
- quadratic blowup in export size due to tail call elimination
- No support for newer Ghidra versions HOT 8
- Binexport 12 for Ghidra 10.2 (doesn't support 10.2.2?) HOT 6
- building with cmake - errors HOT 3
- Typo in README HOT 1
- cmake: GIT_TAG and GIT_SHALLOW are incompatible with commit hashes HOT 1
- Wtf
- Better support for latest binary ninja builds? HOT 7
- Issue with BinExport for Binary Ninja HOT 14
- IDA Pro 7.7 Bindiff secondary file export failed HOT 1
- Ghidra extension build fails HOT 3
- Create a registry of architecture/ISA names
- Different CFG determination HOT 1
- build fails for latest xcode on macos HOT 2
- Ghidra plugin sometimes generates broken BinExport files HOT 2
- allow for specific BN API repo commit hash
- automatically regenerate_api_stubs when building for BN
- Ghidra: capture data references
- Ghidra: capture string references HOT 1
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 binexport.